On Mon, Jan 12, 2009 at 7:04 AM, Julien Cristau <jcris...@debian.org> wrote:
> Fixes build on arm-linux-gnueabi
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index d3a9364..6a99f30 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -83,7 +83,7 @@ dnl Compiler macros
>  DEFINES=""
>  AC_SUBST([DEFINES])
>  case "$host_os" in
> -*-gnu)
> +*-gnu*)
>  if test "x$GCC" = xyes; then
>     DEFINES="$DEFINES -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE"
>  fi

Seems fine to me, although the whole macro game is a little silly.
Correct me if I'm wrong, but doesn't _GNU_SOURCE
encompass all of _POSIX_SOURCE _BSD_SOURCE and _SVID_SOURCE? In that
case, couldn't we just define _GNU_SOURCE on gnu systems and call it a
day?

--
Dan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to