You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by er...@apache.org on 2005/01/08 03:08:17 UTC
svn commit: r124604 - /httpd/httpd/trunk/modules/config5.m4
Author: erikabele
Date: Fri Jan 7 18:08:15 2005
New Revision: 124604
URL: http://svn.apache.org/viewcvs?view=rev&rev=124604
Log:
Fix indentation (no code changes).
Modified:
httpd/httpd/trunk/modules/config5.m4
Modified: httpd/httpd/trunk/modules/config5.m4
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/config5.m4?view=diff&rev=124604&p1=httpd/httpd/trunk/modules/config5.m4&r1=124603&p2=httpd/httpd/trunk/modules/config5.m4&r2=124604
==============================================================================
--- httpd/httpd/trunk/modules/config5.m4 (original)
+++ httpd/httpd/trunk/modules/config5.m4 Fri Jan 7 18:08:15 2005
@@ -6,47 +6,47 @@
as_save_IFS="$IFS"; IFS=","
for mod in $withval
do
- modtype=`echo $mod | sed -e's/\(.*\):.*/\1/'`
- pkg=`echo $mod | sed -e's/.*:\(.*\)/\1/'`
- modfilec=`echo $pkg | sed -e 's;^.*/;;'`
- modfileo=`echo $pkg | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
- modpath_current="modules/$modtype"
- if test "x$mod" != "x$modpath_current/$modfilec"; then
- if test ! -d "$modpath_current"; then
- mkdir $modpath_current
- echo 'include $(top_srcdir)/build/special.mk' > $modpath_current/Makefile.in
+ modtype=`echo $mod | sed -e's/\(.*\):.*/\1/'`
+ pkg=`echo $mod | sed -e's/.*:\(.*\)/\1/'`
+ modfilec=`echo $pkg | sed -e 's;^.*/;;'`
+ modfileo=`echo $pkg | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
+ modpath_current="modules/$modtype"
+ if test "x$mod" != "x$modpath_current/$modfilec"; then
+ if test ! -d "$modpath_current"; then
+ mkdir $modpath_current
+ echo 'include $(top_srcdir)/build/special.mk' > $modpath_current/Makefile.in
+ fi
+ cp $pkg $modpath_current/$modfilec
fi
- cp $pkg $modpath_current/$modfilec
- fi
- module=`echo $pkg | sed -e 's;\(.*/\)*mod_\(.*\).c;\2;'`
- objects="mod_$module.lo"
- # The filename of a convenience library must have a "lib" prefix:
- libname="lib$module.la"
- BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
- if test ! -s "$modpath_current/modules.mk"; then
- cat >>$modpath_current/modules.mk<<EOF
+ module=`echo $pkg | sed -e 's;\(.*/\)*mod_\(.*\).c;\2;'`
+ objects="mod_$module.lo"
+ # The filename of a convenience library must have a "lib" prefix:
+ libname="lib$module.la"
+ BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
+ if test ! -s "$modpath_current/modules.mk"; then
+ cat >>$modpath_current/modules.mk<<EOF
$libname: $objects
\$(MOD_LINK) $objects
DISTCLEAN_TARGETS = modules.mk
static = $libname
shared =
EOF
- else
- cat >>$modpath_current/modules.mk.tmp<<EOF
+ else
+ cat >>$modpath_current/modules.mk.tmp<<EOF
$libname: $objects
\$(MOD_LINK) $objects
EOF
- cat $modpath_current/modules.mk >> $modpath_current/modules.mk.tmp
- rm $modpath_current/modules.mk
- mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
- sed -e "s/\(static =.*\)/\1 $libname/" $modpath_current/modules.mk > $modpath_current/modules.mk.tmp
- rm $modpath_current/modules.mk
- mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
- fi
- MODLIST="$MODLIST $module"
- EXTRA_MODLIST="$EXTRA_MODLIST $modtype:$modfilec"
- MODULE_DIRS="$MODULE_DIRS $modtype"
- APACHE_FAST_OUTPUT($modpath_current/Makefile)
+ cat $modpath_current/modules.mk >> $modpath_current/modules.mk.tmp
+ rm $modpath_current/modules.mk
+ mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
+ sed -e "s/\(static =.*\)/\1 $libname/" $modpath_current/modules.mk > $modpath_current/modules.mk.tmp
+ rm $modpath_current/modules.mk
+ mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
+ fi
+ MODLIST="$MODLIST $module"
+ EXTRA_MODLIST="$EXTRA_MODLIST $modtype:$modfilec"
+ MODULE_DIRS="$MODULE_DIRS $modtype"
+ APACHE_FAST_OUTPUT($modpath_current/Makefile)
done
if test ! -z "$EXTRA_MODLIST"; then
AC_MSG_RESULT(added:$EXTRA_MODLIST)