summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-11 22:16:19 +0000
committerBruno Haible <bruno@clisp.org>2007-03-11 22:16:19 +0000
commitb0f35f9decd75d92e2310b4271b898545b28a533 (patch)
tree17e91c1ab03dbfb7529e5cda992d56d61087a13d /gnulib-tool
parentb0d9d3aa695aebab5ebc0fb02ebeac9e59f57242 (diff)
downloadgnulib-b0f35f9decd75d92e2310b4271b898545b28a533.tar.gz
Avoid using sed -e "", not supported by AIX sed.
Add optional CONFIGURE_OPTIONS variable.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 36b4aad783..d23e3d97be 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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 @@ func_create_megatestdir ()
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"