Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regression when no systemd is present on linux
on Scientific Linux release 6.10 (Carbon), a RHEL clone maintained at CERN I have noticed that configure fails with the following error: checking for LIBSYSTEMD... ./configure: line 4877: syntax error near unexpected token `else' ./configure: line 4877: `else' if libsystemd is not found. The empty square bracket in configure.ac: PKG_CHECK_MODULES(LIBSYSTEMD, [libsystemd], [AC_DEFINE(HAVE_SYSTEMD)], [ ]) suppresses a human readable configure error but produces invalid shell code. Printing out a message that we haven't found libsystemd solves the problem.
- Loading branch information