Hi!

Using autoconf 2.49a, I often found fi's glued to following commands.
Obviously, a newline is missing. The cause is an ARG_WITH or ARG_ENABLE
command with a dnl at its end - autoconf 2.13 seems to have generated a
bogus newline, so that "everyone" removed it with a dnl. So either remove
the dnl in ARG_WITH/ENABLE, or add a trailing ; to the fi - that way, no
bogus newline is generated, and nothing is glued together.

--snip--
--- /studi/kuhlmann/cvs-gnu/autoconf/acgeneral.m4       Mon Aug  7 14:33:18 2000
+++ /studi/kuhlmann/cvs-gnu/autoconf-local/acgeneral.m4 Sat Aug 12 18:22:10 2000
@@ -2048,7 +2077,7 @@
   $3
 m4_ifvanl([$4], [else
   $4])dnl
-fi[]dnl
+fi; []dnl
 ])# AC_ARG_ENABLE
 
 
@@ -2076,7 +2105,7 @@
   $3
 m4_ifvanl([$4], [else
   $4])dnl
-fi[]dnl
+fi; []dnl
 ])# AC_ARG_WITH
 
 AU_DEFUN([AC_WITH],
--snip--

This patch fixed all glueing problems for me.

Yours, Rüdiger.

Reply via email to