1 qemu-xen-traditional/configure: define _GNU_SOURCE for NPTL defs
2 qemu-xen/configure: use -O2 for tests to eliminate fortify warnings (-Werror is in effect sometimes)
3 --- xen-4.2.0/tools/qemu-xen-traditional/configure.orig 2012-09-06 18:05:30.000000000 +0200
4 +++ xen-4.2.0/tools/qemu-xen-traditional/configure 2012-10-27 08:16:21.702515768 +0200
10 -if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null ; then
11 +if $cc $ARCH_CFLAGS -D_GNU_SOURCE -c -o $TMPO $TMPC > /dev/null 2> /dev/null ; then
20 # static link with sdl ?
21 - if test "$sdl" = "yes" ; then
22 + if test "$static" = "yes" -a "$sdl" = "yes" ; then
24 `$sdl_config --static-libs 2>/dev/null | grep \\\-laa > /dev/null` && aa="yes"
25 sdl_static_libs=`$sdl_config --static-libs 2>/dev/null`