From: Erik Abele Date: Sat, 8 Jan 2005 02:08:15 +0000 (+0000) Subject: Fix indentation (no code changes). X-Git-Tag: 2.1.3~164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=255ccc4a934f1cceb1a1aefebd58918323af9866;p=apache Fix indentation (no code changes). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124604 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/config5.m4 b/modules/config5.m4 index 10f525bed4..e69d477729 100644 --- a/modules/config5.m4 +++ b/modules/config5.m4 @@ -6,47 +6,47 @@ AC_ARG_WITH(module, 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<>$modpath_current/modules.mk<>$modpath_current/modules.mk.tmp<>$modpath_current/modules.mk.tmp<> $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)