From 2f3c030e2d17dc90aed02d54ee487476d34c8dd5 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Wed, 25 Mar 2015 17:16:58 -0700 Subject: autotools: Use newer configure syntax. Using AM_INIT_AUTOMAKE with 2 and 3 arguments is deprecated. Change-Id: I656c13497e9eb38ba64180b40e3b46c11f1eb6d8 --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3ee0340..b6901ee 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) -AC_INIT(data-oss, 1.0.0) -AM_INIT_AUTOMAKE(data-oss, 1.0.0) +AC_INIT([data-oss], [1.0.0]) +AM_INIT_AUTOMAKE AC_OUTPUT(Makefile rmnetctl/src/Makefile rmnetctl/cli/Makefile data-oss.pc) AC_CONFIG_SRCDIR([rmnetctl/src/librmnetctl.c]) #AC_CONFIG_HEADERS([config.h]) @@ -11,6 +11,7 @@ AC_CONFIG_MACRO_DIR([m4]) # Checks for programs. AC_PROG_CC AC_PROG_LIBTOOL +PKG_PROG_PKG_CONFIG # Checks for libraries. AC_ARG_WITH(sanitized-headers, -- cgit v1.2.3