[Freeciv-Dev] Re: autoconf2.5x patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Andreas Kemnade writes:
>
> > The attached patch should solve all mentioned problems. I've _tried_ to
> > fix the cygwin stuff too, but it probably needs more fixing. I don't like
> > the fact that it never tries to actually _find_ the mingw library.
> I think it's a bad idea to search it.
> The things which might be interesting to test are:
> -if $CC defines __MINGW32__ (that's what the old AC_MINGW checks)
> -if $CC links against -lmingw32
> >
> > Andreas, can you take a look at it?
> >
> On my Debian Woody installation:
> ./autogen.sh --host=i386-mingw32 --build=$(./config.guess)
> --with-included-gettext --enable-client=win32 --prefix=.
> gives
> + checking for autoconf >= 2.52 ... found 2.53, ok.
> + checking for automake >= 1.4 ... found 1.4, ok.
> + checking for xgettext >= 0.10.38 ... found 0.10.40, ok.
> + checking for msgfmt >= 0.10.38 ... found 0.10.40, ok.
> + creating acinclude.m4
> + running aclocal ...
> aclocal: couldn't open `configure.in': Datei oder Verzeichnis nicht gefunden
>
> aclocal failed - check that all needed development files are present on
> systs:
>
> I guess the automake version from ftp.freeciv.org does not work with
> autoconf2.53
Can there be a more meaningful error message?
>
> I have tried the stuff on a Solaris machine, too. autoconf2.53 and
> automake 1.6 is installed there. That works (without --prefix=.).
>
> I will test it in a cygwin system tomorrow.
Here are the results:
The usual way (which works with autoconf 2.13)
export CC="gcc -mno-cygwin"
./autogen.sh --with-included-gettext
does not work.
The host system is considered to be a cygwin system and so MINGW32 is
not set to yes by ./configure.
The thing which works is:
export CC="gcc -mno-cygwin"
./autogen.sh --with-included-gettext --host=i386-mingw32
--build=$(./config.guess) --enable-client=win32
So building freeciv with cygwin is more difficult than cross compiling
it with autoconf2.53. I can live with that.
Greetings
Andreas Kemnade
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: autoconf2.5x patch,
Andreas Kemnade <=
|
|