OSDN Git Service

Allow empty pythonincdir option
authorTakashi Iwai <tiwai@suse.de>
Fri, 31 Aug 2007 14:41:19 +0000 (16:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 Aug 2007 14:41:19 +0000 (16:41 +0200)
The include path options can be empty if the python is installed in
the standard header path.  So, configure shouldn't check its emptiness.

configure.in

index 54f000f..f879952 100644 (file)
@@ -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."