configure.ac: call `AC_USE_SYSTEM_EXTENSIONS` earlier
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Mar 2024 15:33:14 +0000 (11:33 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 18 Mar 2024 14:59:40 +0000 (10:59 -0400)
When bootstrapping, with autoconf 2.72, I see:

    autoreconf: running: /usr/bin/autoconf
    configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
    m4/ac_extensions.m4:38: AC_USE_SYSTEM_EXTENSIONS is expanded from...
    configure.ac:7: the top level

Move the call to `AC_USE_SYSTEM_EXTENSIONS` earlier to avoid that.

Change-Id: I836889d9816708530ddbd7c66d8e2c331eadbead
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
configure.ac

index d8b29f0da9122fe697538ab92081e96c26cbadcd..2713688d50c08023e7ab7ad213d2d624f3413f75 100644 (file)
@@ -1,11 +1,11 @@
 AC_INIT([argpar], [0.1.0])
+AC_USE_SYSTEM_EXTENSIONS
+
 AM_INIT_AUTOMAKE([foreign])
 LT_INIT
 
 AC_CONFIG_MACRO_DIRS([m4])
 
-AC_USE_SYSTEM_EXTENSIONS
-
 # Depend on glib just for the tests.
 PKG_CHECK_MODULES([GLIB], [glib-2.0])
 
This page took 0.023308 seconds and 4 git commands to generate.