summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0a3f1f8..e866142 100644
--- a/configure.ac
+++ b/configure.ac
@@ -647,6 +647,10 @@ do
done
unset option
+#if defined __GNUC__ && !defined _FORTIFY_SOURCE
+AC_DEFINE([_FORTIFY_SOURCE], 2, [enable compile-time and run-time bounds-checking, and some warnings])
+#endif
+
case "$target" in
*hpux*)
;;