]> arthur.barton.de Git - ngircd-alex.git/commitdiff
./configure: check if C compiler can compile ISO Standard C
authorAlexander Barton <alex@barton.de>
Sun, 24 Oct 2010 12:14:30 +0000 (14:14 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 24 Oct 2010 12:14:30 +0000 (14:14 +0200)
This is required for enabling ansi2knr on systems that don't have an
ANSI C compiler installed (e.g. on A/UX with Apple standard C compiler).

configure.in

index d2acc146e035ce934ed75cbba8495f4234ee472c..965258aad9f182250fff6e029ba516ac32d369ef 100644 (file)
@@ -43,6 +43,7 @@ AH_TEMPLATE([TARGET_CPU], [Target CPU name])
 # -- C Compiler --
 
 AC_PROG_CC
+AC_PROG_CC_STDC
 AC_C_PROTOTYPES
 
 # -- Helper programs --