From fd8e90a848ceadbb814bef1489db38cc22d30b10 Mon Sep 17 00:00:00 2001 From: Marc G. Fournier Date: Fri, 18 Apr 1997 18:43:28 +0000 Subject: Add a --with-compiler switch that allows someone to specify: --with-compiler=xlc Requested by: Darren King --- src/configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/configure.in') 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) -- cgit v1.2.3