pattern.
* tests/tools.at (autoconf: the empty token): New test.
+2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * bin/autom4te.in (handle_output): Do not forbid the empty
+ pattern.
+ * tests/tools.at (autoconf: the empty token): New test.
+
2006-06-20 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
foreach (split (/\W+/))
{
$prohibited{$_} = $.
- if /$forbidden/o && !/$allowed/o && ! exists $prohibited{$_};
+ if !/^$/ && /$forbidden/o && !/$allowed/o && ! exists $prohibited{$_};
}
# Performed *last*: the empty quadrigraph.
AT_CLEANUP
+# autoconf: do not forbid the empty token
+# ---------------------------------------
+AT_SETUP([autoconf: the empty token])
+
+AT_DATA_M4SH([configure.ac],
+[[m4_pattern_allow([^foo$])
+m4_divert([0])dnl
+ line that begins with a space
+]])
+
+AT_CHECK_AUTOCONF
+
+AT_CLEANUP
+
+
# autoconf: subdirectories
-# --------------------------------------
+# ------------------------
AT_SETUP([autoconf: subdirectories])
AT_DATA([configure.ac],