Use _GNU_SOURCE on Linux systems.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 24 Jun 2007 15:24:22 +0000 (15:24 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 24 Jun 2007 15:24:22 +0000 (15:24 +0000)
CHANGES
configure.ad
doc/Makefile.ad

diff --git a/CHANGES b/CHANGES
index 281213687c51778e08d58b20fe3cc0fc023329f5..746ba7cbf162fe0d16e4cf8886516fc5a49a87ab 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,10 @@
+Sun Jun 24 18:47:55 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * SILC Toolkit 1.1.1.
+
+       * Compile sources with _GNU_SOURCE on Linux systems.  Affected
+         file is configure.ad.
+
 Sun Jun 24 16:33:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Fixed Unix signal task dispatching to not lock the signals
 Sun Jun 24 16:33:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Fixed Unix signal task dispatching to not lock the signals
index f719d7a3aeb9dfd5fa5745a59592f7496ccf00a3..8ee9d61b87f5e4e494e6f19de149346b9fd56ebb 100644 (file)
@@ -33,6 +33,10 @@ AC_PATH_PROG(sedpath, sed)
 # Put here any platform specific stuff
 #
 case "$target" in
 # Put here any platform specific stuff
 #
 case "$target" in
+  *-*-linux*)
+    check_threads=true
+    CFLAGS=`echo $CFLAGS -D_GNU_SOURCE`
+    ;;
   *-*-freebsd*)
     check_threads=true
     ;;
   *-*-freebsd*)
     check_threads=true
     ;;
index 71087c4b7ed5efb49fb3b2d22c18cbebe000cc97..1818fc1c479d62f96360dfd5f83e7d60a0680c53 100644 (file)
@@ -110,7 +110,7 @@ EXTRA_DIST =                        \
 #ifdef SILC_DIST_TOOLKIT
        toolkit                 \
        CodingStyle             \
 #ifdef SILC_DIST_TOOLKIT
        toolkit                 \
        CodingStyle             \
-       draft-riikonen*.txt
+       draft-riikonen*.txt     \
        silcalgs.conf           \
 #endif SILC_DIST_TOOLKIT
        FAQ
        silcalgs.conf           \
 #endif SILC_DIST_TOOLKIT
        FAQ