From: Michael Wallner Date: Mon, 3 Oct 2016 10:42:09 +0000 (+0200) Subject: fix curl-config --libs treatment X-Git-Tag: RELEASE_3_1_0_RC1~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=c70a2966c07b78bb4cb4227dd736876d06a70709;p=m6w6%2Fext-http fix curl-config --libs treatment --- diff --git a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4 index 1c09d37..f9eee6e 100644 --- a/autoconf/pecl/libcurl.m4 +++ b/autoconf/pecl/libcurl.m4 @@ -181,8 +181,8 @@ AC_DEFUN([PECL_CHECK_LIBCURL], [dnl PECL_CHECK_CONFIG(libcurl, $CURL_CONFIG, [--version | $SED -e 's/@<:@^0-9\.@:>@//g'], [--cflags], - [--libs | $EGREP -o -- '-L@<:@^ @:>@* ?'], - [--libs | $EGREP -o -- '-l@<:@^ @:>@* ?']dnl + [--libs | $EGREP -o -- '(^|\s)-L@<:@^ @:>@* ?'], + [--libs | $EGREP -o -- '(^|\s)-l@<:@^ @:>@* ?']dnl ) ifelse([$2],,,[ PECL_HAVE_VERSION([libcurl], [$2])