SDL-1.2: Reenable _GNU_SOURCE define for Linux. Apparently it broke things.
--HG-- branch : SDL-1.2
This commit is contained in:
parent
2a7ca22154
commit
236fd6e484
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT(README)
|
AC_INIT(README)
|
||||||
AC_CONFIG_HEADER(include/SDL_config.h)
|
AC_CONFIG_HEADER(include/SDL_config.h)
|
||||||
|
AC_GNU_SOURCE
|
||||||
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
|
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
|
||||||
|
|
||||||
dnl Set various version strings - taken gratefully from the GTk sources
|
dnl Set various version strings - taken gratefully from the GTk sources
|
||||||
|
@ -77,7 +78,7 @@ case "$host" in
|
||||||
BASE_LDFLAGS="-mno-cygwin"
|
BASE_LDFLAGS="-mno-cygwin"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
BASE_CFLAGS=""
|
BASE_CFLAGS="-D_GNU_SOURCE=1"
|
||||||
BASE_LDFLAGS=""
|
BASE_LDFLAGS=""
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue