[Mono-dev] [PATCH 01/12] configure: Add support for Haiku

Rodrigo Kumpera kumpera at gmail.com
Fri Mar 26 11:07:50 EDT 2010


Patch looks good.

On Fri, Mar 26, 2010 at 10:29 AM, Andreas Färber <andreas.faerber at web.de>wrote:

> This commit is licensed under the MIT X11 license.
> ---
>  ChangeLog    |    6 ++++++
>  configure.in |   17 +++++++++++++++++
>  2 files changed, 23 insertions(+), 0 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 9cdabe8..f6bb935 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,9 @@
> +2010-03-25  Andreas Färber  <andreas.faerber at web.de>
> +
> +       * configure.in: Add support for Haiku
> +
> +       Contributed under MIT/X11 license.
> +
>  2010-03-26  Zoltan Varga  <vargaz at gmail.com>
>
>        * configure.in: Apply some openbsd changes from openbsd ports.
> diff --git a/configure.in b/configure.in
> index 92c4cf9..5cc7e4e 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -257,6 +257,17 @@ case "$host" in
>                                ;;
>                esac
>                ;;
> +       *-*-haiku*)
> +               platform_win32=no
> +               CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE"
> +               libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
> +               libdl=
> +               LIBS="$LIBS -lnetwork"
> +               need_link_unlink=yes
> +               AC_DEFINE(PTHREAD_POINTER_ID)
> +               libgc_threads=pthreads
> +               use_sigposix=yes
> +               ;;
>        *)
>                AC_MSG_WARN([*** Please add $host to configure.in checks!])
>                host_win32=no
> @@ -2048,6 +2059,12 @@ case "$host" in
>                        ;;
>                  cygwin*)
>                        have_visibility_hidden=no
> +                       ;;
> +                 haiku*)
> +                       # at least for GCC2 there are similar warnings as
> above
> +                       have_visibility_hidden=no
> +                       LIBC=libroot.so
> +                       ;;
>                esac
>                ;;
>        x86_64-*-* | amd64-*-*)
> --
> 1.6.5.3
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100326/ce527742/attachment.html 


More information about the Mono-devel-list mailing list