diff configure.ac @ 1762:a6eab6820b37

Lance Hepler's fix to configure.ac; small refactor of fastcgi.c to avoid undefined behavior
author Adam Chlipala <adam@chlipala.net>
date Sun, 13 May 2012 17:41:21 -0400
parents 74fcc977a13d
children 4cca386e5766
line wrap: on
line diff
--- a/configure.ac	Sun May 13 14:27:29 2012 -0400
+++ b/configure.ac	Sun May 13 17:41:21 2012 -0400
@@ -3,8 +3,7 @@
 AC_USE_SYSTEM_EXTENSIONS
 
 # automake 1.12 requires this, but automake 1.11 doesn't recognize it
-m4_pattern_allow([AM_PROG_AR])
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 
 AM_INIT_AUTOMAKE([-Wall -Werror foreign no-define])
 AC_PROG_CC()