summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2015-04-16 20:39:13 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2015-04-17 10:41:44 +0200
commitcd93586d0bec813b90ad1225a7d668cb853c4b44 (patch)
tree3b2b024aef1cfd78b3689b52bb1912aa94b8d3c7 /src
parent84a30285a9cc649baf093846ef664d47fefee646 (diff)
Use ${PKG_CONFIG} instead of pkg-config.
This fixes the build on Exherbo that only has prefixed versions of pkg-config.
Diffstat (limited to 'src')
-rw-r--r--src/backends/akonadi/configure-sub.in2
-rw-r--r--src/backends/kde/configure-sub.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backends/akonadi/configure-sub.in b/src/backends/akonadi/configure-sub.in
index ed05f1b5..1e72e5f0 100644
--- a/src/backends/akonadi/configure-sub.in
+++ b/src/backends/akonadi/configure-sub.in
@@ -14,7 +14,7 @@ if ! test "$KDEPIM_CFLAGS"; then
fi
fi
if ! test "$KDEPIM_LIBS"; then
- KDEPIM_LIBS="-L`kde4-config --install lib` -lakonadi-kde `pkg-config --libs QtDBus` -lQtCore -lkdeui -lkdecore"
+ KDEPIM_LIBS="-L`kde4-config --install lib` -lakonadi-kde `${PKG_CONFIG} --libs QtDBus` -lQtCore -lkdeui -lkdecore"
fi
AC_LANG_PUSH(C++)
old_CPPFLAGS="$CPPFLAGS"
diff --git a/src/backends/kde/configure-sub.in b/src/backends/kde/configure-sub.in
index a4897649..970a3d48 100644
--- a/src/backends/kde/configure-sub.in
+++ b/src/backends/kde/configure-sub.in
@@ -9,10 +9,10 @@ then
then
KDEKWALLETFOUND=yes
if ! test "$KDE_KWALLET_CFLAGS"; then
- KDE_KWALLET_CFLAGS="-I`$KDE4_CONFIG --path include` -I`$KDE4_CONFIG --path include`/KDE `pkg-config --cflags QtDBus QtCore`"
+ KDE_KWALLET_CFLAGS="-I`$KDE4_CONFIG --path include` -I`$KDE4_CONFIG --path include`/KDE `${PKG_CONFIG} --cflags QtDBus QtCore`"
fi
if ! test "$KDE_KWALLET_LIBS"; then
- KDE_KWALLET_LIBS="-lkdeui -lkdecore -L`kde4-config --install lib` `pkg-config --libs QtDBus QtCore`"
+ KDE_KWALLET_LIBS="-lkdeui -lkdecore -L`kde4-config --install lib` `${PKG_CONFIG} --libs QtDBus QtCore`"
fi
AC_LANG_PUSH(C++)
old_CPPFLAGS="$CPPFLAGS"