diff options
Diffstat (limited to 'docs/libcurl/libcurl.m4')
-rw-r--r-- | docs/libcurl/libcurl.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index c83658d35..952b79f4e 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -75,10 +75,10 @@ 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],[curl-config],["$withval/bin"], + AC_PATH_PROG([_libcurl_config],[curl-config],[], ["$withval/bin"]) else - AC_PATH_PROG([_libcurl_config],[curl-config]) + AC_PATH_PROG([_libcurl_config],[curl-config],[],[$PATH]) fi if test x$_libcurl_config != "x" ; then |