+2008-03-24 Eric Blake <ebb9@byu.net>
+
+ Work with M4 1.6 change to FIFO m4wrap.
+ * configure.ac (m4_wrap): Allow bootstrapping with autoconf 2.59.
+ * lib/m4sugar/m4sugar.m4 (m4_wrap): Force LIFO m4_wrap behavior
+ for 2.59 (2.60 already handles FIFO behavior).
+ Reported by Ralf Wildenhues.
+
2003-11-06 Akim Demaille <akim@epita.fr>
Version 2.59.
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003
+# Copyright (C) 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2008
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# We need AC_CONFIG_TESTDIR.
AC_PREREQ([2.57])
+# M4 1.6 and newer have FIFO m4wrap, as mandated by POSIX, but we want
+# LIFO m4_wrap.
+m4_define([m4_wrap],
+[m4_ifdef([_$0_text],
+ [m4_define([_$0_text], [$1]m4_defn([_$0_text]))],
+ [m4_define([_$0_text], [$1])m4_builtin([m4wrap],
+ [m4_default(m4_defn([_$0_text])m4_undefine([_$0_text]))])])])
+
AC_INIT([GNU Autoconf], [2.59], [bug-autoconf@gnu.org])
AC_SUBST([PACKAGE_NAME])dnl
AC_CONFIG_SRCDIR([ChangeLog])
# Base M4 layer.
# Requires GNU M4.
#
-# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2008 Free Software Foundation,
# Inc.
#
# This program is free software; you can redistribute it and/or modify
## 13. Setting M4sugar up. ##
## ------------------------ ##
+# M4 1.6 and newer have FIFO m4wrap, as mandated by POSIX, but we want
+# LIFO m4_wrap.
+m4_define([m4_wrap],
+[m4_ifdef([_$0_text],
+ [m4_define([_$0_text], [$1]m4_defn([_$0_text]))],
+ [m4_define([_$0_text], [$1])m4_builtin([m4wrap],
+ [m4_default(m4_defn([_$0_text])m4_undefine([_$0_text]))])])])
# m4_init
# -------