Fix automake warning about requiring AM_PROG_AR in configure.ac
authorFrank Zschockelt <lm@freakysoft.de>
Thu, 04 Feb 2016 21:01:46 +0100
changeset 694 258b47869df5
parent 693 acf8fc93d741
child 695 7ca0db71e445
Fix automake warning about requiring AM_PROG_AR in configure.ac
configure.ac
--- a/configure.ac	Thu Feb 04 21:01:45 2016 +0100
+++ b/configure.ac	Thu Feb 04 21:01:46 2016 +0100
@@ -42,6 +42,9 @@
 AC_PROG_CC([cc gcc])
 AC_ISC_POSIX
 AC_HEADER_STDC
+# automake warns about not using AM_PROG_AR
+# but automake <= 1.11 doesn't recognize it
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL