From: Roy Marples Date: Wed, 5 Aug 2009 20:36:31 +0000 (+0000) Subject: Move icc to the back of the queue X-Git-Tag: v5.1.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6abf5508d96b73d3988e84b260513252b21998;p=thirdparty%2Fdhcpcd.git Move icc to the back of the queue --- diff --git a/configure b/configure index 0a04a410..4973a93a 100755 --- a/configure +++ b/configure @@ -95,7 +95,7 @@ echo "MANDIR= $MANDIR" >>$CONFIG_MK 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 @@ fi 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 <>$CONFIG_MK CFLAGS+= -Wall -Wextra -Wimplicit -Wshadow -Wformat=2