-
if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
# If we're building out-of-tree, we need to make sure the following
# resources get picked up before their $srcdir counterparts.
Modules/Setup.local $srcdir/Modules/Setup
mv config.c Modules
+if test -z "$PKG_CONFIG"; then
+ echo "" >&6
+ echo "pkg-config is missing. Some dependencies may not be detected correctly." >&6
+fi
+
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
echo "" >&6
echo "" >&6
[AX_C_FLOAT_WORDS_BIGENDIAN],
[],
[AC_MSG_ERROR([Please install autoconf-archive package and re-run autoreconf])]
-)
+)dnl
+m4_ifdef(
+ [PKG_PROG_PKG_CONFIG],
+ [],
+ [AC_MSG_ERROR([Please install pkgconf's m4 macro package and re-run autoreconf])]
+)dnl
AC_SUBST(BASECPPFLAGS)
if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
Modules/Setup.local $srcdir/Modules/Setup
mv config.c Modules
+if test -z "$PKG_CONFIG"; then
+ echo "" >&AS_MESSAGE_FD
+ echo "pkg-config is missing. Some dependencies may not be detected correctly." >&AS_MESSAGE_FD
+fi
+
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
echo "" >&AS_MESSAGE_FD
echo "" >&AS_MESSAGE_FD