[network-manager-openvpn/th/ovpn-import-bgo761285] fixup! build: add --with-more-asserts configure option for nm_assert() macro
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn/th/ovpn-import-bgo761285] fixup! build: add --with-more-asserts configure option for nm_assert() macro
- Date: Fri, 5 Feb 2016 20:50:14 +0000 (UTC)
commit f9a34d9cb9e189ec631be02ff65c549843715525
Author: Dan Williams <dcbw redhat com>
Date: Fri Feb 5 14:27:16 2016 -0600
fixup! build: add --with-more-asserts configure option for nm_assert() macro
configure.ac | 2 +-
shared/nm-macros-internal.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 86e0f94..650e186 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,7 +119,7 @@ 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
else
diff --git a/shared/nm-macros-internal.h b/shared/nm-macros-internal.h
index c178758..27e9ad2 100644
--- a/shared/nm-macros-internal.h
+++ b/shared/nm-macros-internal.h
@@ -22,6 +22,7 @@
#ifndef __NM_MACROS_INTERNAL_H__
#define __NM_MACROS_INTERNAL_H__
+#include "config.h"
#include "nm-default.h"
/********************************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]