From 4d9d43c25aaa28158a95fb20949c4bf02ab6b3a4 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 24 Jun 2007 15:24:22 +0000 Subject: [PATCH] Use _GNU_SOURCE on Linux systems. --- CHANGES | 7 +++++++ configure.ad | 4 ++++ doc/Makefile.ad | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 28121368..746ba7cb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Sun Jun 24 18:47:55 EEST 2007 Pekka Riikonen + + * 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 * Fixed Unix signal task dispatching to not lock the signals diff --git a/configure.ad b/configure.ad index f719d7a3..8ee9d61b 100644 --- a/configure.ad +++ b/configure.ad @@ -33,6 +33,10 @@ AC_PATH_PROG(sedpath, sed) # Put here any platform specific stuff # case "$target" in + *-*-linux*) + check_threads=true + CFLAGS=`echo $CFLAGS -D_GNU_SOURCE` + ;; *-*-freebsd*) check_threads=true ;; diff --git a/doc/Makefile.ad b/doc/Makefile.ad index 71087c4b..1818fc1c 100644 --- a/doc/Makefile.ad +++ b/doc/Makefile.ad @@ -110,7 +110,7 @@ EXTRA_DIST = \ #ifdef SILC_DIST_TOOLKIT toolkit \ CodingStyle \ - draft-riikonen*.txt + draft-riikonen*.txt \ silcalgs.conf \ #endif SILC_DIST_TOOLKIT FAQ -- 2.24.0