Drat. Should test a few more cases before committing.

This commit is contained in:
Tom Lane 1998-10-29 18:15:28 +00:00
parent 485a71a4ce
commit a91c019c06
2 changed files with 374 additions and 437 deletions

794
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -325,6 +325,7 @@ AC_ARG_ENABLE(
)
dnl Check for C support (allow override if needed)
dnl Note: actually, setting CC environment variable works just as well.
AC_ARG_WITH(CC,
[ --with-CC=compiler use specific C compiler],
[
@ -334,11 +335,14 @@ AC_ARG_WITH(CC,
;;
esac
CC="$withval"
],
[
AC_PROG_CC
AC_PROG_GCC_TRADITIONAL
])
])
dnl Find a compiler if CC is not already set.
AC_PROG_CC
dnl Find CPP, then check traditional.
dnl Caution: these macros must be called in this order...
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
if test "$CC" = "gcc"
then
@ -354,9 +358,6 @@ echo "- setting CPPFLAGS=$CPPFLAGS"
LDFLAGS="$LDFLAGS $PGSQL_LDFLAGS"
echo "- setting LDFLAGS=$LDFLAGS"
dnl Checks for programs.
AC_PROG_CPP
AC_SUBST(PORTNAME)
AC_SUBST(SRCDIR)
AC_SUBST(LDFLAGS)