From: Barak Itkin Date: Sat, 2 Jun 2012 12:29:47 +0000 (+0300) Subject: Fix a compilation error when using automake 1.12 X-Git-Tag: p2tc-0.1.0~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=704f97977d6525e6e02ff9d4340644264312129e;p=poly2tri-c Fix a compilation error when using automake 1.12 --- diff --git a/configure.ac b/configure.ac index de82bee..e975dac 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) # Define maintainer mode AM_MAINTAINER_MODE +# On automake 1.12 we will need to call AM_PROG_AR +# However, on some old versions it does not exist, so use and ifdef +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + # Initialize libtool LT_INIT