[autoconf-2.52,automake-1.4f,libtool-1.4b]
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
[...]
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for ld used by GCC...
/net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld
checking if the linker
(/net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld) is GNU ld...
yes
checking for /net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld
option to reload object files... -r
checking for BSD-compatible nm... /net/compiler/gcc_mpt_1.00/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
why does it try to find a C++ preprocessor?
why does it not fallback to C preprocessor?
The C preprocessor is set correctly!
configure.ac:
AC_INIT(pfe-words.c)
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
AC_SET_DEFAULT_PATHS_DLLSYSTEM
AC_SPEC_PACKAGE_VERSION(pfe.spec)
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AM_CONFIG_HEADER(config.h)
AC_DEFINE_VERSIONLEVEL(PFE_CONFIGVERSION)
AC_ARG_WITH(ltdl,
[ --with-ltdl build and install libtool dlopen convenience
kit ])
AC_COND_WITH(ltdl,no)
AC_LANG_C
AC_PROG_CC
AC_LIBTOOL_DLOPEN
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_INSTALL
but same bad luck with moving LANG_C/PROG_CC up front
AC_INIT(pfe-words.c)
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
AC_LANG_C
AC_PROG_CC
autoconf-2.52,automake-1.4f,libtool-1.4b FAIL
autoconf-2.52,automake-1.4h,libtool-1.4b FAIL
autoconf-2.52,automake-1.4h,libtool-1.4 OK
I'd guess the bug is libtool.m4 related?
Bad interference with autoconf-2.52?
cheers
-- guido <standard disclaimer>
___________________________________________________________
Guido Draheim, R&D <[EMAIL PROTECTED]>
Tektronix Berlin, MPT E7 "Edel sei der Mensch,
tel: +49 -30/ 386-23153 hilfreich und gut" --G.