Hello!

I'm using Autoconf and Libtool from CVS on Linux/PPC, m4-1.4, bash-2.03

configuring in libltdl
running /bin/sh ./configure  --enable-ltdl-install --cache-file=/dev/null
--srcdir=.
configure: error: cannot run
configure: error: /bin/sh ./configure failed for libltdl

Let's change to libltdl:
[proskin@sunapee libltdl]$ bash -x configure
[skipped]
+ grep xn
+ ECHO_N=-n
+ ECHO_C=
+ ECHO_T=
+ sun4
+ echo 'configure: error: cannot run '
configure: error: cannot run
+ exit 1

The failing line is

$ac_config_sub sun4 >/dev/null 2>&1 ||
  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }

Apparently $ac_config_sub is defined after it is used.

The same with Autoconf-2.13 works, so the problem is likely to be in
Autoconf. Sorry, I have no time to look deeper today.

Regards,
Pavel Roskin

Reply via email to