diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-19 12:37:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-19 12:37:04 +0000 |
commit | 1297c54b2627db727184b4bec5ea3d696d8a1c10 (patch) | |
tree | d1d5636a70d4e134bdc9d7543deb5162089b16ac /docs/libcurl/libcurl.m4 | |
parent | 1045b8d3828db484bb7e1f8162362d10cc21d2f3 (diff) | |
download | curl-1297c54b2627db727184b4bec5ea3d696d8a1c10.tar.gz |
Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl.
AC_PATH_PROG was not used properly.
Diffstat (limited to 'docs/libcurl/libcurl.m4')
-rw-r--r-- | docs/libcurl/libcurl.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
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 |