Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: more cygwin build issues
Home

[Freeciv-Dev] Re: more cygwin build issues

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gaute B Strokkenes <gs234@xxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: more cygwin build issues
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Mon, 5 Nov 2001 16:21:01 +0100

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


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