summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-18 11:46:26 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-22 11:44:09 +0200
commit002f84aea86371aa079b867c0ec39396b97109d3 (patch)
treee3f01b7282d0891d1295993ddbeb7da8390889c3
parent08e3f641a8b8d6b5d7eb0b523599702eda960da2 (diff)
downloadsssd-002f84aea86371aa079b867c0ec39396b97109d3.tar.gz
sssd-002f84aea86371aa079b867c0ec39396b97109d3.tar.bz2
sssd-002f84aea86371aa079b867c0ec39396b97109d3.zip
Fix autotols warnings: macro xyz not found in library
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b34ae3f4..b9b72e3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,8 +16,7 @@ AC_CONFIG_AUX_DIR([build])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax])
AM_PROG_CC_C_O
-m4_pattern_allow([AM_PROG_AR])
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_DISABLE_STATIC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
@@ -33,8 +32,7 @@ AC_DEFINE([PRERELEASE_VERSION], "PRERELEASE_VERSION_NUMBER",
AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 &>/dev/null])
-m4_pattern_allow([AM_SILENT_RULES])
-AM_SILENT_RULES
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes])