From: Takashi Iwai Date: Fri, 31 Aug 2007 14:41:19 +0000 (+0200) Subject: Allow empty pythonincdir option X-Git-Tag: v1.0.15rc2~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e23317de39dd3d13ee12c3e409f0014969549d42;p=alsa-lib.git Allow empty pythonincdir option The include path options can be empty if the python is installed in the standard header path. So, configure shouldn't check its emptiness. --- diff --git a/configure.in b/configure.in index 54f000f1..f8799527 100644 --- a/configure.in +++ b/configure.in @@ -350,7 +350,7 @@ if test "$build_python" = "yes"; then AS_HELP_STRING([--with-pythonincdir=dir], [specify python C header files (-I/usr/include/python)]), pythonincdir="$withval", pythonincdir=`python-config --includes`) - if test -z "$pythonlibs" -o -z "$pythonincdir"; 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 and" echo "--with-pythonincdir options. Python components are disabled in this build."