Re: [Tuxnes-devel] Fwd: present but cannot be compiled (Was: I was asked to report this.)
Brought to you by:
tmmm
From: Mike M. <che...@ya...> - 2003-12-04 16:26:51
|
Jason Thankyou for your answer. I'm new at dealing with these sorts of things. I guess the question is, how do we get ./configure to do what we want? It's not important to me how autoconfig dose it's thing. I just would like to make sure that if I use Xshm.h and for OSXYZ I also need to use strings.h or something, that it gets done. --- Jason Dorje Short <js...@an...> wrote: > Mike Mestnik wrote: > > I hope some one can make sense of this, I'm not an autowhatsit type person. I know different > > headers need other headers but I thought ./configure was supposed to figure all that ought. > Any > > way it's not high on the list but I think it should be an easy fix. > > Recent versions of autoconf try to compile the header as well as simply > looking at it. Xshm.h doesn't compile so it fails this test. > Presumably this happens because other headers are needed to be included > as well. This is probably a bug on the part of the authors of the > headers, but what can you do... > > In this particular case it seems to be <X11/Xlib.h> that is missing. > The attached path will probably work. > > Looking at configure.in, I see lots of changes that could/should be made > to take advantage of more modern autoconfs. Doing this generally makes > the tests more complete and the amount of autoconf code smaller. Is > there any interest in this? > > I should say that I'm no expert on autoconf. But I have used it a fair > amount with Freeciv (http://freeciv.org/) and GGZ (http://ggz.sf.net/). > > jason > > > ? autom4te.cache > ? depcomp > ? stamp-h1 > Index: configure.in > =================================================================== > RCS file: /cvsroot/tuxnes/tuxnes/configure.in,v > retrieving revision 1.53 > diff -u -r1.53 configure.in > --- configure.in 15 May 2002 15:42:52 -0000 1.53 > +++ configure.in 4 Dec 2003 06:31:36 -0000 > @@ -90,9 +90,10 @@ > dnl -------------------------------------------------------------------- > if test x"$no_x" != xyes > then > - AC_CHECK_HEADERS(X11/xpm.h X11/vroot.h \ > + AC_CHECK_HEADERS(X11/Xlib.h X11/xpm.h X11/vroot.h \ > sys/ipc.h sys/shm.h X11/extensions/XShm.h \ > - X11/extensions/Xext.h) > + X11/extensions/Xext.h, [], [], > + [#include <X11/Xlib.h>]) > fi > > dnl -------------------------------------------------------------------- > __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ |