Only enable perlconsle if perl is detected.
Originally committed to SVN as r2711.
This commit is contained in:
parent
594d44f594
commit
4e645821d6
1 changed files with 6 additions and 7 deletions
13
configure.in
13
configure.in
|
@ -851,12 +851,6 @@ if test "$with_perl" != "no"; then
|
|||
PERL_BIN="$WITH_PERL_BIN"
|
||||
fi
|
||||
|
||||
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(
|
||||
[checking for perl version >= perl_required_version], [with_cv_perl],
|
||||
|
@ -903,9 +897,14 @@ else
|
|||
with_cv_perl="no"
|
||||
fi
|
||||
|
||||
|
||||
AM_CONDITIONAL([HAVE_AUTO4_PERL], [test "$with_cv_perl" != "no"])
|
||||
|
||||
AC_ARG_ENABLE(perl-console, [ --disable-perl-console disable PERL console (default=enabled)],perlconsole_disabled="(disabled)")
|
||||
|
||||
if test "$with_cv_perl" = "yes" && test "$enable_perlconsole" != "no"; then
|
||||
AC_DEFINE(WITH_PERLCONSOLE, 1, [Enable PERL Console support (for debugging purposes)])
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#############
|
||||
|
|
Loading…
Reference in a new issue