[Freeciv-Dev] Re: more cygwin build issues
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
James Wilson writes:
> ok, that works if I link it manually. but when I run autoconf (with or
> without applying your patch) I get the following error:
>
> bash-2.05$ autoconf
> configure.in:272: error: AC_LANG: unknown language:
> aclang.m4:124: _AC_LANG_SET is expanded from...
> aclang.m4:133: AC_LANG is expanded from...
> ./aclocal.m4:77: FC_CHECK_X_LIB is expanded from...
> configure.in:272: the top level
>
> the region of aclocal it's complaining about is
>
> ifelse([$2], [main], , dnl Avoid conflicting decl of main.
> [/* Override any gcc2 internal prototype to avoid an error. */
> ]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
> extern "C"
> #endif
> ])dnl
>
> If I change this to a straight 'else' and remove the CPLUSPLUS test (which
> seemed worth a try), I then get an undefined function, AC_TRY_RUN_NATIVE,
> in the resulting 'configure' script.
>
> I am using autoconf 2.52.
autoconf 2.14 or 2.13 seems to work.
You can get it from ftp.freeciv.org
If nobody objects, I'll commit that patch. It does still append -lm on
linux.
Greetings
Andreas Kemnade
- [Freeciv-Dev] Re: more cygwin build issues, (continued)
[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
- [Freeciv-Dev] Re: more cygwin build issues,
Andreas Kemnade <=
|
|