aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-08-30 03:19:47 +0000
committerBruce Momjian <bruce@momjian.us>1998-08-30 03:19:47 +0000
commit76002493f3dc2a939f828e1c5d1efaae59b7f352 (patch)
tree79a2188283b464ec304727488e4c0c971c074490 /src
parent845a3bdc4f9e0a9a7a4b896277f9f34d9cfca9db (diff)
downloadpostgresql-76002493f3dc2a939f828e1c5d1efaae59b7f352.tar.gz
postgresql-76002493f3dc2a939f828e1c5d1efaae59b7f352.zip
--without fix from Brook
Diffstat (limited to 'src')
-rw-r--r--src/configure.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/configure.in b/src/configure.in
index 90cf29dada9..390b7ba9212 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -222,8 +222,13 @@ AC_MSG_CHECKING(setting USE_TCL)
AC_ARG_WITH(
tcl,
[ --with-tcl use tcl ],
- USE_TCL=true; AC_MSG_RESULT(enabled),
- USE_TCL=false; AC_MSG_RESULT(disabled)
+ [
+ case "$withval" in
+ y | ye | yes) USE_TCL=true; AC_MSG_RESULT(enabled) ;;
+ *) USE_TCL=false; AC_MSG_RESULT(disabled) ;;
+ esac
+ ],
+ [ USE_TCL=false; AC_MSG_RESULT(disabled) ]
)
dnl Add tcl/tk candidate directories to CPPFLAGS
@@ -254,8 +259,13 @@ AC_MSG_CHECKING(setting USE_PERL)
AC_ARG_WITH(
perl,
[ --with-perl use perl ],
- USE_PERL=true; AC_MSG_RESULT(enabled),
- USE_PERL=false; AC_MSG_RESULT(disabled)
+ [
+ case "$withval" in
+ y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
+ *) USE_PERL=false; AC_MSG_RESULT(disabled) ;;
+ esac
+ ],
+ [ USE_PERL=false; AC_MSG_RESULT(disabled) ]
)
#dnl Verify that postgres is already installed