| Running autoheader in . | WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' | WARNING: and `config.h.top', to define templates for `config.h.in' | WARNING: is deprecated and discouraged. | | WARNING: Using the third argument of `AC_DEFINE' and | WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without | WARNING: `acconfig.h': | | WARNING: AC_DEFINE([NEED_MAIN], 1, | WARNING: [Define if a function `main' is needed.]) | | WARNING: More sophisticated templates can also be produced, see the | WARNING: documentation.
Anything we should do anything about?
But you don't object to using the language "autoconf2.50" per se? It shouldn't be too much trouble to make run_autoconf check whether the binary "autoconf" implements the language "autoconf2.50" or not, and bail out if it doesn't. Other packages tend to do this.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
No, I don't mind the new ideas. It's only the enforcing and version confusion. It's also very hard to use autoconf to find the correct autoconf version, so you're back at /bin/sh stuff.
On my system, I have:
autoconf -> ../lib/autoconf/ac-wrapper.pl autoconf-2.13 autoconf-2.53a autoconf-2.54
It might or might not be a standard, but it should be possible to let run_autoconfig (and configure for Makefile) to check for autoconf-<correct version>.
"autoconf" is a perl script. I haven't investigated it further.
/ Mirar
Previous text:
Mandrake has a wrapper too:
# Executes the correct autoconf version. # # - defaults to autoconf-2.13 # - runs autoconf-2.5x if it exists and... # - envvar WANT_AUTOCONF_2_5 is set to `1' # -or- # - configure.ac is present # -or- # - `configure.in' contains AC_PREREQ and the value's 3 first letters # are stringwise greater than '2.1' # -or- # - `configure' is already present and was generated by autoconf greater than '2.1' # -or- # - `Makefile.in' was generated by automake-1.6 or superior, which specificall y needs autoconf-2.5x
/ David Hedbor
Previous text:
Well, for one we can name the file configure.ac rather than configure.in. That'll cause immediate breakage if you use autoconf 2.13 or older and would also indicate immediately to the compiling party that autoconf 2.5x is needed (also I think many distributions have wrapper scripts that automatically use the right autoconf version if it sees .ac rather than .in).
/ David Hedbor
Previous text:
pike-devel@lists.lysator.liu.se