Ralf Wildenhues wrote:

Could you show the package, configure invocation and output where you
are experiencing this with, so we can decide which of the above is the
case?

hi Ralf.

i just noticed that the actual line throwing the error is:

 if test $ac_cv_c_compiler_gnu = yes; then

after that it was simple to find the real source of troubles:
i use autoconf/configure to configure a c++-application, so i only use AC_PROG_CXX (and not AC_PROG_CC !) before calling AC_PROG_GCC_TRADITIONAL (which i do for historical reasons...)

since ac_cv_c_compiler_gnu is obviously not set by AC_PROG_CXX (but only by AC_PROG_CC), i get the following error (which was missing in the initial report):

./configure: line 3177: test: =: unary operator expected


so i guess AC_PROG_GCC_TRADITIONAL should AC_REQUIRE([AC_PROG_CC]) or similar.

mfg.asdr.
IOhannes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to