[Initng-svn] r3649 - initng/trunk
svn at initng.thinktux.net
svn at initng.thinktux.net
Mon Apr 3 14:28:59 CEST 2006
Author: deac
Date: Mon Apr 3 14:28:58 2006
New Revision: 3649
Modified:
initng/trunk/configure.ac
Log:
debug stipped (use your own CFLAGS, if you want to debug)
Modified: initng/trunk/configure.ac
==============================================================================
--- initng/trunk/configure.ac (original)
+++ initng/trunk/configure.ac Mon Apr 3 14:28:58 2006
@@ -7,38 +7,6 @@
AC_CONFIG_HEADERS([config.h])
-DEBUG_CFLAGS="-O -g3 -ggdb"
-RELEASE_CFLAGS="-O2"
-ALL_CFLAGS="\
--Wall \
--Wmissing-prototypes \
--Wmissing-declarations \
--Wstrict-prototypes \
--Wimplicit -Wredundant-decls \
--Wnested-externs \
--Wwrite-strings \
--Wsign-compare \
--Winline -Wswitch \
--Wreturn-type \
--Wparentheses \
--Wmissing-braces \
--Wformat \
--Wformat-nonliteral \
--Wformat-security \
--Wsequence-point \
--Wundef \
--Wunused \
--Wcomment \
--Werror"
-#note: flags are hacked to get initial selinux support
-
-# All set by -Wunused
-#-Wunused-function \
-#-Wunused-label \
-#-Wunused-variable \
-#-Wunused-value \
-#-Wunused-parameter \
-
AC_LANG([C])
AC_PROG_CC
AC_PROG_MAKE_SET
@@ -141,26 +109,11 @@
[selinux_support=$enableval],
[selinux_support=no])
-AC_ARG_ENABLE(debug,
- AS_HELP_STRING(--disable-debug,debug mode @<:@default=no@:>@),
- [with_debug=$enableval],
- [with_debug=yes])
-
AC_ARG_ENABLE(count-me,
AS_HELP_STRING(--enable-count-me, report to user counter @<:@default=no@:>@),
[count_me=$enableval],
[count_me=no])
-
-if test x$with_debug = xyes; then
- AC_DEFINE(DEBUG, [], [Debug])
- DEFAULT_CFLAGS=$DEBUG_CFLAGS
-else
- DEFAULT_CFLAGS=$RELEASE_CFLAGS
-fi
-#if test x"$use_initng_CFLAGS" = xyes; then
- CFLAGS="$DEFAULT_CFLAGS $ALL_CFLAGS $CFLAGS"
-#fi
if which svn > /dev/null; then
if test -d .svn; then
LC_ALL=C svn info | while read what val; do
@@ -445,7 +398,6 @@
echo
echo Install as init........................ : $install_init
echo Selinux support........................ : $selinux_support
-echo Debug.................................. : $with_debug
echo Docdir................................. : $docdir
echo Build also plugin...................... : $with_also
echo Build bash_launcher plugin............. : $with_bash_launcher
More information about the Initng-svn
mailing list