prefer overridability and let people choose their own CFLAGS

This commit is contained in:
Frederic Culot 2008-12-08 20:49:48 +00:00
parent fe7e7186c4
commit dd9f739d8a
7 changed files with 4093 additions and 2939 deletions

View File

@ -1,4 +1,4 @@
# $calcurse: configure.ac,v 1.25 2008/12/08 20:32:30 culot Exp $ # $calcurse: configure.ac,v 1.26 2008/12/08 20:49:48 culot Exp $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Init # Init
@ -56,20 +56,7 @@ AC_CHECK_HEADERS([math.h], [
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Compilation options # Compilation options
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
AC_ARG_ENABLE(debug, CFLAGS="$CFLAGS -Wall"
AS_HELP_STRING([--enable-debug], [set CFLAGS for debug]),
debug=$enableval)
if test "$debug" != "yes"; then
debug=no
AC_DEFINE(DBG_DISABLED, 1, [Define to 1 if you do not want debug.])
CFLAGS="$CFLAGS -O2 -Wall"
else
AC_DEFINE(DBG_ENABLED, 1, [Define to 1 if you want debug.])
CFLAGS="$CFLAGS -g -ggdb -Wall"
fi
AC_MSG_CHECKING([if debug should be used])
AC_MSG_RESULT($debug)
AM_CONDITIONAL(DBG_ENABLED, test x$debug = xyes)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Create Makefiles # Create Makefiles
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

File diff suppressed because it is too large Load Diff

1179
po/de.po

File diff suppressed because it is too large Load Diff

1155
po/en.po

File diff suppressed because it is too large Load Diff

1181
po/es.po

File diff suppressed because it is too large Load Diff

1183
po/fr.po

File diff suppressed because it is too large Load Diff

1182
po/nl.po

File diff suppressed because it is too large Load Diff