]> granicus.if.org Git - poly2tri-c/commitdiff
Fix a compilation error when using automake 1.12
authorBarak Itkin <lightningismyname@gmail.com>
Sat, 2 Jun 2012 12:29:47 +0000 (15:29 +0300)
committerBarak Itkin <lightningismyname@gmail.com>
Sat, 2 Jun 2012 12:29:47 +0000 (15:29 +0300)
configure.ac

index de82bee704620e904f0c10a7932341c8a19f3024..e975dace576cc766758700cf6d931aa41f4c13e2 100644 (file)
@@ -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