summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-02-19 19:50:18 +0100
committerThomas Haller <thaller@redhat.com>2018-03-19 14:46:55 +0100
commitc1054ec8ffdfeee74fca6155ef2fcd39ac7283a6 (patch)
treed797ab0ccc59cf6e66213a51b0d6d28a531256b9 /configure.ac
parent2012b49219a1df79ffb37a262cb326fbc723aba5 (diff)
downloadNetworkManager-c1054ec8ffdfeee74fca6155ef2fcd39ac7283a6.tar.gz
connectivity: always build nm-connectivity.c source
We already do conditional build with "#if WITH_CONCHECK". Get rid of the conditional in the makefile and instead do conditional compilating inside the source file "nm-connectivity.c". The advantage is, now if you want to know which parts are build, you only need to grep for the WITH_CONCHECK preprocessor define instead of also caring about the conditional in Makefile.am and meson.build. It doesn't change the fact of conditional compilation. But it consistently uses one mechanism to achieve it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 41389c25f8..7b7bed6b5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1054,7 +1054,6 @@ else
enable_concheck=no
AC_DEFINE(WITH_CONCHECK, 0, [Define if you want connectivity checking support])
fi
-AM_CONDITIONAL(WITH_CONCHECK, test "${enable_concheck}" = "yes")
PKG_CHECK_MODULES(LIBNDP, [libndp])