Add a --with-compiler switch that allows someone to specify:

--with-compiler=xlc

Requested by: Darren King <aixssd!darrenk@abs.net>
This commit is contained in:
Marc G. Fournier 1997-04-18 18:43:28 +00:00
parent 49153540da
commit fd8e90a848
2 changed files with 201 additions and 187 deletions

378
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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)