When you run bootstrap for a unix build you get warning messages like the following:
[root@Falcon interpreter.new]# ./bootstrap
+ libtoolize --copy --force --automake
configure.ac:61: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
autoconf/general.m4:1660: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:61: the top level
configure.ac:362: warning: AC_LIBTOOL_SETUP was called before AC_LIBTOOL_DLOPEN
/usr/share/aclocal/libtool.m4:1911: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:362: the top level
These warning indicate that the autoconf macros are being expanded out of order.
For instance from the gnu automake mailing list:
AM_INIT_AUTOMAKE calls AC_ARG_PROGRAM.
But it is an error to run AC_ARG_PROGRAM before AC_CANONICAL_SYSTEM.
The same thing applies for AC_LIBTOOL_DLOPEN, its position in configure.ac is incorrect.