diff options
author | Lukas Larsson <[email protected]> | 2014-11-25 11:55:04 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-11-25 11:55:04 +0100 |
commit | c18819e771228cb76c07ae88467d56e09e446165 (patch) | |
tree | 9f3f66107da5fdbebfd17d5b9e1dca20be266936 /erts/configure.in | |
parent | b0a48f37a5c04d158369cc69d5a8afafd67663cd (diff) | |
parent | c181536aabe2140d3547ba34c6b7ef2ae0109c65 (diff) | |
download | otp-c18819e771228cb76c07ae88467d56e09e446165.tar.gz otp-c18819e771228cb76c07ae88467d56e09e446165.tar.bz2 otp-c18819e771228cb76c07ae88467d56e09e446165.zip |
Merge branch 'maint'
* maint:
epmd: Unify systemd autoconf macros usage
epmd: Added systemd notify support to EPMD
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in index 9864d03cde..a594d59355 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1691,10 +1691,13 @@ systemd_daemon_save_LIBS=$LIBS LIBS= AC_SEARCH_LIBS(sd_listen_fds,[systemd systemd-daemon], [have_sd_listen_fds=yes],[have_sd_listen_fds=no],$systemd_daemon_save_LIBS) +AC_SEARCH_LIBS(sd_notify,[systemd systemd-daemon], + [have_sd_notify=yes],[have_sd_notify=no],$systemd_daemon_save_LIBS) AC_CHECK_HEADERS(systemd/sd-daemon.h, [have_systemd_sd_daemon_h=yes],[have_systemd_sd_daemon_h=no]) if test x"$have_sd_listen_fds" = x"yes" && \ + test x"$have_sd_notify" = x"yes" && \ test x"$have_systemd_sd_daemon_h" = x"yes"; then AC_DEFINE([HAVE_SYSTEMD_DAEMON],[1],[Define if you have systemd daemon]) SYSTEMD_DAEMON_LIBS=$LIBS |