diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index f7a6940bf0..6e1010ef03 100644 --- a/m4/libcurl.m4 +++ b/m4/libcurl.m4 @@ -67,6 +67,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG], if test -d "$_libcurl_with" ; then CPPFLAGS="${CPPFLAGS} -I$withval/include" LDFLAGS="${LDFLAGS} -L$withval/lib" + PATH="$withval/bin:${PATH}" fi AC_PATH_PROG([_libcurl_config],[curl-config])