]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Restore compatibility with older autoconfs.
authorSimon Tatham <anakin@pobox.com>
Mon, 18 Nov 2013 19:07:11 +0000 (19:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 Nov 2013 19:07:11 +0000 (19:07 +0000)
The one in Ubuntu 10.04 doesn't know what AM_PROG_AR means, so
configure.ac was broken in r10053 when fixing compatibility with later
versions; you can't win...

git-svn-id: http://svn.tartarus.org/sgt/putty@10086 cda61777-01e9-0310-a592-d414129be87e

unix/configure.ac

index 108ec86c6091f13db39690cf94f20ce976c07897..29fbde6d6bf0114f401d304d1969ec6bce404190 100644 (file)
@@ -14,7 +14,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 AC_PROG_INSTALL
 AC_PROG_RANLIB
-AM_PROG_AR
+ifdef([AM_PROG_AR],[AM_PROG_AR])
 AM_PROG_CC_C_O
 
 # Mild abuse of the '--enable' option format to allow manual