Ok, I have at least found how to work around the "cannot run"
error when using the most recent version of autoconf with
libtool. If you add calls to AC_CANONICAL_HOST and AC_CANONICAL_BUILD
before calling AC_PROG_LIBTOOL, that seems to work around the
problem. I am still not clear on exactly why AC_PROG_LIBTOOL
by itself will use ac_config_sub before it is actually defined.
It has something to do with the order that AC_CONFIG_AUX_DIR_DEFAULT
is getting defined in, but that is all I know at this point.

dnl     Set up host checks using config.sub and config.guess.
AC_CANONICAL_HOST
AC_CANONICAL_BUILD

AC_PROG_LIBTOOL


Mo DeJong
Red Hat Inc

Reply via email to