From f1765b4567b518141c8c31d5da3826e862f8de67 Mon Sep 17 00:00:00 2001 From: hugo303 Date: Fri, 8 Feb 2013 14:04:28 +0000 Subject: [PATCH] * Fix compatibility with automake older than 1.12 git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@692 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d1dbb29..bfeca23 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,9 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_LN_S -AM_PROG_AR # for non-POSIX archivers like the one on OS X +# for non-POSIX archivers like the one on OS X +# use m4_ifdef to work on older automake (1.11) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_PROG_LIBTOOL # add these options to CFLAGS if the compiler supports them -- 2.40.0