comparison configure.in @ 1922:569139be45f6

[xemacs-hg @ 2004-02-21 07:53:59 by stephent] reorder XE_CFLAGS computation <87r7wona1o.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sat, 21 Feb 2004 07:54:01 +0000
parents 84785da441f9
children 02446ca6a05d
comparison
equal deleted inserted replaced
1921:dd8c3a4ab510 1922:569139be45f6
2059 fi 2059 fi
2060 fi 2060 fi
2061 2061
2062 dnl Now combine all C flags. Put the warning flags first so that 2062 dnl Now combine all C flags. Put the warning flags first so that
2063 dnl user-specified flags will override. 2063 dnl user-specified flags will override.
2064 dnl Flags for CC: 2064 dnl Do XE_CFLAGS before adding warning flags to CFLAGS.
2065 CFLAGS="$cflags_warning $CFLAGS"
2066 dnl Flags for XEMACS_CC: 2065 dnl Flags for XEMACS_CC:
2067 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning 2066 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning
2068 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 2067 XE_CFLAGS="$xe_cflags_warning $CFLAGS"
2068 dnl Flags for CC:
2069 CFLAGS="$cflags_warning $CFLAGS"
2069 2070
2070 dnl Search for GCC specific build problems we know about 2071 dnl Search for GCC specific build problems we know about
2071 if test "$GCC" = "yes"; then 2072 if test "$GCC" = "yes"; then
2072 AC_MSG_CHECKING(for buggy gcc versions) 2073 AC_MSG_CHECKING(for buggy gcc versions)
2073 GCC_VERSION=`$CC --version` 2074 GCC_VERSION=`$CC --version`