[at-spi2-core/wip/meson: 15/15] build: Modernise configure.ac



commit eaf9731c867a9ddb90046bbd5ecfea6ab6383e66
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed May 24 14:16:38 2017 +0100

    build: Modernise configure.ac
    
    We use AM_SILENT_RULES but ask for automake 1.9 at the minimum, which
    didn't have AM_SILENT_RULES (they were introduced in 1.11.2).
    
    Additionally, we want AM_PROC_CC_C_O, not AC_PROG_CC, to find out our
    C compiler.

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 684c783..1c6988d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,14 +20,14 @@ AC_SUBST(LT_CURRENT)
 AC_SUBST(LT_REVISION)
 AC_SUBST(LT_AGE)
 
-AM_INIT_AUTOMAKE([1.9 -Wall foreign no-dist-gzip dist-xz])
+AM_INIT_AUTOMAKE([1.13 -Wall -Wno-portability foreign subdir-objects no-dist-gzip dist-xz])
 
 # Support silent build rules. Disable
 # by either passing --disable-silent-rules to configure or passing V=1
 # to make
 AM_SILENT_RULES([yes])
 
-AC_PROG_CC
+AM_PROG_CC_C_O
 LT_INIT([disable-static])
 PKG_PROG_PKG_CONFIG
 


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