Make both old autoconf and new automake happy
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 29 Apr 2013 17:40:52 +0000 (13:40 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 29 Apr 2013 17:46:19 +0000 (13:46 -0400)
Sigh..

Bug 64039 - undefined macro AM_PROG_AR

configure.ac

index 588744e..b44dd75 100644 (file)
@@ -13,7 +13,7 @@ AM_INIT_AUTOMAKE([1.11.1 gnits dist-bzip2 no-dist-gzip -Wall no-define color-tes
 AM_SILENT_RULES([yes])
 
 # Initialize libtool
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_PREREQ([2.2])
 LT_INIT([disable-static])