configure.in
branchSDL-1.2
changeset 9426 c238763e1228
parent 9425 d2bc9b3760fb
child 11969 55313dbda97e
     1.1 --- a/configure.in	Mon Mar 23 20:10:08 2015 -0400
     1.2 +++ b/configure.in	Mon Mar 23 20:11:18 2015 -0400
     1.3 @@ -1,6 +1,7 @@
     1.4  dnl Process this file with autoconf to produce a configure script.
     1.5  AC_INIT(README)
     1.6  AC_CONFIG_HEADER(include/SDL_config.h)
     1.7 +AC_GNU_SOURCE
     1.8  AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
     1.9  
    1.10  dnl Set various version strings - taken gratefully from the GTk sources
    1.11 @@ -77,7 +78,7 @@
    1.12          BASE_LDFLAGS="-mno-cygwin"
    1.13          ;;
    1.14      *)
    1.15 -        BASE_CFLAGS=""
    1.16 +        BASE_CFLAGS="-D_GNU_SOURCE=1"
    1.17          BASE_LDFLAGS=""
    1.18          ;;
    1.19  esac