| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + ``configure`` now prints a warning when pkg-config is missing. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2777,7 +2777,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 2777 | 2777 | ||
| 2778 | 2778 | ||
| 2779 | 2779 | ||
| 2780 | - | ||
| 2781 | 2780 | if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then | |
| 2782 | 2781 | # If we're building out-of-tree, we need to make sure the following | |
| 2783 | 2782 | # resources get picked up before their $srcdir counterparts. | |
@@ -19574,6 +19573,11 @@ $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ | |||
| 19574 | 19573 | Modules/Setup.local $srcdir/Modules/Setup | |
| 19575 | 19574 | mv config.c Modules | |
| 19576 | 19575 | ||
| 19576 | + if test -z "$PKG_CONFIG"; then | ||
| 19577 | + echo "" >&6 | ||
| 19578 | + echo "pkg-config is missing. Some dependencies may not be detected correctly." >&6 | ||
| 19579 | + fi | ||
| 19580 | + | ||
| 19577 | 19581 | if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then | |
| 19578 | 19582 | echo "" >&6 | |
| 19579 | 19583 | echo "" >&6 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,12 @@ m4_ifdef( | |||
| 16 | 16 | [AX_C_FLOAT_WORDS_BIGENDIAN], | |
| 17 | 17 | [], | |
| 18 | 18 | [AC_MSG_ERROR([Please install autoconf-archive package and re-run autoreconf])] | |
| 19 | - ) | ||
| 19 | + )dnl | ||
| 20 | + m4_ifdef( | ||
| 21 | + [PKG_PROG_PKG_CONFIG], | ||
| 22 | + [], | ||
| 23 | + [AC_MSG_ERROR([Please install pkgconf's m4 macro package and re-run autoreconf])] | ||
| 24 | + )dnl | ||
| 20 | 25 | ||
| 21 | 26 | AC_SUBST(BASECPPFLAGS) | |
| 22 | 27 | if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then | |
@@ -6114,6 +6119,11 @@ $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ | |||
| 6114 | 6119 | Modules/Setup.local $srcdir/Modules/Setup | |
| 6115 | 6120 | mv config.c Modules | |
| 6116 | 6121 | ||
| 6122 | + if test -z "$PKG_CONFIG"; then | ||
| 6123 | + echo "" >&AS_MESSAGE_FD | ||
| 6124 | + echo "pkg-config is missing. Some dependencies may not be detected correctly." >&AS_MESSAGE_FD | ||
| 6125 | + fi | ||
| 6126 | + | ||
| 6117 | 6127 | if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then | |
| 6118 | 6128 | echo "" >&AS_MESSAGE_FD | |
| 6119 | 6129 | echo "" >&AS_MESSAGE_FD | |
| Back | FazBrowse Home | New Git URL |
0 commit comments