forked from npmccallum/tang-docker-container
-
Notifications
You must be signed in to change notification settings - Fork 1
/
remove-systemd.patch
60 lines (58 loc) · 1.97 KB
/
remove-systemd.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
--- configure.ac.orig
+++ configure.ac
@@ -27,32 +27,32 @@
[AC_MSG_ERROR([http-parser required!])])
PKG_CHECK_MODULES([jose], [jose >= 8])
-PKG_CHECK_MODULES([systemd], [systemd])
-
-AC_ARG_WITH([systemdsystemunitdir],
- [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],
- [],
- [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
-
+#PKG_CHECK_MODULES([systemd], [systemd])
+#
+#AC_ARG_WITH([systemdsystemunitdir],
+# [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],
+# [],
+# [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
+#
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
-
-for ac_prog in systemd-socket-activate systemd-activate; do
- AC_CHECK_PROG([SD_ACTIVATE], [$ac_prog], [$as_dir/$ac_prog], [],
- [$PATH$PATH_SEPARATOR$($PKG_CONFIG --variable=systemdutildir systemd)])
- test -n "$SD_ACTIVATE" && break
-done
-
-test -n "$SD_ACTIVATE" || AC_MSG_ERROR([systemd-socket-activate required!])
-
-AC_MSG_CHECKING([systemd-socket-activate inetd flag])
-if $SD_ACTIVATE --help | grep -q inetd; then
- SD_ACTIVATE="$SD_ACTIVATE --inetd"
- AC_MSG_RESULT([--inetd])
-else
- AC_MSG_RESULT([(default)])
-fi
-
-AC_SUBST(SD_ACTIVATE)
+#
+#for ac_prog in systemd-socket-activate systemd-activate; do
+# AC_CHECK_PROG([SD_ACTIVATE], [$ac_prog], [$as_dir/$ac_prog], [],
+# [$PATH$PATH_SEPARATOR$($PKG_CONFIG --variable=systemdutildir systemd)])
+# test -n "$SD_ACTIVATE" && break
+#done
+#
+#test -n "$SD_ACTIVATE" || AC_MSG_ERROR([systemd-socket-activate required!])
+#
+#AC_MSG_CHECKING([systemd-socket-activate inetd flag])
+#if $SD_ACTIVATE --help | grep -q inetd; then
+# SD_ACTIVATE="$SD_ACTIVATE --inetd"
+# AC_MSG_RESULT([--inetd])
+#else
+# AC_MSG_RESULT([(default)])
+#fi
+#
+#AC_SUBST(SD_ACTIVATE)
TANG_CFLAGS="\
-Wall \