From cab48ce73cb19b1aa8784e6c6a3cb8f47b0cbc0e Mon Sep 17 00:00:00 2001 From: "Wulf C. Krueger" Date: Mon, 27 Aug 2012 20:28:48 +0200 Subject: Fix disabling the Perl bindings. --disable-perl isn't currently respected because $PERL correctly points to the perl executable and $missing_perl_modules doesn't prevent the perl parts to be installed either. Thus, a check for $enable_perl is needed. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index eb37e0c9..6d2ef4d0 100644 --- a/configure.ac +++ b/configure.ac @@ -908,7 +908,7 @@ AS_IF([test "x$enable_perl" != "xno"],[ fi ]) AM_CONDITIONAL([HAVE_PERL], - [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"]) + [test "x$enable_perl" != "xno" && test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"]) dnl Check for Python (optional, for Python bindings). PYTHON_PREFIX= -- cgit