[gnome-utils] [build] Export the MAINTAINER_CFLAGS variable



commit 123b4cd3998855af994088fea077b459744d3fdc
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Apr 18 12:15:40 2009 +0100

    [build] Export the MAINTAINER_CFLAGS variable
    
    Sub-modules that wish to enable the anal retentive compiler flags
    should add $(MAINTAINER_CFLAGS) in their CFLAGS directives.
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0aa633c..787a3ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -315,6 +315,7 @@ AC_ARG_ENABLE([maintainer-flags],
 AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
       [
         MAINTAINER_CFLAGS="-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wformat-security -Winit-self"
+        AC_SUBST(MAINTAINER_CFLAGS)
       ]
 )
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]