Add --enable-perl-console, enabled by default (untested)

Originally committed to SVN as r2535.
This commit is contained in:
Amar Takhar 2008-12-27 11:42:12 +00:00
parent e7f057a2b1
commit 85f0e5e7f0

View file

@ -705,8 +705,11 @@ if test "$with_perl" != "no"; then
PERL_BIN="$WITH_PERL_BIN"
fi
# XXX: add a --with-perlconsole flag.
# AC_DEFINE(WITH_PERLCONSOLE, 1, [Enable PERL Console support (for debugging purposes)])
AC_ARG_ENABLE(perl-console, [ --disable-perl-console disable PERL console (default=enabled)],perlconsole_disabled="(disabled)")
if test "$enable_perlconsole" != "no"; then
AC_DEFINE(WITH_PERLCONSOLE, 1, [Enable PERL Console support (for debugging purposes)])
fi
if test "$PERL_BIN" != "no"; then
AC_CACHE_CHECK(