From: Sascha Schumann Date: Wed, 29 Dec 1999 23:53:14 +0000 (+0000) Subject: Fix IFS handling. This has the nice side effect that we do not need tr X-Git-Tag: 1.3.10~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca9065bb082b28283760304e0a007a96ab7e0360;p=apache Fix IFS handling. This has the nice side effect that we do not need tr anymore. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84374 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/buildconf b/buildconf index 961fa1abda..fb76f6c6ff 100755 --- a/buildconf +++ b/buildconf @@ -23,7 +23,8 @@ else echo " to build APACHE from CVS." exit 1 fi - IFS=.; set $am_version; IFS=' ' + old_IFS="$IFS" + IFS=.; set $am_version; IFS="$old_IFS" if test "$1" = "1" -a "$2" -lt "4" || test "$1" -lt "1"; then echo "buildconf: automake version $am_version found." echo " You need automake version 1.4 or newer installed" @@ -42,7 +43,7 @@ else exit 1 fi lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'` - IFS=.; set $lt_version; IFS=' ' + IFS=.; set $lt_version; IFS="$old_IFS" if test "$1" -gt "1" || test "$2" -gt "3" || test "$2" = "3" -a "$3" -ge "3" then echo "buildconf: libtool version $lt_pversion (ok)" @@ -88,7 +89,7 @@ fi autoheader # find all Makefile.ams -files="Makefile `find ap lib main modules regex os -name Makefile.am | sed 's#\.am##' | tr '\n' ' '`" +files="Makefile `find ap lib main modules regex os -name Makefile.am | sed 's#\.am$##'`" # suppress stupid automake warning automake --add-missing $automake_flags $files 2>&1 | grep -v \$APACHE_OUTPUT_FILES >&2