projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
bf555b3
)
fix curl-config --libs treatment
author
Michael Wallner
<mike@php.net>
Mon, 3 Oct 2016 10:42:09 +0000
(12:42 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 4 Oct 2016 08:25:11 +0000
(10:25 +0200)
autoconf/pecl/libcurl.m4
patch
|
blob
|
history
diff --git
a/autoconf/pecl/libcurl.m4
b/autoconf/pecl/libcurl.m4
index 1c09d375555e667561a10ac802018e71ca94482f..f9eee6e836c47f7a1323dbc66966fa6de9a5e7bd 100644
(file)
--- 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])