Drat. Should test a few more cases before committing.
This commit is contained in:
parent
485a71a4ce
commit
a91c019c06
794
src/configure
vendored
794
src/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user