Index: lib/autoconf/status.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v retrieving revision 1.72 diff -u -r1.72 status.m4 --- lib/autoconf/status.m4 26 Jul 2005 10:14:25 -0000 1.72 +++ lib/autoconf/status.m4 10 Aug 2005 14:54:11 -0000 @@ -258,9 +258,14 @@ # With CONFIG_LINKS, reject DEST=., because it is makes it hard for ./config.status # to guess the links to establish (`./config.status .'). # +# Save the name of the first config header to AH_HEADER. +# m4_define([_AC_CONFIG_REGISTER_DEST], [_AC_CONFIG_UNIQUE([$1], [$3])dnl -m4_if([$1 $3], [LINKS .], [AC_FATAL([invalid destination of a config link: `.'])])dnl +m4_if([$1 $3], [LINKS .], + [AC_FATAL([invalid destination of a config link: `.'])])dnl +m4_if([$1], [HEADERS], + [m4_define_default([AH_HEADER], [$3])])dnl dnl dnl Recognize TAG as an argument to config.status: dnl