summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-09 12:27:56 +0100
committerThomas Haller <thaller@redhat.com>2016-03-11 09:28:12 +0100
commita8bc65b1a19221677a8771aa9c4903407560a576 (patch)
tree23b2e76d5f49a0e9665ee598f8b1b90f3d31ef1c /configure.ac
parent18133ea1428648781dba74c26dd5d118e8d5ce33 (diff)
downloadNetworkManager-a8bc65b1a19221677a8771aa9c4903407560a576.tar.gz
systemd: integrate sd-event into glib main loop
We should not try to reimplement sd-event based on glib, instead we should hook sd-event into the glib mainloop.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f945c6fad6..780f007af0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,9 @@ AC_SUBST(nmdatadir, '${datadir}'/$PACKAGE, [NetworkManager shared data directory
AC_SUBST(nmstatedir, '${localstatedir}'/lib/$PACKAGE, [NetworkManager persistent state directory])
AC_SUBST(nmrundir, '${runstatedir}'/$PACKAGE, [NetworkManager runtime state directory])
+AC_GNU_SOURCE
+AC_CHECK_FUNCS([__secure_getenv secure_getenv])
+
# Alternative configuration plugins
AC_ARG_ENABLE(config-plugin-ibft, AS_HELP_STRING([--enable-config-plugin-ibft], [enable ibft configuration plugin]))
AC_ARG_ENABLE(ifcfg-rh, AS_HELP_STRING([--enable-ifcfg-rh], [enable ifcfg-rh configuration plugin (Fedora/RHEL)]))