On Feb 21, 2013, at 3:06 AM, Jan Stary <[email protected]> wrote: > Could someone who knows the pkg-config internals > please enlighten me on this? Is it really the case > that our pkg-config (as installed by devel/pkgconfig) > does not have the PKG_PROG_PKG_CONFIG macro?
Looks defined to me. From /opt/local/share/aclocal/pkg.m4, which is provided by pkgconfig @0.27.1_2: > # PKG_PROG_PKG_CONFIG([MIN-VERSION]) > # ---------------------------------- > AC_DEFUN([PKG_PROG_PKG_CONFIG], > [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) > m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) > m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) > AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) > AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search > path]) > AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search > path]) > > if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then > AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) > fi > if test -n "$PKG_CONFIG"; then > _pkg_min_version=m4_default([$1], [0.9.0]) > AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) > if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then > AC_MSG_RESULT([yes]) > else > AC_MSG_RESULT([no]) > PKG_CONFIG="" > fi > fi[]dnl > ])# PKG_PROG_PKG_CONFIG vq _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
