diff --git a/libraries/libapparmor/m4/ac_python_devel.m4 b/libraries/libapparmor/m4/ac_python_devel.m4 index 6454e2d8a..1da29d873 100644 --- a/libraries/libapparmor/m4/ac_python_devel.m4 +++ b/libraries/libapparmor/m4/ac_python_devel.m4 @@ -13,7 +13,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[ PYTHON_VERSION="" fi - AC_PATH_PROG([PYTHON_CONFIG],[`basename [$PYTHON]-config`]) + AC_PATH_TOOL([PYTHON_CONFIG],[`basename [$PYTHON]-config`]) if test -z "$PYTHON_CONFIG"; then AC_MSG_ERROR([Cannot find python$PYTHON_VERSION-config in your system path]) fi