Mesa (gallium-map-range): autoconf: Restore _GNU_SOURCE for all Linux systems

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Mar 4 21:46:25 UTC 2009


Module: Mesa
Branch: gallium-map-range
Commit: ac55db1d7d6cd58e49a033859d1d86a7dcf71d45
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac55db1d7d6cd58e49a033859d1d86a7dcf71d45

Author: Dan Nicholson <dbn.lists at gmail.com>
Date:   Wed Mar  4 13:19:32 2009 -0800

autoconf: Restore _GNU_SOURCE for all Linux systems

This catches the linux-uclibc case and any others that were being set
prior to 98fcdf3f. Fixes bug 20345.

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2f3f0be..919b717 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,7 +87,7 @@ dnl Compiler macros
 DEFINES=""
 AC_SUBST([DEFINES])
 case "$host_os" in
-*-gnu*)
+linux*|*-gnu*)
     DEFINES="$DEFINES -D_GNU_SOURCE -DPTHREADS"
     ;;
 solaris*)




More information about the mesa-commit mailing list