diff options
| author | Peter Eisentraut | 2001-05-11 23:38:06 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2001-05-11 23:38:06 +0000 |
| commit | 5e19e14ecda8c7ff37f4681fc9e04beb7ca935ba (patch) | |
| tree | 02f969543186f8f65b3a2204575b07426e5289cc /configure.in | |
| parent | 7a76e29b0e08c9c3dd50681021c9b1a1bd4b8545 (diff) | |
Cleanups of pltcl unknown thingy.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/configure.in b/configure.in index 33abf7ad3a3..0299e141e2b 100644 --- a/configure.in +++ b/configure.in @@ -359,16 +359,6 @@ PGAC_ARG_BOOL(with, tcl, no, [ --with-tcl build Tcl and Tk interfa AC_MSG_RESULT([$with_tcl]) AC_SUBST([with_tcl]) -# If Tcl is enabled (above) then check for pltcl_unknown_support -AC_MSG_CHECKING([whether to build with pl/tcl unknown support]) -if test "$with_tcl" = yes; then - PGAC_ARG_BOOL(with, pltcl_unknown, no, [ --enable-pltcl-unknown build pl/tcl unknown support if Tcl is enabled]) -else - enable_pltcl_unknown=no -fi -AC_MSG_RESULT([$enable_pltcl_unknown]) -AC_SUBST([enable_pltcl_unknown]) - # If Tcl is enabled (above) then Tk is also, unless the user disables it using --without-tk AC_MSG_CHECKING([whether to build with Tk]) if test "$with_tcl" = yes; then @@ -392,6 +382,21 @@ PGAC_ARG_REQ(with, tkconfig, [ --with-tkconfig=DIR tkConfig.sh is in DIR]) # +# If Tcl is enabled (above) then check for pltcl_unknown_support +# +AC_MSG_CHECKING([whether to build with PL/Tcl unknown support]) +if test "$with_tcl" = yes; then + PGAC_ARG_BOOL(enable, pltcl-unknown, no, + [ --enable-pltcl-unknown build PL/Tcl unknown support (if Tcl is enabled)], + [AC_DEFINE([ENABLE_PLTCL_UNKNOWN])]) +else + enable_pltcl_unknown=no +fi +AC_MSG_RESULT([$enable_pltcl_unknown]) +AC_SUBST([enable_pltcl_unknown]) + + +# # Optionally build Perl modules (Pg.pm and PL/Perl) # AC_MSG_CHECKING([whether to build Perl modules]) |
