]> arthur.barton.de Git - ngircd-alex.git/commitdiff
configure: only use AM_PROG_AR when available
authorAlexander Barton <alex@barton.de>
Mon, 24 Sep 2012 18:56:24 +0000 (20:56 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 24 Sep 2012 18:56:24 +0000 (20:56 +0200)
This fixes commit 78d189fb on systems with older automake ...

configure.ng

index 3ac56c44bf6a044a3d5053d935914a12e8cbdfe4..8b47ad15dfdded9638be714f46df4b150c099522 100644 (file)
@@ -60,7 +60,8 @@ AC_PROG_CC_STDC
 
 # -- Helper programs --
 
 
 # -- Helper programs --
 
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
 AC_PROG_AWK
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_AWK
 AC_PROG_INSTALL
 AC_PROG_LN_S