From 1297c54b2627db727184b4bec5ea3d696d8a1c10 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 19 Feb 2007 12:37:04 +0000 Subject: Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl. AC_PATH_PROG was not used properly. --- docs/libcurl/libcurl.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/libcurl/libcurl.m4') diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index a9bfa2e23..f54a5f2d1 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -71,7 +71,8 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG], if test -d "$_libcurl_with" ; then LIBCURL_CPPFLAGS="-I$withval/include" _libcurl_ldflags="-L$withval/lib" - AC_PATH_PROG([_libcurl_config],["$withval/bin/curl-config"]) + AC_PATH_PROG([_libcurl_config],[curl-config],["$withval/bin"], + ["$withval/bin"]) else AC_PATH_PROG([_libcurl_config],[curl-config]) fi -- cgit v1.2.3