Hi everyone,

Te latest configure.in patch breaks configure/compilation on my Solaris box:

+# Since solaris X headers use int as implicit return type and modern
+# gcc's do not like that, let's use -isystem instead of -I.
+# We should test for gcc version and see whether it supports -isystem,
+# but since at least gcc 2.6.x supports it and it is still too old for
+# us, it seems we are safe.
+if test -n "$GXX" ; then
+  X_CFLAGS=`echo ${X_CFLAGS} | sed -e 's/-I/-isystem/'`
+fi
+CPPFLAGS="$CPPFLAGS $X_CFLAGS"

The problem is probably related to the fact that I use the extra include
and extra lib directory flags in addition to putting the fragment
``-isystem /usr/openwin/include'' in my CXXFLAGS and CFLAGS.

The full command I use is:

env CONFIG_SHELL=/usr/local/bin/bash \
        CXXFLAGS='-O2 -isystem /usr/openwin/include' \
        CFLAGS='-O2 -isystem /usr/openwin/include' \
        LDFLAGS=-lintl ./configure --prefix=/remote/tools/ksylvan \
        --with-extra-lib=/remote/tools/ksylvan/lib \
        --with-extra-inc=/remote/tools/ksylvan/include

Reverting back to version 1.34 of configure.in allows me to compile again.

Attached is my configure output (gzipped) for both 1.35 and 1.34.

                        ---Kayvan
-- 
Kayvan A. Sylvan (650-584-1189)
Central Engineering Services
Email: [EMAIL PROTECTED]
Alternate Email: [EMAIL PROTECTED]

CONFIGOUTPUT-1.34.gz

CONFIGOUTPUT-1.35.gz

Reply via email to