[Freeciv-Dev] Re: Cleaning up configure.in
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sunday 17 June 2001 13:18, Thue wrote:
> On Sunday 17 June 2001 03:52, Vasco Alexandre Da Silva Costa wrote:
> > On Sun, 17 Jun 2001, Vasco Alexandre Da Silva Costa wrote:
> > > On Sat, 16 Jun 2001, David Pfitzner wrote:
> > > > Thue <thue@xxxxxxx> wrote:
> > > > > In the quest to make autoconf 2.50 work I have replaced the use of
> > > > > FC_CHECK_X_LIB with AC_CHECK_LIB.
> > > >
> > > > So I'd be concerned about changing this without either some
> > > > reasonable understanding of the details (which I don't remember), or
> > > > fairly widespread testing...
> >
> > I found the relevant email at last...
> > (http://arch.freeciv.org/freeciv-dev-199811/msg00194.html)
> >
> > ---
> > VASC @ IST
>
> This one and it's reply seem to be relevant
> http://sources.redhat.com/ml/autoconf/1999-01/msg00009.html
>
> But there are 500 lines of ugly shell/autoconf code in freeciv to do the
> completely standard thing of detecting X. It must be possible to do it
> better!
>
> -Thue
Compared to the 500 lines for the xaw client this is the code for the gtk
client :)
-----------
AM_PATH_GTK(1.2.1, gtk_found="yes", gtk_found="", imlib_found="")
if test "x$gtk_found" = "xyes"; then
AM_PATH_GDK_IMLIB(1.9.2, imlib_found="yes", imlib_found="")
if test "x$imlib_found" = "xyes"; then
CLIENT_CFLAGS="$GDK_IMLIB_CFLAGS"
CLIENT_LIBS="$GDK_IMLIB_LIBS"
found_client=yes
fi
fi
-----------
Ideally the xaw client configure code should be of the same size... I see no
reason why it shouldn't be possible.
I have looked around on the web, and I can't seem to find any such macro...
-Thue
- [Freeciv-Dev] Cleaning up configure.in, Thue, 2001/06/15
- [Freeciv-Dev] The way point setting..., Jonathan Hogue, 2001/06/15
- [Freeciv-Dev] Re: Cleaning up configure.in, David Pfitzner, 2001/06/16
- [Freeciv-Dev] Re: Cleaning up configure.in, Vasco Alexandre Da Silva Costa, 2001/06/16
- [Freeciv-Dev] Re: Cleaning up configure.in, Greg Wooledge, 2001/06/16
- [Freeciv-Dev] Re: Cleaning up configure.in, Vasco Alexandre Da Silva Costa, 2001/06/16
- [Freeciv-Dev] Re: Cleaning up configure.in, Thue, 2001/06/17
- [Freeciv-Dev] Re: Cleaning up configure.in,
Thue <=
- [Freeciv-Dev] Re: Cleaning up configure.in, Vasco Alexandre Da Silva Costa, 2001/06/17
- [Freeciv-Dev] Re: Cleaning up configure.in, Gaute B Strokkenes, 2001/06/17
- [Freeciv-Dev] Re: Cleaning up configure.in, Vasco Alexandre Da Silva Costa, 2001/06/17
- [Freeciv-Dev] Re: Cleaning up configure.in, Gaute B Strokkenes, 2001/06/17
|
|