From e68bf52bc36be361d54ec72cfa9b841b86ae8cb9 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 28 Mar 2011 11:30:10 +0200 Subject: [PATCH] build: require autoconf 2.60 and fix warnings AC_GNU_SOURCE is deprecated, AC_USE_SYSTEM_EXTENSIONS (introduced in autoconf 2.60) should be used instead. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index af043041..1ffef389 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ(2.52) +AC_PREREQ(2.60) AC_INIT(ModemManager, 0.4, dcbw@redhat.com, ModemManager) AM_INIT_AUTOMAKE([1.9 subdir-objects tar-ustar no-dist-gzip dist-bzip2 -Wno-portability]) @@ -9,15 +9,15 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS(config.h) +dnl Define system extensions for various things like strcasestr() +AC_USE_SYSTEM_EXTENSIONS + dnl Required programs AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_LIBTOOL -dnl Define _GNU_SOURCE for various things like strcasestr() -AC_GNU_SOURCE - dnl dnl translation support dnl