diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-04-18 18:43:28 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-04-18 18:43:28 +0000 |
commit | fd8e90a848ceadbb814bef1489db38cc22d30b10 (patch) | |
tree | 78edcbade517e37635da0934a6e8a52608602bdf /src/configure.in | |
parent | 49153540daf53e5162dd6f533312792b1a83c334 (diff) |
Add a --with-compiler switch that allows someone to specify:
--with-compiler=xlc
Requested by: Darren King <aixssd!darrenk@abs.net>
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 10 |
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) |