bugfix in AX_PKG_REQUIRE
This commit is contained in:
@@ -442,8 +442,6 @@ AC_DEFUN([AX_PKG_REQUIRE], [
|
|||||||
if test ${$1_found} -eq 0; then
|
if test ${$1_found} -eq 0; then
|
||||||
AC_MSG_ERROR([Required package $2 or $4 for feature $1 not installed])
|
AC_MSG_ERROR([Required package $2 or $4 for feature $1 not installed])
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Required package $2 for feature $1 not installed])
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
AC_SUBST(AM_CPPFLAGS)
|
AC_SUBST(AM_CPPFLAGS)
|
||||||
@@ -457,6 +455,8 @@ AC_DEFUN([AX_PKG_REQUIRE], [
|
|||||||
AC_MSG_ERROR([Required header $3 for feature $1 not found])
|
AC_MSG_ERROR([Required header $3 for feature $1 not found])
|
||||||
])
|
])
|
||||||
CPPFLAGS=${old_CPPFLAGS}
|
CPPFLAGS=${old_CPPFLAGS}
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([Required package $2 for feature $1 not installed])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user