From 9d7b5b776a91676697f8c44c5efc08aa2fd1c9fd Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 23 Mar 2015 20:11:18 -0400 Subject: [PATCH] SDL-1.2: Reenable _GNU_SOURCE define for Linux. Apparently it broke things. --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index b75fae20f..8acc37ce9 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(README) AC_CONFIG_HEADER(include/SDL_config.h) +AC_GNU_SOURCE AC_CONFIG_AUX_DIRS($srcdir/build-scripts) dnl Set various version strings - taken gratefully from the GTk sources @@ -77,7 +78,7 @@ case "$host" in BASE_LDFLAGS="-mno-cygwin" ;; *) - BASE_CFLAGS="" + BASE_CFLAGS="-D_GNU_SOURCE=1" BASE_LDFLAGS="" ;; esac