Lack of recognition of --enable-mule with configure.ac, autoconf 2.62

Aidan Kehoe kehoea at parhasard.net
Sun Dec 28 07:30:31 EST 2008


 Ar an t-ochtú lá is fiche de mí na Nollaig, scríobh Ville Skyttä: 

 > On Sunday 28 December 2008, you wrote:
 > 
 > > but when I try to run the configure script, I get this:
 > >
 > > $ ./configure --enable-mule
 > > configure: WARNING: Unrecognized options: --enable-mule
 > > checking whether ln -s works... yes
 > > checking build system type... i386-apple-darwin8.11.1
 > > ^Cinterrupted!
 > > $
 > >
 > > The version of configure generated with 2.61 seems to be working fine. Is
 > > this a peculiarity of my machine, or is it something you’re seeing too?
 > 
 > I hadn't noticed these, but it seems that my Fedora 10 builds do show
 > this warning (and lots of other similar ones) as well.  However, as far
 > as I can tell (based on the build output and lack of bug reports in
 > Fedora Bugzilla, I haven't had the chance to actually test these builds
 > personally), the options work anyway:
 > 
 > http://kojipkgs.fedoraproject.org/packages/xemacs/21.5.28/9.fc10/data/logs/i386/build.log

Ah, good to know. So the problem I was seeing was separate, and I seem to be
able to resolve it with this change: 

diff -r 94536271aad7 configure.ac
--- a/configure.ac	Sat Dec 27 21:38:23 2008 +0000
+++ b/configure.ac	Sun Dec 28 12:24:06 2008 +0000
@@ -2250,7 +2250,8 @@
   *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
@@ -2260,6 +2261,7 @@
       AC_MSG_WARN([gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong])
       xemacs_cc_cc_mismatch=yes ;;
     esac
+  fi 
   dnl #### Add other detectable mismatches here.
 fi
 
Stephen, were you seeing messages like the following when you tested the
corresponding change? What version(s) of autoconf did you test it with?  

Extracting information from the machine- and system-dependent headers...
./configure: line 10356: syntax error near unexpected token `;;'
./configure: line 10356: `      xemacs_cc_cc_mismatch=yes ;;'



-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?



More information about the XEmacs-Beta mailing list