summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 90bcb78c58..e1c2c28baf 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -253,6 +253,14 @@ $define|true|[yY]*)
set `echo X "$libswanted "| sed -e 's/ c / pthread c /'`
shift
libswanted="$*"
+ # Somehow at least in Debian 2.2 these manage to escape
+ # the #define forest of <features.h> and <time.h> so that
+ # the hasproto macro of Configure doesn't see these protos,
+ # regardless of the -D_GNU_SOURCE that should turn on everything.
+ d_asctime_r_proto="$define"
+ d_ctime_r_proto="$define"
+ d_gmtime_r_proto="$define"
+ d_localtime_r_proto="$define"
;;
esac
EOCBU