[Freeciv-Dev] Re: more cygwin build issues
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Gaute B Strokkenes writes:
> On Sun, 4 Nov 2001, akemnade@xxxxxxxxxxx wrote:
>
> > --- /home/andi/freeciv/configure.in Wed Sep 19 08:26:12 2001
> > +++ configure.in Sun Nov 4 12:13:58 2001
> > @@ -451,9 +451,11 @@
> > fi
> > fi
> > fi
> > -
> > - AC_CHECK_LIB(m, pow, SERVER_LIBS="$SERVER_LIBS -lm",
> > + AC_CHECK_FUNC(pow)
> > + if test $ac_cv_func_pow = no; then
> > + AC_CHECK_LIB(m, pow, SERVER_LIBS="$SERVER_LIBS -lm",
> > AC_MSG_ERROR(Did not find math lib!))
> > + fi
> > fi
> > AC_SUBST(SERVER_LIBS)
>
> When and where did we start using pow() ? That's only going to cause
> trouble.
win_chance in common/combat.c
according to rcvs annotate:
1.1 (thue 31-May-01): double binom_save = pow(def_P_lose1,
def_N_lose - 1);
Greetings
Andreas Kemnade
[Freeciv-Dev] Re: building under cygwin, Reinier Post, 2001/11/03
[Freeciv-Dev] Re: building under cygwin, Reinier Post, 2001/11/03
Message not available
|
|