#27 [patch] Allow compiling on Haiku

closed
nobody
General (24)
5
2009-01-22
2009-01-11
Anonymous
No

This patch does three things

1) replaces <sys/signal.h> with <signal.h>
Opengroup mandates <signal.h>
http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html

2) Updates configure.in and Makefile.am to work with newer libtool and autotools, by adding AC_CONFIG_MACRO_DIR([m4]) and ACLOCAL_AMFLAGS = -I m4 respectively.

3) Adds another definition check for IPv6 in test/regress_dns.c
This is mainly for Haiku ( http://haiku-os.org ), as it currenty does not have complete IPv6 support.

Once this patch is in place, to compile in Haiku:

update config.guess and config.sub
libtoolize --force --copy
autoreconf --force --install -I config -I m4
./configure --prefix=/boot/common LDFLAGS=-lnetwork
make

Discussion

  • Nobody/Anonymous

     
    Attachments
  • Matt Madia

    Matt Madia - 2009-01-11

    This was submitted by myself.

     
  • Niels Provos

    Niels Provos - 2009-01-22

    Thank you. This has been applied to branches-1.4 and trunk.

     
  • Niels Provos

    Niels Provos - 2009-01-22
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks