changeset 1384:6d86581b32c0 draft

Move icc to the back of the queue
author Roy Marples <roy@marples.name>
date Wed, 05 Aug 2009 20:36:31 +0000
parents 79eb766f0d04
children 3a18dca86440
files configure
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jul 29 08:59:36 2009 +0000
+++ b/configure	Wed Aug 05 20:36:31 2009 +0000
@@ -95,7 +95,7 @@
 if [ -z "$CC" ]; then
 	printf "Looking for compiler ... "
 	for b in $TARGET- ""; do
-		for cc in icc gcc pcc cc; do
+		for cc in gcc pcc icc cc; do
 			if type $b$cc >/dev/null 2>&1; then
 				CC=$b$cc
 				echo "$CC"
@@ -124,11 +124,13 @@
 if [ "$DEBUG" != no -a "$DEBUG" != false ]; then
 	echo "Enabling memory debugging"
 	echo "CPPFLAGS+=	-DDEBUG_MEMORY" >>$CONFIG_MK
-elif [ -d .git ]; then
+elif [ -z "$DEBUG" -a -d .git ]; then
 	printf "Found git ... "
 	DEBUG=yes
+else
+	DEBUG=no
 fi
-if [ "$DEBUG" != no -a "$DEBUG" != false ] || [ -e .git ]; then
+if [ "$DEBUG" != no -a "$DEBUG" != false ]; then
 	echo "Adding debugging CFLAGS"
 	cat <<EOF >>$CONFIG_MK
 CFLAGS+=	-Wall -Wextra -Wimplicit -Wshadow -Wformat=2