[gnome-builder] library-template: move debugging flags before
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] library-template: move debugging flags before
- Date: Fri, 12 Feb 2016 14:47:55 +0000 (UTC)
commit 3a81d56c7eef2c96b3702629d096c0ebe8b520c9
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date: Fri Feb 12 15:32:11 2016 +0100
library-template: move debugging flags before
warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>
.../library_template/shared-library/configure.ac | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/plugins/library-template/library_template/shared-library/configure.ac
b/plugins/library-template/library_template/shared-library/configure.ac
index d19d765..5599e84 100644
--- a/plugins/library-template/library_template/shared-library/configure.ac
+++ b/plugins/library-template/library_template/shared-library/configure.ac
@@ -42,6 +42,12 @@ AM_INIT_AUTOMAKE([1.11 foreign subdir-objects tar-ustar no-dist-gzip dist-xz -Wn
AM_MAINTAINER_MODE([enable])
AX_GENERATE_CHANGELOG
+dnl ***********************************************************************
+dnl Add extra debugging with --enable-debug and --enable-compile-warnings
+dnl ***********************************************************************
+AX_CHECK_ENABLE_DEBUG([no],[]
+ [G_DISABLE_ASSERT G_DISABLE_CHECKS G_DISABLE_CAST_CHECKS])
+AX_COMPILER_FLAGS
{{if enable_i18n}}
dnl ***********************************************************************
@@ -81,14 +87,6 @@ PKG_CHECK_MODULES({{NAME}}, [{{packages}}])
dnl ***********************************************************************
-dnl Add extra debugging with --enable-debug
-dnl ***********************************************************************
-AX_CHECK_ENABLE_DEBUG([no],[]
- [G_DISABLE_ASSERT G_DISABLE_CHECKS G_DISABLE_CAST_CHECKS])
-AX_COMPILER_FLAGS
-
-
-dnl ***********************************************************************
dnl Initialize Libtool
dnl ***********************************************************************
LT_PREREQ([2.2])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]