Mesa (mesa_7_4_branch): autoconf: Restore _GNU_SOURCE for all Linux systems

Dan Nicholson dbn at kemper.freedesktop.org
Fri Mar 6 15:59:07 UTC 2009


Module: Mesa
Branch: mesa_7_4_branch
Commit: 463ac421a53c769922f174b3a07f7014f64b3234
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=463ac421a53c769922f174b3a07f7014f64b3234

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>
(cherry picked from commit ac55db1d7d6cd58e49a033859d1d86a7dcf71d45)

---

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

diff --git a/configure.ac b/configure.ac
index 73caf00..c15e4f7 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