aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-05-09 18:04:24 +0200
committerLukas Larsson <[email protected]>2014-05-09 18:04:24 +0200
commit3b85eee9540b49936d203978369c2a5d7bdd24c4 (patch)
treee4e6634677d05a1e260769a13d1cff6961f3c294 /erts/epmd/src
parent1c817ecd054780551bcbe8b5a0e30bea2b3da04e (diff)
parent12cd5e5b394623fab9907622ad99163c5b9350e1 (diff)
downloadotp-3b85eee9540b49936d203978369c2a5d7bdd24c4.tar.gz
otp-3b85eee9540b49936d203978369c2a5d7bdd24c4.tar.bz2
otp-3b85eee9540b49936d203978369c2a5d7bdd24c4.zip
Merge branch 'lukas/erts/autoconf-fixes/OTP-11921' into maint
* lukas/erts/autoconf-fixes/OTP-11921: erts: Fix various autoconf issues
Diffstat (limited to 'erts/epmd/src')
-rw-r--r--erts/epmd/src/Makefile.in2
-rw-r--r--erts/epmd/src/epmd_srv.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/erts/epmd/src/Makefile.in b/erts/epmd/src/Makefile.in
index 8dc8dae5f6..0c7787a3b1 100644
--- a/erts/epmd/src/Makefile.in
+++ b/erts/epmd/src/Makefile.in
@@ -84,7 +84,7 @@ LD = @LD@
ifeq ($(findstring ose,$(TARGET)),ose)
LIBS = $(ERTS_INTERNAL_LIBS) @LIBS@
else
-LIBS = @LIBS@ $(ERTS_INTERNAL_LIBS)
+LIBS = @LIBS@ @SYSTEMD_DAEMON_LIBS@ $(ERTS_INTERNAL_LIBS)
endif
LDFLAGS = @LDFLAGS@
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
index 93982c2f60..48fd7a5f9c 100644
--- a/erts/epmd/src/epmd_srv.c
+++ b/erts/epmd/src/epmd_srv.c
@@ -213,7 +213,7 @@ void run(EpmdVars *g)
node_init(g);
g->conn = conn_init(g);
-#ifdef HAVE_SYSTEMD_SD_DAEMON_H
+#ifdef HAVE_SYSTEMD_DAEMON
if (g->is_systemd)
{
int n;
@@ -310,7 +310,7 @@ void run(EpmdVars *g)
SET_ADDR(iserv_addr[0],EPMD_ADDR_ANY,sport);
num_sockets = 1;
}
-#ifdef HAVE_SYSTEMD_SD_DAEMON_H
+#ifdef HAVE_SYSTEMD_DAEMON
}
#endif