From: Jeff Trawick Date: Sun, 30 Sep 2012 21:55:13 +0000 (+0000) Subject: Fix shell errors when trying to AC_MSG_RESULT() for --with-module. X-Git-Tag: 2.5.0-alpha~6256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db3b8aa492606c588d11e98e3bb1a5f7e32f39d6;p=thirdparty%2Fapache%2Fhttpd.git Fix shell errors when trying to AC_MSG_RESULT() for --with-module. (The change to IFS hosed any AC_MSG_foo() invocations.) It is easy enough to reorder the reset of IFS and the AC_MSG_RESULT() invocation, but there's a big stretch of shell code where AC_MSG_foo() might be useful someday, so get rid of the commas at the start and leave IFS alone and AC_MSG_foo() at will. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1392120 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/config5.m4 b/modules/config5.m4 index 7dd021ee29a..661ec15fdfa 100644 --- a/modules/config5.m4 +++ b/modules/config5.m4 @@ -3,7 +3,7 @@ AC_ARG_WITH(module, APACHE_HELP_STRING(--with-module=module-type:module-file, Enable module-file in the modules/ directory.), [ - as_save_IFS="$IFS"; IFS="," + withval=`echo $withval | sed -e 's/,/ /'` for mod in $withval do modtype=`echo $mod | sed -e's/\(.*\):.*/\1/'` @@ -51,7 +51,6 @@ EOF if test ! -z "$EXTRA_MODLIST"; then AC_MSG_RESULT(added:$EXTRA_MODLIST) fi - IFS="$as_save_IFS" ], [ AC_MSG_RESULT(none) ])