the AIX macro invoked the CPP check before the CC check, so that
autoconf did not know which $CC to use.
You can now close all those bug reports about unix.h and misdetected
headers.
dnl We want this one before the checks, so the checks can modify CFLAGS.
test -z "$CFLAGS" && auto_cflags=1
-dnl AC_AIX needs to be before any macros that run the C compiler.
-AC_AIX
-
abs_srcdir=`(cd $srcdir; pwd)`
abs_builddir=`pwd`
dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
dnl AC_PROG_CC_STDC
AC_PROG_CPP
+
+AC_AIX
+
dnl AC_PROG_CXX
dnl AC_PROG_CXXCPP
dnl check for -R, etc. switch