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: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: more cygwin build issues
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Mon, 05 Nov 2001 01:42:53 +0000

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.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Did you move a lot of KOREAN STEAK KNIVES this trip, Dingy?


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