projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use _GNU_SOURCE on Linux systems.
[silc.git]
/
configure.ad
diff --git
a/configure.ad
b/configure.ad
index f719d7a3aeb9dfd5fa5745a59592f7496ccf00a3..8ee9d61b87f5e4e494e6f19de149346b9fd56ebb 100644
(file)
--- 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
;;