>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes:

Lars> Darn, I jinxed it with yesterdays post...

Actually you are concerned only if somewhere you have passed a single
quoted set of includes not terminating with a new line: the `#' eats
the closing paren.

Apply this.

? acgeneral.m4.ann
? diffs
? todo
? f.ps
? update-log
? old-stds
? patches
? cross-test-0.tar.gz
? applied
? quote-hash.m4
? old-patches
? configure.2
? check.log
? diffs.applied
? objexe.txt
? cvapply.patch.applied
? doc/todo
? m4/select.m4
? tests/diffs
? tests/testsuite.log
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.659
diff -u -u -r1.659 acgeneral.m4
--- acgeneral.m4 2001/01/17 08:54:52 1.659
+++ acgeneral.m4 2001/01/17 13:46:59
@@ -2325,8 +2325,11 @@
 # If INCLUDES is empty, expand in default includes, otherwise in
 # INCLUDES.
 AC_DEFUN([AC_INCLUDES_DEFAULT],
-[m4_default([$1], [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
-$ac_includes_default])])
+[m4_if([$1], [],
+       [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
+$ac_includes_default],
+       [$1
+])])
 
 
 

first.  I'm not checking this in until I'm sure the test suite knows
how to catch it.

Thanks to Jim for catching this.

I plan to

1. Make sure divert push/pop are balanced.
2. Remove the `feature' which tolerates macros names in comments.
   (i) m4sugar is not supposed to know about comments...
   (ii) because of this, it hid this in the output of Jim's configure


-#line 11651 "configure"
-#include "confdefs.h"
-#include <stdio.h>[]AC_PROVIDE([AC_INCLUDES_DEFAULT])[]_m4_defun_epi([AC_INCLUD
ES_DEFAULT])
-int
-main ()

Reply via email to