comparison configure.in @ 2020:477a93f3ce22

-Wno-unused-parameter for all gcc versions, not just 3.x http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-May/008315.html
author corvid <corvid@lavabit.com>
date Mon, 16 May 2011 01:06:02 +0000
parents 4f266c0c954b
children
comparison
equal deleted inserted replaced
2019:4f266c0c954b 2020:477a93f3ce22
440 CFLAGS="$CFLAGS -Wall" 440 CFLAGS="$CFLAGS -Wall"
441 fi 441 fi
442 if test "`echo $CFLAGS | grep -e '-W ' -e '-W$' 2> /dev/null`" = ""; then 442 if test "`echo $CFLAGS | grep -e '-W ' -e '-W$' 2> /dev/null`" = ""; then
443 CFLAGS="$CFLAGS -W" 443 CFLAGS="$CFLAGS -W"
444 fi 444 fi
445 if test "`echo $CFLAGS | grep '\-W[^a]' 2> /dev/null`" = ""; then 445 if test "`echo $CFLAGS | grep '\-Wno-unused-parameter' 2> /dev/null`" = ""; then
446 if test "`$CC -v 2>&1 | grep 'version 3'`" != ""; then 446 CFLAGS="$CFLAGS -Wno-unused-parameter"
447 CFLAGS="$CFLAGS -W -Wno-unused-parameter"
448 fi
449 fi 447 fi
450 if test "`echo $CFLAGS | grep '\-Waggregate-return' 2> /dev/null`" = ""; then 448 if test "`echo $CFLAGS | grep '\-Waggregate-return' 2> /dev/null`" = ""; then
451 CFLAGS="$CFLAGS -Waggregate-return" 449 CFLAGS="$CFLAGS -Waggregate-return"
452 fi 450 fi
453 fi 451 fi