diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-24 14:16:38 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-24 14:21:09 +0100 |
commit | 87e11ddc7bcd1ca1134760302591f8a60bcce6fd (patch) | |
tree | 37b467134644f043b26342f53c5a1da56fc5524c | |
parent | f30d14953e2bf8182c6229339abb23a0bcb899d6 (diff) | |
download | at-spi2-core-wip/meson.tar.gz |
build: Modernise configure.acwip/meson
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.
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | dbind/Makefile.am | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 684c7832..1c6988df 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 diff --git a/dbind/Makefile.am b/dbind/Makefile.am index c3d7bb57..201570a4 100644 --- a/dbind/Makefile.am +++ b/dbind/Makefile.am @@ -1,6 +1,3 @@ -# We build atspi-gmain.c which is located in a different directory. -AUTOMAKE_OPTIONS = subdir-objects - noinst_LTLIBRARIES = libdbind.la AM_CPPFLAGS = \ |