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 2f3f0beff10798561a88a6a72225b9df42281526..919b717db468bfe8b568c31e483e7cf4d6f0ba33 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*)