On Tue, Dec 17, 2002 at 10:45:38PM +0100, Nicolas Souchu wrote:
> Hi,
> 
> plat.h from CVS of 12/12/02 says my FreeBSD box is unsupported. Is that true?

Here is a patch to libgii/gg/plat.h

Index: plat.h
===================================================================
RCS file: /cvsroot/ggi/ggi-core/libgii/gg/plat.h,v
retrieving revision 1.10
diff -u -r1.10 plat.h
--- plat.h      2 Nov 2002 13:18:29 -0000       1.10
+++ plat.h      17 Dec 2002 22:24:08 -0000
@@ -53,7 +53,7 @@
 
 #ifndef _POSIX_SOURCE
 /* *BSD system */
-# if defined(__OpenBSD__) || defined(__NetBSD__) 
+# if defined(__OpenBSD__) || defined(__NetBSD__)  || defined(__FreeBSD__)
 #   define _POSIX_SOURCE
 # endif


Is the following armless?

armor:/usr/devel/ggi/ggi-core/libgii# ./autogen.sh 
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `config.h.in' is unchanged
automake: reading configure.in
automake: reading aclocal.m4
automake: reading Makefile.am
automake: creating Makefile.in
automake: reading gg/Makefile.am
automake: creating gg/Makefile.in
automake: reading gii/Makefile.am
automake: creating gii/Makefile.in
[...]

Thanks.

-- 
Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL PROTECTED]

Reply via email to