From: Marcel Holtmann Date: Thu, 8 Jan 2009 20:40:58 +0000 (+0100) Subject: Use $PKG_CONFIG instead of pkg-config X-Git-Tag: 0.8~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0799835aa141dd9f32d1d477e113507f8b47522;p=platform%2Fupstream%2Fconnman.git Use $PKG_CONFIG instead of pkg-config --- diff --git a/configure.ac b/configure.ac index 96d3758..8e6fa94 100644 --- a/configure.ac +++ b/configure.ac @@ -167,7 +167,7 @@ PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes, AC_MSG_ERROR(libdbus is required)) AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS) -DBUS_DATADIR="`pkg-config --variable=sysconfdir dbus-1`" +DBUS_DATADIR="`$PKG_CONFIG --variable=sysconfdir dbus-1`" if (test -z "{DBUS_DATADIR}"); then DBUS_DATADIR="${sysconfdir}/dbus-1/system.d" else @@ -193,7 +193,7 @@ if (test "${enable_udev}" = "yes"); then [Define to 1 if you need the udev_device_get_parent_with_subsystem_devtype() function.])) - UDEV_DATADIR="`pkg-config --variable=rulesdir libudev`" + UDEV_DATADIR="`$PKG_CONFIG --variable=rulesdir libudev`" if (test -z "${UDEV_DATADIR}"); then UDEV_DATADIR="${sysconfdir}/udev/rules.d" fi @@ -210,7 +210,7 @@ if (test "${enable_polkit}" = "yes"); then AC_MSG_ERROR(PolicyKit >= 0.7 is required)) AC_SUBST(POLKIT_CFLAGS) AC_SUBST(POLKIT_LIBS) - POLKIT_DATADIR="`pkg-config --variable=policydir polkit`" + POLKIT_DATADIR="`$PKG_CONFIG --variable=policydir polkit`" if (test -z "${POLKIT_DATADIR}"); then POLKIT_DATADIR="${datadir}/PolicyKit/policy" fi