summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2014-07-19 18:42:40 +0200
committerRemi Collet <remi@php.net>2014-07-19 18:42:40 +0200
commit144a08395408506fa700c71e74c360160da3bd99 (patch)
tree107e437381a5e6bbc8f45f47cf4383a0dd0a47f2 /sapi
parent7b6031567251ad47132de23f47eb57951fd9b563 (diff)
downloadphp-git-144a08395408506fa700c71e74c360160da3bd99.tar.gz
improve previous, add message during configure
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4
index e1c740d574..96b0edf7fa 100644
--- a/sapi/fpm/config.m4
+++ b/sapi/fpm/config.m4
@@ -573,9 +573,12 @@ if test "$PHP_FPM" != "no"; then
unset SYSTEMD_LIBS
unset SYSTEMD_INCS
if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libsystemd; then
+ AC_MSG_CHECKING([for libsystemd])
SYSTEMD_LIBS=`$PKG_CONFIG --libs libsystemd`
SYSTEMD_INCS=`$PKG_CONFIG --cflags-only-I libsystemd`
+ SYSTEMD_VERS=`$PKG_CONFIG --modversion libsystemd`
HAVE_SD_DAEMON_H="yes"
+ AC_MSG_RESULT([version $SYSTEMD_VERS])
else
AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS="-lsystemd-daemon")
AC_CHECK_HEADERS(systemd/sd-daemon.h, [HAVE_SD_DAEMON_H="yes"], [HAVE_SD_DAEMON_H="no"])