summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-08-17 15:00:54 +0100
committerSimon McVittie <smcv@debian.org>2014-08-21 09:54:12 +0100
commitd329544e703f3dd95be961e1d3778ee1b0dce81b (patch)
tree4cbd5060d05ba4dd4c87e99ef1306c43c45bea0b /configure.ac
parent2737c67ccefeade89af596700fdfc41d7fcf3588 (diff)
downloadgtk+-d329544e703f3dd95be961e1d3778ee1b0dce81b.tar.gz
Use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc.
Similar to Bug #684123 in GLib. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4406403211..a814abe73f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,6 +227,8 @@ LT_INIT([disable-static win32-dll])
# Create libtool early, because it's used in configure
LT_OUTPUT
+# Define _GNU_SOURCE etc. where appropriate, e.g. for strptime() on glibc
+AC_USE_SYSTEM_EXTENSIONS
# Make sure we use 64-bit versions of various file stuff.
AC_SYS_LARGEFILE