aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index d006b922324..7017819fae2 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -228,11 +228,19 @@ else
fi
echo ""
+dnl We use the default value of 5432 for the DEF_PGPORT value. If
+dnl we over-ride it with --with-pgport=port then we bypass this piece
+if test "X$with_compiler" != "X"
+then
+ CC=$with_compiler
+else
+ AC_PROG_CC
+fi
+
AC_CONFIG_HEADER(include/config.h)
dnl Checks for programs.
-AC_PROG_CC
AC_PROG_CPP
AC_LINK_FILES(include/port/${PORTNAME}.h, include/os.h)