[xml] autoconf issue


I'm running Debian GNU/Linux (testing/unstable). It installs both autoconf
2.50 (actually 2.52, but it uses "2.50" to mean "2.50 or upper") and
autoconf 2.13 for compatibility reasons.
When you run /usr/bin/autoconf, /usr/bin/autoconf2.13 is used unless the
project uses a configure.ac file or it uses a configure.in file with
AC_PREREQ passed a version number greater than 2.13.

So here's my problem: when I try to ./autogen.sh, I get the following
FATAL ERROR: Autoconf version 2.50 or higher is required for this script

I exec'd autoconf2.50 and it passed, ./configure worked as everything else.
I looked at configure.in and saw an AC_PREREQ(2.2). I set it to
AC_PREREQ(2.50) and it worked without any warning (since in this case
/usr/bin/autoconf switches to autoconf2.50).

I also had to add AC_PREREQ(2.50) in libxslt/configure.in

Am I the only one in this case?

Solutions are to:
 · put AC_PREREQ(2.50) in configure.in
 · or rename to configure.ac


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]