RE: Configure script problem

Goran Blazic <[email protected]>
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hi...
Good thing I got this message today, otherwise I would have forgotten that
I'm subscribed to the list... :)

I tried to compile the 0.3.6 package this morning... (red hat 8.0)
I used the --enable-xft=no option, but the mbmenu.c file kept complaining
about the Xft.h include file. It's seems that the file is included regardles
whether the Xft lib is used or not...

I solved this by putting the "#ifdef USE_XFT" line in front of the "#include
<X11/Xft/Xft.h>"...
(Could someone PLEASE tell me how to get the line number I'm on in vi... :)

Was this the right way to do it (in which case it should probably be
inserted into the file permanently), or should I have done something else?

Goran

-----Original Message-----
From: andy preston [mailto:[email protected]] 
Sent: 6. november 2002 5:24
To: [email protected]
Subject: [Matchbox] Configure script problem


I found a problem in the configure script. The X options to the configure
script, --x-includes and --x-libraries are ignored. They get added to the
Makefile as X_LIBS and X_CFLAGS but they arn't added to the CFLAGS and LIBS
variables. The COMPILE directive doesn't use X_CFLAGS, only CFLAGS. The fix
is to simply add the X_ version to the plain version, which coul dbe done in
configure.ac after the AC_PATH_XTRA statements. I would modify the
configure.ac and provide a patch but I think I have a autoconf/automake
incompatibility as when I run the equivalent of the autoconfigure.sh in CVS
I can't build any more. I'm running Slackware 8.1

HTH,

Andy



_______________________________________________
Matchbox mailing list
[email protected] http://handhelds.org/mailman/listinfo/matchbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.