[vala] build: Some minor modernizations



commit 3592f2113f30d7f379c000c76f93da8556f0be4f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Sep 15 14:13:48 2016 +0200

    build: Some minor modernizations

 Makefile.am  |    3 ++-
 configure.ac |    8 ++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 04dd1b0..b188bd1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = --install -I m4 ${ACLOCAL_FLAGS}
+
 NULL =
 
 SUBDIRS = \
diff --git a/configure.ac b/configure.ac
index 970eedb..aa38ed6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,3 +1,4 @@
+AC_PREREQ([2.65])
 AC_INIT([vala], m4_esyscmd([build-aux/git-version-gen .tarball-version]), [j bitron ch], [vala])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_AUX_DIR([build-aux])
@@ -22,9 +23,12 @@ AC_SUBST(pkgdatadir, [${datadir}/vala${PACKAGE_SUFFIX}])
 # Checks for programs.
 AC_PROG_CC
 AM_PROG_CC_C_O
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
 AC_PROG_LN_S
+AC_PROG_INSTALL
+
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
+PKG_PROG_PKG_CONFIG([0.21])
 
 AC_PROG_LEX
 if test "$LEX" = :; then


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