aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-28 15:36:35 +0900
committerDaniel Stenberg <daniel@haxx.se>2012-05-26 23:07:53 +0200
commitbb1ce6cc0b65e04e0698896dbe0efac7959d18de (patch)
treeecb298b5cecde588ea58f02f44b207d9aca4c86c /configure.ac
parentb5fdbe848bc3d088445817aa890d3f2f74ac5b02 (diff)
Applied patches from Daniel
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 395abaeab..9955c2731 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2252,10 +2252,14 @@ if test X"$OPT_LIBMETALINK" != Xno; then
fi
fi
if test "$PKGTEST" = "yes" && test "$PKGCONFIG" != "no"; then
- addlib=`$PKGCONFIG --libs-only-l libmetalink`
- addld=`$PKGCONFIG --libs-only-L libmetalink`
- addcflags=`$PKGCONFIG --cflags-only-I libmetalink`
- version=`$PKGCONFIG --modversion libmetalink`
+ addlib=`CURL_EXPORT_PCDIR([$LIBMETALINK_PCDIR]) dnl
+ $PKGCONFIG --libs-only-l libmetalink`
+ addld=`CURL_EXPORT_PCDIR([$LIBMETALINK_PCDIR]) dnl
+ $PKGCONFIG --libs-only-L libmetalink`
+ addcflags=`CURL_EXPORT_PCDIR([$LIBMETALINK_PCDIR]) dnl
+ $PKGCONFIG --cflags-only-I libmetalink`
+ version=`CURL_EXPORT_PCDIR([$LIBMETALINK_PCDIR]) dnl
+ $PKGCONFIG --modversion libmetalink`
libmetalinklib=`echo $addld | $SED -e 's/-L//'`
fi
if test -n "$addlib"; then