Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2334) Bug report
Home

[Freeciv-Dev] Re: (PR#2334) Bug report

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: egbert@xxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2334) Bug report
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 14 Nov 2002 10:41:55 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Egbert Hinzen via RT wrote:
> Using the current CVS under Linux:
> 
> garfy:/usr/src/freeciv # ./autogen.sh
> + checking for autoconf >= 2.52 ... found 2.53, ok.
> + checking for automake >= 1.4 ... found 1.6.3, ok.
> + checking for xgettext >= 0.10.36 ... found 0.11.5, ok.
> + checking for msgfmt >= 0.10.36 ... found 0.11.5, ok.
> + using new autoconf configuration (use --disable-autoconf2.52 to use old)
> + creating acinclude.m4
> + running aclocal ...
> + running autoheader ...
> autoheader: missing template: HAVE_GETTIMEOFDAY

Fix attached.

jason

Index: configure.ac
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.ac,v
retrieving revision 1.25
diff -u -r1.25 configure.ac
--- configure.ac        2002/11/14 09:28:31     1.25
+++ configure.ac        2002/11/14 18:40:47
@@ -582,7 +582,7 @@
                strlcat strlcpy strstr usleep vsnprintf uname)
 
 AC_MSG_CHECKING(for working gettimeofday)
-  FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY),)
+  FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [working 
gettimeofday()]),)
 
 dnl The use of both AC_FUNC_VSNPRINTF and AC_CHECK_FUNCS(vsnprintf) is
 dnl deliberate.

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