[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on autoconf

From: Dan
Subject: Question on autoconf
Date: Mon, 19 Jul 2004 21:19:10 -0400


Im using GNU Classpath (0.09) with JamVM on an embedded linux board.
I don't need the awt/swing classes (and a bunch of others) and thought I 
would remove them from the build to same on space. Right now
Im deleting the classes after I compile but I thought it would be smarter 
to change the configure/makefiles so the classes and native libraries I 
don't want are not compiled and the platform specific classes and native 
libraries I have can be added. But this simple idea is turning out to to 
more complicated than I had thought. Im learning about autoconf and 
automake but apparently not enough, yet. I jumped right in a started 
deleting things (carefully thought out of course :-) from but 
after wasting several hours without success I decided to see if I could 
just get autoconf and automake to do their thing without modifying 
anything first. No luck there either.

$ aclocal
    (a few warnings here about underquoted definitions
     but Im assuming warning are ok)
$ autoconf
$ automake
$ ./configure --enable-jni --disable-gtk-peer
... (some messages deleted)
checking how to run the C preprocessor... gcc -E
./configure: line 11099: syntax error near unexpected token `GTK,'
./configure: line 11099: `     PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.2 
gthread-2.0 >= 2.2 libart-2.0)'

I didn't expect a syntax error. 
Im running redhat 9 and these are the version of tools I have installed:

gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Concurrent Versions System (CVS) 1.11.2 (client/server)
automake (GNU automake) 1.8.3
autoconf (GNU Autoconf) 2.59 (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Jikes Compiler - Version 1.18 - 21 November 2002
GNU m4 1.4.1

Can anyone point out what Im doing wrong. If your feeling extra helpful 
how about some pointers on how I can remove things from the build like 
awt.  Thanks.


reply via email to

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