diff gnulib-tool @ 8419:d5e85ac6458c

Avoid using sed -e "", not supported by AIX sed. Add optional CONFIGURE_OPTIONS variable.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Mar 2007 22:16:19 +0000
parents 6840759b4ce2
children 2c533460124b
line wrap: on
line diff
--- a/gnulib-tool	Sun Mar 11 22:11:22 2007 +0000
+++ b/gnulib-tool	Sun Mar 11 22:16:19 2007 +0000
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2007-03-11 22:11:22 $'
+cvsdatestamp='$Date: 2007-03-11 22:16:19 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -2821,9 +2821,9 @@
    echo "   : autobuild revision... cvs-\$CVSDATE-000000"
    echo "   : autobuild timestamp... \`date \"+%Y%m%d-%H%M%S\"\`"
    echo "   : autobuild hostname... \`hostname\`"
-   echo "   cd \$module && ./configure && make && make check"
+   echo "   cd \$module && ./configure \$CONFIGURE_OPTIONS && make && make check"
    echo "   echo rc=\$?"
-   echo "  ) 2>&1 | sed -e \"\$AUTOBUILD_SUBST\" > logs/\$safemodule"
+   echo "  ) 2>&1 | { if test -n \"\$AUTOBUILD_SUBST\"; then sed -e \"\$AUTOBUILD_SUBST\"; else cat; fi; } > logs/\$safemodule"
    echo "done"
   ) > "$megatestdir/autobuild"
   chmod a+x "$megatestdir/autobuild"