8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

1. Better check for xlC presence.

2. Run tests in STDC mode instead K&R.
This commit is contained in:
alexpeshkoff 2009-04-24 08:35:44 +00:00
parent 4669cbbaf9
commit 8098f3f0e8

View File

@ -77,7 +77,7 @@ dnl CPU_TYPE=ppc64
powerpc-*-aix*)
dnl ibm xlC has many invocations, like xlC, xlc++, or xlc_r7
comp=$(echo "$CXX" | (cut -c1-3 | tr [:upper:] [:lower:]))
comp=$(echo "$CXX" | cut -c1-3 | dd conv=lcase 2>/dev/null)
if test "$comp" = "xlc"; then
MAKEFILE_PREFIX=aix_powerpc_xlc
else
@ -461,8 +461,7 @@ AC_SUBST(GPRE_LANGUAGE_MODULES)
dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC dnl EKU: C++ programs should not use CC, but at the moment all
dnl makefiles use $(CC) to link objects. This has to be changed!
AC_PROG_CC_STDC
AC_PROG_GCC_TRADITIONAL
AC_PROG_CXX
AC_PROG_CPP