changeset 4543:fe64f1351cbd

Fix my syntax errors.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 29 Dec 2008 21:42:40 +0900
parents 9b3f398ebfb7
children dc578683fddd
files ChangeLog configure.ac
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 29 21:39:37 2008 +0900
+++ b/ChangeLog	Mon Dec 29 21:42:40 2008 +0900
@@ -1,3 +1,7 @@
+2008-12-29  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* configure.ac (xemacs_cc_cc_mismatch): Fix my syntax errors.
+
 2008-12-29  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* .hgignore: Add terminating newline to .hgignore.
--- a/configure.ac	Mon Dec 29 21:39:37 2008 +0900
+++ b/configure.ac	Mon Dec 29 21:42:40 2008 +0900
@@ -2247,16 +2247,21 @@
   *g++* )
     if test "$GCC" != "yes"; then
       AC_MSG_WARN([CC and g++ are mismatched; XE_CFLAGS may be wrong])
-      xemacs_cc_cc_mismatch=yes ;;
+      xemacs_cc_cc_mismatch=yes
+    fi
+    ;;
   esac
   if test -n "$GCC"; then
     case $XEMACS_CC in
     *g++* )
+      # it's as expected, do nothing
       ;;
     * )
       AC_MSG_WARN([gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong])
-      xemacs_cc_cc_mismatch=yes ;;
+      xemacs_cc_cc_mismatch=yes
+      ;;
     esac
+  fi
   dnl #### Add other detectable mismatches here.
 fi