summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-09-09 20:19:27 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-09 20:20:38 +0200
commitc8143eccc2841781af2f09f31222fcc634114bd5 (patch)
tree30b03cad81e68c7604afa2110411381580f32724 /configure.ac
parentba3da6d72564bb2c60f4f4a8d641b8a7b86d1f59 (diff)
Revert "Install systemd services with autotools"
This reverts commit ba3da6d72564bb2c60f4f4a8d641b8a7b86d1f59. That commit broke master-{osmo-iuh,osmo-msc,osmo-sgsn,openbsc,osmo-bsc} build jobs with make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/lib/systemd/system' /usr/bin/install -c -m 644 osmo-stp.service '/lib/systemd/system' /usr/bin/install: cannot create regular file '/lib/systemd/system/osmo-stp.service': Permission denied make[4]: *** [install-systemdsystemunitDATA] Error 1 Change-Id: I009825d293e7e7a6c48d10452c10b3bb6da3e684
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 0 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index af64bc0..c0cc488 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,21 +98,6 @@ AC_ARG_ENABLE(doxygen,
AC_PATH_PROG(DOXYGEN,doxygen,false)
AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false && test "x$doxygen" = "xyes")
-# https://www.freedesktop.org/software/systemd/man/daemon.html
-AC_ARG_WITH([systemdsystemunitdir],
- [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,
- [with_systemdsystemunitdir=auto])
-AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"], [
- def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
- AS_IF([test "x$def_systemdsystemunitdir" = "x"],
- [AS_IF([test "x$with_systemdsystemunitdir" = "xyes"],
- [AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
- with_systemdsystemunitdir=no],
- [with_systemdsystemunitdir="$def_systemdsystemunitdir"])])
-AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
- [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
-AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"])
-
AC_MSG_RESULT([CFLAGS="$CFLAGS"])
AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
@@ -137,7 +122,5 @@ AC_OUTPUT(
stp/Makefile
doc/Makefile
doc/examples/Makefile
- contrib/Makefile
- contrib/systemd/Makefile
Doxyfile
Makefile)