comparison configure.ac @ 4543:fe64f1351cbd

Fix my syntax errors.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 29 Dec 2008 21:42:40 +0900
parents 7ca6d57ce12d
children 6a6689b96f00
comparison
equal deleted inserted replaced
4542:9b3f398ebfb7 4543:fe64f1351cbd
2245 if test "$CC" != "$XEMACS_CC"; then 2245 if test "$CC" != "$XEMACS_CC"; then
2246 case "$XEMACS_CC" in 2246 case "$XEMACS_CC" in
2247 *g++* ) 2247 *g++* )
2248 if test "$GCC" != "yes"; then 2248 if test "$GCC" != "yes"; then
2249 AC_MSG_WARN([CC and g++ are mismatched; XE_CFLAGS may be wrong]) 2249 AC_MSG_WARN([CC and g++ are mismatched; XE_CFLAGS may be wrong])
2250 xemacs_cc_cc_mismatch=yes ;; 2250 xemacs_cc_cc_mismatch=yes
2251 fi
2252 ;;
2251 esac 2253 esac
2252 if test -n "$GCC"; then 2254 if test -n "$GCC"; then
2253 case $XEMACS_CC in 2255 case $XEMACS_CC in
2254 *g++* ) 2256 *g++* )
2257 # it's as expected, do nothing
2255 ;; 2258 ;;
2256 * ) 2259 * )
2257 AC_MSG_WARN([gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong]) 2260 AC_MSG_WARN([gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong])
2258 xemacs_cc_cc_mismatch=yes ;; 2261 xemacs_cc_cc_mismatch=yes
2262 ;;
2259 esac 2263 esac
2264 fi
2260 dnl #### Add other detectable mismatches here. 2265 dnl #### Add other detectable mismatches here.
2261 fi 2266 fi
2262 2267
2263 dnl Calculate optimization flags. These will be off by default in beta 2268 dnl Calculate optimization flags. These will be off by default in beta
2264 dnl versions and on in release versions. 2269 dnl versions and on in release versions.