From: Michael Elkins Date: Wed, 19 Dec 2012 19:08:48 +0000 (-0800) Subject: make configure define _POSIX_C_SOURCE, _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4da26b9c5ec13a945b131a059f569a6dc69dea66;p=mutt make configure define _POSIX_C_SOURCE, _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to comply with POSIX.1-2008 and XSI conforming applications. --- 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"