Hi,

Given this configure.in:

AC_INIT(hello.cc)
AM_INIT_AUTOMAKE(libcxx,0)
AC_PROG_CXX
AM_PROG_LIBTOOL
AC_OUTPUT(Makefile)


With autoconf-cvs and automake-cvs libtool-1.4b tries to add 
GCJ-support:

# ./configure
..
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/opt/gcc30/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/opt/gcc30/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/opt/gcc30/bin/ld) supports shared 
libraries... yes
..

I do not understand why this configure script triggers any check for 
GCJ, nor do I understand why these checks claim to successfully 
process gcj options.

.. I don't have gcj installed at all!

# which gcc
/opt/gcc30/bin/gcc
# which gcj
# gcc -v
Reading specs from /opt/gcc30/lib/gcc-lib/i486-suse-linux/3.0.1/specs
Configured with: ../configure --enable-threads=posix 
--enable-long-long --prefix=/opt/gcc30 --mandir=/opt/gcc30/man 
--infodir=/opt/gcc30/info --with-local-prefix=/usr/local 
--enable-languages=c,c++ --disable-nls --enable-shared 
--with-system-zlib --host=i486-suse-linux --build=i486-suse-linux
Thread model: posix
gcc version 3.0.1 20010713 (prerelease)


Am I missing something? What triggers these GCJ-checks? Are these 
auto+tools versions incompatible?

Ralf


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to