From 4da26b9c5ec13a945b131a059f569a6dc69dea66 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 19 Dec 2012 11:08:48 -0800 Subject: [PATCH] make configure define _POSIX_C_SOURCE, _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to comply with POSIX.1-2008 and XSI conforming applications. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 368e2910..d4fafb09 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,10 @@ AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/VERSION']) MUTT_VERSION=`env HGROOT="$srcdir" sh "$srcdir/version.sh"` AC_DEFINE_UNQUOTED(MUTT_VERSION,"$MUTT_VERSION", [Full textual version string.]) +AC_DEFINE(_POSIX_C_SOURCE, 200809L, [Enable POSIX.1-2008 features.]) +AC_DEFINE(_XOPEN_SOURCE, 700, [Enable POSIX and XPG features.]) +AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Enable XPG Extensions.]) + AC_GNU_SOURCE ALL_LINGUAS="de eu ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca bg ga" -- 2.40.0