aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2008-12-09 19:36:27 +0000
committerWojciech Polak <polak@gnu.org>2008-12-09 19:36:27 +0000
commita4b325f89b00386a1b0f809c6b793cb9f2b368c8 (patch)
treede9c1e002844e7047d0aa3f39d00aeeeac5a68f4 /configure.ac
parent939bbe50276e6c71c308138ba2d29dfc4031f670 (diff)
downloadanubis-a4b325f89b00386a1b0f809c6b793cb9f2b368c8.tar.gz
anubis-a4b325f89b00386a1b0f809c6b793cb9f2b368c8.tar.bz2
* configure.ac: Use default CFLAGS.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 2 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index 28c4e67..39cb444 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl
dnl configure.ac
dnl
dnl This file is part of GNU Anubis.
-dnl Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The Anubis Team.
+dnl Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008 The Anubis Team.
dnl
dnl GNU Anubis is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by the
@@ -27,10 +27,6 @@ AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE
AC_GNU_SOURCE
-if test "$CFLAGS"; then
- CFLAGS_CUSTOM=yes
-fi
-
dnl Checks for programs.
AC_PROG_CC
gl_EARLY
@@ -185,16 +181,8 @@ AC_ARG_ENABLE(gcc-debug,
[enable_gcc_debug=yes],
[enable_gcc_debug=no])
if test "$enable_gcc_debug" = "yes" && (test "$GCC" = "yes"); then
- if test -z "$CFLAGS_CUSTOM"; then
- CFLAGS="-Wall -ggdb"
- else
- CFLAGS="$CFLAGS -ggdb"
- fi
+ CFLAGS="$CFLAGS -ggdb"
AC_MSG_RESULT([Enabling GCC DEBUG support...])
-else
- if test -z "$CFLAGS_CUSTOM" && (test "$GCC" = "yes"); then
- CFLAGS="-Wall -O2"
- fi
fi
WITH_SQL=no
@@ -440,5 +428,3 @@ AC_CONFIG_FILES([Makefile
])
AC_OUTPUT
-
-

Return to:

Send suggestions and report system problems to the System administrator.