Monotone-Parent: 1e1b1ea27969183ec35f1d755b26adeadb3874c0

Monotone-Revision: 49d13155252e0bcb3dd407abdee0b088d80dc0cd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-23T17:21:02
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-09-23 17:21:02 +00:00
parent d5957ac5c5
commit 8d0895a8ac
2 changed files with 17 additions and 0 deletions

12
configure vendored
View File

@ -9,6 +9,11 @@
# ******************** variables ****************
TOPDIR="$(cd `dirname $0`; pwd)"
# we ensure that the configure script is run from TOPDIR
cd $TOPDIR
CFG_ARGS="$0 $1 $2 $3 $4 $5 $6 $7 $8 $9"
ARG_BEQUIET=0
@ -211,12 +216,16 @@ genConfigMake() {
fi
echo "# GNUstep environment configuration" > $ARG_CFGMAKE
cfgwrite "# created by: '$CFG_ARGS'"
cfgwrite ""
cfgwrite "# Note: you can override any option as a 'make' parameter, eg:"
cfgwrite "# $MAKE debug=yes"
cfgwrite ""
cfgwrite "TOPDIR:=$TOPDIR"
cfgwrite ""
#cfgwrite "# print on the cmdline that this file is being used"
#cfgwrite "all :: "
@ -227,6 +236,7 @@ genConfigMake() {
cfgwrite "SOGO_MINOR_VERSION=9"
cfgwrite "SOPE_MAJOR_VERSION=4"
cfgwrite "SOPE_MINOR_VERSION=9"
cfgwrite ""
if test $ARG_WITH_DEBUG = 1; then
cfgwrite "# configured to produce debugging code";
@ -290,6 +300,8 @@ genConfigMake() {
cfgwrite "ADDITIONAL_CPPFLAGS += -DLDAP_CONFIG=1"
cfgwrite "ldap_config:=yes"
fi
cfgwrite "include \$(TOPDIR)/general.make"
}
checkLinking() {

5
general.make 100644
View File

@ -0,0 +1,5 @@
ifeq ($(debug),yes)
ADDITIONAL_OBJCFLAGS=-O1
else
ADDITIONAL_OBJCFLAGS=-Wuninitialized
endif