Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8534) Re: [FreeCiv-Cvs] jdorje: Two small cleanups
Home

[Freeciv-Dev] Re: (PR#8534) Re: [FreeCiv-Cvs] jdorje: Two small cleanups

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8534) Re: [FreeCiv-Cvs] jdorje: Two small cleanups to connectdlg_common: -...
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Apr 2004 23:18:29 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8534 >

Raimar Falke wrote:

> $  ./autogen.sh 
> + checking for autoconf >= 2.52 ... found 2.13, not ok !
> + checking for autoconf >= 2.13 ... found 2.13, ok.
> + checking for automake >= 1.4 ... found 1.4-p5, ok.
> + checking for xgettext >= 0.10.36 ... found 0.11.1, ok.
> + checking for msgfmt >= 0.10.36 ... found 0.11.1, ok.
> + creating acinclude.m4
> + running aclocal ...
> aclocal: both `configure.ac' and `configure.in' present: ignoring 
> `configure.in'
> + running autoheader ... 
> + running autoconf ... 
> autoconf: Undefined macros:
> configure.in:525:AC_FUNC_FORK
> 
> autoconf failed
> 
> Can someone please fix this?

Try this patch.  Please verify that HAVE_WORKING_FORK is defined 
properly in config.h.

jason

? cma_weirdness
? data/civ3
? data/womoks
Index: configure.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.in,v
retrieving revision 1.236
diff -u -r1.236 configure.in
--- configure.in        19 Apr 2004 17:24:16 -0000      1.236
+++ configure.in        20 Apr 2004 06:17:46 -0000
@@ -523,7 +523,6 @@
 
 dnl Checks for library functions.
 AC_TYPE_SIGNAL
-AC_FUNC_FORK
 AC_FUNC_STRCOLL
 AC_FUNC_VPRINTF
 AC_FUNC_VSNPRINTF
@@ -531,6 +530,7 @@
 AC_CHECK_FUNCS([fileno ftime gethostname getpwuid inet_aton \
                select snooze strerror strcasecmp strncasecmp \
                strlcat strlcpy strstr usleep vsnprintf uname flock])
+AC_CHECK_FUNC([fork], AC_DEFINE(HAVE_WORKING_FORK))
 AC_MSG_CHECKING(for working gettimeofday)
   FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY),)
 

[Prev in Thread] Current Thread [Next in Thread]