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

[Freeciv-Dev] Re: more cygwin build issues

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: James Wilson <fat_hot@xxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: more cygwin build issues
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Sun, 4 Nov 2001 20:50:51 +0100

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
 > 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...
 > 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

If nobody objects, I'll commit that patch. It does still append -lm on

Andreas Kemnade

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