From 679ae1c7f296711289f59801308ad62c83701dbe Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 22 Aug 2007 11:41:58 +0200 Subject: [PATCH] Continue build even if python-config doesn't exist It's annoying that the configure script stops with an error if python-config doesn't exist. It's no fatal error, so the configure should disable the python components and continue. --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index db0c1063..f7033868 100644 --- a/configure.in +++ b/configure.in @@ -348,9 +348,11 @@ if test "$build_python" = "yes"; then if test -z "$pythonlibs" ; then echo "Unable to determine python libraries! Probably python-config is not" echo "available on this system. Please, use --with-pythonlibs options." - exit 1 + echo "Python components are disabled in this build." + build_python="no" + else + PYTHON_LIBS="$pythonlibs" fi - PYTHON_LIBS="$pythonlibs" fi AC_SUBST(PYTHON_LIBS) -- 2.47.1