gnu m4
Brought to you by:
tyranny
From: Alberto D. <al...@ur...> - 2002-04-15 15:06:05
|
Hello, I'm doing some work to make cvs-nserver full OpenBSD compliant :-) Basically there are three things to do to successfully build cvs-nserver on OpenBSD: 1) Cut out the line below from src/server.c : #define _POSIX_SOURCE 1 (server.c includes <sys/socket.h> which has some non posix declarations, and also uses FD_SETSIZE which is declared in sys/types.h only when _POSIX_SOURCE is not declared) 2) Install gnu-m4 which is not supported by OpenBSD (gnu m4 is not even present in to the ports tree of release 3.0). It seems that OpenBSD's m4 can substitute gnu m4 in almost every situation , but the following autoconf rule which checks for gnu m4 fails: AC_PROG_GNU_M4 (it fails checking for frozen files support) 3) Compile with GNU Make. Now, point (1) is a suggestion to patch source code. Point (3) is no problem. About point (2) is not clear to me if the AC_PROG_GNU_M4 rule was inserted in configure.in by some automatic tool like autoscan or was manually inserted by cvs-nserver coders , and why it was inserted. Do you think it is strictly needed ? Also in the next days I hope to send you patches to integrate OpenBSD changes made to cvs into cvs-nserver. Actually I have made a single patch yet and I tested it. But I want to separate it in single patches for each bugfix/feature made by the OpenBSD team, before submitting them to you. Greets, Alberto. ------------------------------------------------------------------- Alberto Dainotti URIZEN - Internetworking & Digital Security al...@ur... http://www.urizen.it PGP Key available at: http://www.urizen.it/pgp Key Fingerprint: 87CF D95A CE0F 3188 3950 4B1F 3B56 DE69 D05F B8F5 ------------------------------------------------------------------- |