summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2012-05-24 19:54:52 +0000
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-25 11:01:37 +0200
commit96153b06bd48fc01cc92aea6b8272d513261677a (patch)
treeaadd5fa836f3501db6a39a3a931f49233e280e75
parent2b0cd22380d5f38fed0b0cdc78d3641b4799f9b6 (diff)
configure: Only use AM_PROG_AR if it’s defined
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f96cd6d..ad5940e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,8 @@ AC_SUBST(LIBINSANITY_GST_API_VERSION)
GST_TARGET=0.10
AC_SUBST(GST_TARGET)
-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])
AC_PROG_CC
AC_PROG_CC_STDC