Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl.

AC_PATH_PROG was not used properly.
This commit is contained in:
Daniel Stenberg
2007-02-19 12:37:04 +00:00
parent 1045b8d382
commit 1297c54b26
3 changed files with 6 additions and 2 deletions

View File

@@ -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