[PATCH luit] configure: define XOPEN_SOURCE to 600 on linux
Rémi Cardona
remi at gentoo.org
Mon Jan 14 14:13:24 PST 2013
Le lundi 14 janvier 2013 à 09:44 +1000, Peter Hutterer a écrit :
> diff --git a/configure.ac b/configure.ac
> index c214d85..67ef2c4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -62,7 +62,7 @@ case $host_os in
> linux*)
> AC_CHECK_HEADERS([poll.h])
> AC_CHECK_FUNCS([poll])
> - OS_CFLAGS="-D_XOPEN_SOURCE=500"
> + OS_CFLAGS="-D_XOPEN_SOURCE=600"
> ;;
> *)
> AC_CHECK_HEADERS([poll.h])
Any reason not to use autoconf's AC_USE_SYSTEM_EXTENSIONS?
http://www.gnu.org/software/autoconf/manual/autoconf.html#Posix-Variants
Cheers,
Rémi
More information about the xorg-devel
mailing list