autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [submission] AX_LIB_V8
From: |
Peter Johansson |
Subject: |
Re: [submission] AX_LIB_V8 |
Date: |
Fri, 25 Dec 2009 21:34:44 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
Hi Peter,
On 12/25/09 7:50 AM, Peter Simons wrote:
Does anyone else have suggestions or opinions regarding that macro?
I get a lot of warnings when I autoconf 2.65 on the macro with '-Wall'.
Most of them are about obsolete macros such as AC_HELP_STRING and
AC_TRY_COMPILE. IMHO it would be nice if new macros gave no warnings.
Many people are checking the archive to learn how to write macros.
The use of AC_TRY_RUN is more serious. The modern version,
AC_RUN_IFELSE, takes a fifth argument about what to do when
cross-compiling. Here, the fifth argument is left empty, which implies
configure will halt with an error message when cross-compiling. I
wonder if that is on purpose.
These are the warnings I get with -Wall:
configure.ac:5: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:5: You should run autoupdate.
../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
v8.m4:28: AX_LIB_V8 is expanded from...
configure.ac:5: the top level
configure.ac:5: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:5: You should run autoupdate.
../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from...
configure.ac:5: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:5: You should run autoupdate.
../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from...
configure.ac:5: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:5: You should run autoupdate.
../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from...
configure.ac:5: warning: AC_RUN_IFELSE called without default to allow
cross compiling
../../lib/autoconf/general.m4:2715: AC_RUN_IFELSE is expanded from...
Thanks,
Peter