]> git.xonotic.org Git - xonotic/d0_blind_id.git/blobdiff - configure.ac
stupid hack
[xonotic/d0_blind_id.git] / configure.ac
index d84c56e6dd28771ee824132934130599dd4a4d2a..89072f0508e7bf18a9aac96f51f11292fd66b6f7 100644 (file)
@@ -2,7 +2,8 @@ AC_INIT([d0_blind_id],[0.5],[divVerent@xonotic.org])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([-Wall foreign])
 AC_PROG_CC
-AM_PROG_AR
+# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
 
 AC_ARG_WITH(openssl, AS_HELP_STRING([--with-openssl], [Use OpenSSL instead of GMP (beware of the OpenSSL license)]), [with_openssl=$withval], [with_openssl=no])