diff options
| author | Marc G. Fournier | 1997-04-03 22:16:34 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-04-03 22:16:34 +0000 |
| commit | 0213a81dca23df60fa96b0b1681b64d9a542dc49 (patch) | |
| tree | acb060020284b58499a2321ef9ddac04edd392a0 /src/configure.in | |
| parent | a03dc605085f2f01b954a376094daef71cb8aa3d (diff) | |
More modifications to make building more interactive:
Allow installer to change DEF_PGPORT
Allow installer to disable HBA
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/src/configure.in b/src/configure.in index 838f313b4ed..72beb6b6d82 100644 --- a/src/configure.in +++ b/src/configure.in @@ -91,12 +91,6 @@ AC_SUBST(INSTLOPTS) AC_SUBST(INSTL_LIB_OPTS) AC_SUBST(INSTL_EXE_OPTS) -if test "$USE_LOCALE" = "yes" -then - AC_MSG_RESULT(setting USE_LOCALE) - AC_DEFINE(USE_LOCALE) -fi - dnl Check the option to echo to inhibit newlines. ECHO_N_OUT=`echo -n "" | wc -c` ECHO_C_OUT=`echo "\c" | wc -c` @@ -194,4 +188,25 @@ AC_SUBST(STRERROR) AC_CHECK_FUNC(cbrt, AC_DEFINE(HAVE_CBRT), AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT))) AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT), AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT))) +AC_MSG_CHECKING(setting USE_LOCALE) +if test "$USE_LOCALE" = "yes" +then + AC_MSG_RESULT(enabled) + AC_DEFINE(USE_LOCALE) +else + AC_MSG_RESULT(disabled) +fi +AC_MSG_CHECKING(setting DEF_PGPORT) +AC_DEFINE_UNQUOTED(DEF_PGPORT, "${DEF_PGPORT}") +AC_MSG_RESULT($DEF_PGPORT) +AC_MSG_CHECKING(setting HBA) +if test "$NOHBA" = "no" +then + AC_MSG_RESULT(enabled) + AC_DEFINE(HBA) +else + AC_MSG_RESULT(disabled) +fi + + AC_OUTPUT(GNUmakefile Makefile.global backend/port/Makefile bin/psql/Makefile bin/pg_dump/Makefile backend/utils/Gen_fmgrtab.sh) |
