OSDN Git Service

autoconf: Restore _GNU_SOURCE for all Linux systems
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 4 Mar 2009 21:19:32 +0000 (13:19 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 4 Mar 2009 21:19:32 +0000 (13:19 -0800)
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@gmail.com>
configure.ac

index 2f3f0be..919b717 100644 (file)
@@ -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*)