From: hugo303 Date: Fri, 8 Feb 2013 14:04:28 +0000 (+0000) Subject: * Fix compatibility with automake older than 1.12 X-Git-Tag: 0.10.0~488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1765b4567b518141c8c31d5da3826e862f8de67;p=check * 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 --- 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