Hi all.
I seem to have run into a really strange error that
only shows up with the CVS autoconf. Here is what
it printed when I run the configure script.
checking for BSDgettimeofday...
home/mo/project/tcl/unix/configure: /home/mo/project/tcl/unix/configure:
line 6895: syntax error: unexpected end of file
I used the good old binary search with an echo command and found
the general location of the problem. Here is the output with
the additional debug statements.
START gettimeofday TESTS!
checking for BSDgettimeofday... EOF gettimeofday TESTS!
POST COMPILE gettimeofday TESTS!
no
PRE TEST COMPILE gettimeofday TESTS!
ac_cv_func_BSDgettimeofday is "no"
/home/mo/project/tcl/unix/configure: /home/mo/project/tcl/unix/configure:
line 6896: syntax error: unexpected end of file
Here are the commands from configure (I added the echo commands).
echo "PRE TEST COMPILE gettimeofday TESTS!"
echo "ac_cv_func_BSDgettimeofday is \"$ac_cv_func_BSDgettimeofday\""
if test $ac_cv_func_BSDgettimeofday = yes; then
echo "INSIDE TRUE gettimeofday TESTS!"
cat >>confdefs.h <<\EOF
#define HAVE_BSDGETTIMEOFDAY 1
EOF
else
echo "INSIDE FALSE gettimeofday TESTS!"
echo "configure:4005: checking for gettimeofday" >&5
It does not seem to make it into the true of false
branch for this if statement. I am really stumped here.
If I run autoconf 2.13 over this exact same configure.in
I get a configure script that runs without problems.
Does anyone know what might be going on here?
Mo DeJong
Red Hat Inc