Here is an interesting little bug that I just ran into. I am running
autoconf out of the CVS.

~/project/tcljava/configure --with-kaffe=/home/mo/project/install/kaffe 
--enable-jacl --with-jikes=/home/mo/project/build/jikes/src/jikes
...
creating ./config.status
./config.status: --enable-jacl: command not found


% head config.status 
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

configure=/home/mo/project/tcljava/configure
configure_args=--with-kaffe=/home/mo/project/install/kaffe --enable-jacl 
--with-jikes=/home/mo/project/build/jikes/src/jikes
debug=false
me=`echo "$0" | sed -e 's,.*/,,'`


The problem seems to be that configure_args is getting written without
a "", and that is causing it to fail.

% ./config.status 
./config.status: --enable-jacl: command not found


If I add the double quotes by hand, then config.status will work again.

% diff -u copy_config.status config.status 
--- copy_config.status  Mon May 22 13:08:26 2000
+++ config.status       Mon May 22 13:09:23 2000
@@ -5,7 +5,7 @@
 # configure, is in ./config.log if it exists.
 
 configure=/home/mo/project/tcljava/configure
-configure_args=--with-kaffe=/home/mo/project/install/kaffe --enable-jacl 
--with-jikes=/home/mo/project/build/jikes/src/jikes
+configure_args="--with-kaffe=/home/mo/project/install/kaffe 
--enable-jacl --with-jikes=/home/mo/project/build/jikes/src/jikes"
 debug=false
 me=`echo "$0" | sed -e 's,.*/,,'`
 SHELL=${CONFIG_SHELL-/bin/sh}


Mo Dejong
Red Hat Inc.

Reply via email to