mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl.
AC_PATH_PROG was not used properly.
This commit is contained in:
parent
1045b8d382
commit
1297c54b26
3 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue