From efe36b16524f809dfbf9928a4625907765b40ccb Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Tue, 19 Jun 2012 15:52:59 +0100 Subject: [PATCH] Remove accidentally second implementation of --enable-debug Something must have gone wrong while rebasing a feature branch against master. --- configure.ac | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/configure.ac b/configure.ac index b2c1e8b..01f64e5 100644 --- a/configure.ac +++ b/configure.ac @@ -132,34 +132,6 @@ AC_DEFINE_UNQUOTED([PRIORITISED_LUC_TYPES], ["$with_prioritised_luc_types"], [Prioritised LUC types]) -dnl *********************************** -dnl *** Check for debugging support *** -dnl *********************************** -AC_ARG_ENABLE([debug], - AC_HELP_STRING([--enable-debug@:@=no|yes@:>@], - [Build with debugging support @<:@default=m4_default([$1], [no])@:>@]), - [enable_debug=$enableval], [enable_debug=m4_default([$1], [no])]) -AC_MSG_CHECKING([whether to build with debugging support]) -if test x"$enable_debug" = x"yes"; then - AC_DEFINE([DEBUG], [1], [Define for debugging support]) - - CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" - CFLAGS="$CFLAGS -Werror -Wall -Wextra \ - -Wno-missing-field-initializers \ - -Wno-unused-parameter -Wold-style-definition \ - -Wdeclaration-after-statement \ - -Wmissing-declarations \ - -Wmissing-noreturn -Wshadow -Wpointer-arith \ - -Wcast-align -Wformat-security \ - -Winit-self -Wmissing-include-dirs -Wundef \ - -Wmissing-format-attribute -Wnested-externs \ - -fstack-protector" - - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - AC_OUTPUT([ Makefile boot-manager/Makefile -- 2.7.4