X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=autoconf%2Fpecl%2Flibcurl.m4;h=4aa52f68ba287fdca9727951034c7f4932737961;hp=d9250b11b731e3ebce09dd8fa7b307bcc022127c;hb=64465a7aaeec89ef78a73ccd886e968e06fac5c6;hpb=592c25cc9ea0b72843c2c2de84bd144e00a3231c diff --git a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4 index d9250b1..4aa52f6 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])