]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-confopts.m4: fix typo from ed224f23d5beb
authorDaniel Stenberg <daniel@haxx.se>
Fri, 15 Jun 2018 15:14:05 +0000 (17:14 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 15 Jun 2018 15:14:05 +0000 (17:14 +0200)
Fixes my local configure to detect a custom installed c-ares without
pkgconfig.

m4/curl-confopts.m4

index d83ce857ba296217cd5305904d817104a416a0fb..e591caa5809d23b398767a02b9cd6aad37de0e03 100644 (file)
@@ -498,7 +498,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [
     if test -n "$want_ares_path"; then
       dnl c-ares library path has been specified
       ARES_PCDIR="$want_ares_path/lib/pkgconfig"
-      CURL_CHECK_PKGCONFIG(libcares, [$ARES_PCIDR])
+      CURL_CHECK_PKGCONFIG(libcares, [$ARES_PCDIR])
       if test "$PKGCONFIG" != "no" ; then
         ares_LIBS=`CURL_EXPORT_PCDIR([$ARES_PCDIR])
           $PKGCONFIG --libs-only-l libcares`