[network-manager-openvpn] build: remove configure switch --with-more-asserts
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] build: remove configure switch --with-more-asserts
- Date: Tue, 17 May 2016 17:02:54 +0000 (UTC)
commit 2103287fdce112c1458d8b336458150e5edf4cd0
Author: Thomas Haller <thaller redhat com>
Date: Tue May 17 18:53:20 2016 +0200
build: remove configure switch --with-more-asserts
"nm-macros-internal.h" now allows for a missing NM_MORE_ASSERTS define,
so we don't need the configure option anymore.
It still can be defined via "CFLAGS=-DNM_MORE_ASSERTS=100".
configure.ac | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d3ab7cc..aba4ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,17 +132,6 @@ if ! test x"$ac_distver" = x""; then
AC_DEFINE_UNQUOTED(DIST_VERSION, "$ac_distver", [Define the distribution version string])
fi
-AC_ARG_WITH(more-asserts,
- AS_HELP_STRING([--with-more-asserts=level], [Enable more assertions for debugging (default: 0)]),
- [more_asserts=${with_more_asserts}],
- [more_asserts=no])
-if test "${more_asserts}" = "no"; then
- more_asserts=0
-elif test "${more_asserts}" = "yes" -o "#${more_asserts}#" != "$(printf '%s' "${more_asserts}" | sed -n
'1s/^[0-9]\+$/#\0#/p')"; then
- more_asserts=100
-fi
-AC_DEFINE_UNQUOTED(NM_MORE_ASSERTS, $more_asserts, [Define if more asserts are enabled])
-
AC_CONFIG_FILES([
Makefile
src/Makefile
@@ -161,4 +150,3 @@ echo " --with-gnome=$with_gnome"
echo " --with-libnm-glib=$with_libnm_glib"
echo " --enable-absolute-paths=$enable_absolute_paths"
echo " --enable-more-warnings=$set_more_warnings"
-echo " --with-more-asserts=$more_asserts"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]