File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
php :
3
+ - 7.0
3
4
- 5.6
4
5
- 5.5
5
6
- 5.4
6
- - 7.0
7
7
8
8
env :
9
9
- LIBZMQ_VERSION=2.2.0
Original file line number Diff line number Diff line change @@ -53,12 +53,15 @@ if test "$PHP_ZMQ" != "no"; then
53
53
CFLAGS="$CFLAGS $PHP_ZMQ_CFLAGS"
54
54
LDFLAGS="$LDFLAGS $PHP_ZMQ_LIBS"
55
55
56
- AC_CHECK_LIB (
57
- [ zmq] , [ zmq_socket_monitor] ,
58
- [ AC_DEFINE (
59
- [ PHP_ZMQ_HAVE_SOCKET_MONITOR] , [ 1] , [ Whether zmq_socket_monitor function is available]
60
- ) ]
61
- )
56
+ $PKG_CONFIG libzmq --atleast-version 4.0.0
57
+ if test $? = 0; then
58
+ AC_CHECK_LIB (
59
+ [ zmq] , [ zmq_socket_monitor] ,
60
+ [ AC_DEFINE (
61
+ [ PHP_ZMQ_HAVE_SOCKET_MONITOR] , [ 1] , [ Whether zmq_socket_monitor function is available]
62
+ ) ]
63
+ )
64
+ fi
62
65
63
66
AC_CHECK_LIB (
64
67
[ zmq] , [ zmq_proxy_steerable] ,
You can’t perform that action at this time.
0 commit comments