sascha      99/12/29 15:53:15

  Modified:    src      buildconf
  Log:
  Fix IFS handling. This has the nice side effect that we do not need tr
  anymore.
  
  Revision  Changes    Path
  1.10      +4 -3      apache-2.0/src/buildconf
  
  Index: buildconf
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/buildconf,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- buildconf 1999/12/22 03:16:37     1.9
  +++ buildconf 1999/12/29 23:53:14     1.10
  @@ -23,7 +23,8 @@
        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 @@
        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 @@
   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
  
  
  

Reply via email to