mirror of
https://gitee.com/openharmony/third_party_alsa-lib
synced 2024-11-30 11:10:49 +00:00
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.
This commit is contained in:
parent
b04d1e18e4
commit
e23317de39
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user