From: Adam Dickmeiss Date: Wed, 22 Nov 2006 09:41:47 +0000 (+0000) Subject: For build script: -p enables profiling, -o enables optimization. Added X-Git-Tag: ZEBRA.1.3.48~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=2c4b9d612f504f268ac986c107ab463f57ab6618;p=idzebra-moved-to-github.git For build script: -p enables profiling, -o enables optimization. Added extra warning options. --- diff --git a/buildconf.sh b/buildconf.sh index dbf382a..02d38a6 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.10.2.1 2005-03-11 21:07:53 adam Exp $ +# $Id: buildconf.sh,v 1.10.2.2 2006-11-22 09:41:47 adam Exp $ set -x dir=`aclocal --print-ac-dir` aclocal -I . @@ -18,7 +18,19 @@ sh_flags="" conf_flags="" case $1 in -d) - sh_flags="-g -Wall" + sh_flags="-g -Wall -Wdeclaration-after-statement" + enable_configure=true + enable_help=false + shift + ;; + -o) + sh_flags="-g -Wall -O2 -Wdeclaration-after-statement" + enable_configure=true + enable_help=false + shift + ;; + -p) + sh_flags="-g -pg -Wall -Wdeclaration-after-statement" enable_configure=true enable_help=false shift