Fix ./configure --debug=yes

This commit is contained in:
Roy Marples 2015-03-18 18:31:07 +00:00
parent 1b219a664e
commit 250966db52

4
configure vendored
View File

@ -320,10 +320,8 @@ done
if [ -z "$DEBUG" -a -f .fslckout ]; then
printf "Found fossil checkout ... "
DEBUG=yes
else
DEBUG=no
fi
if [ "$DEBUG" != no -a "$DEBUG" != false ]; then
if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then
echo "Adding debugging CFLAGS"
cat <<EOF >>$CONFIG_MK
CFLAGS+= -g -Wall -Wextra