1999-09-25 Ben Elliston <bje@cygnus.com>

* acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
	number of arguments are collected. Fix for autoconf/10.
This commit is contained in:
Ben Elliston 1999-09-25 02:09:46 +00:00
parent f229e6327e
commit 61389970b0
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-09-25 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
number of arguments are collected. Fix for autoconf/10.
1999-09-24 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER

View File

@ -2026,6 +2026,10 @@ dnl link name in DEST...
dnl AC_LINK_FILES(SOURCE..., DEST...)
AC_DEFUN(AC_LINK_FILES,
[dnl
ifelse($#, 2, , dnl
[errprint(__file__:__line__: incorrect number of arguments to [AC_LINK_FILES]
)]
AC_MSG_ERROR([aborting due to error at __file__:__line__]))dnl
define([AC_LIST_FILES], ifdef([AC_LIST_FILES], [AC_LIST_FILES ],)[$1])dnl
define([AC_LIST_LINKS], ifdef([AC_LIST_LINKS], [AC_LIST_LINKS ],)[$2])])

View File

@ -2026,6 +2026,10 @@ dnl link name in DEST...
dnl AC_LINK_FILES(SOURCE..., DEST...)
AC_DEFUN(AC_LINK_FILES,
[dnl
ifelse($#, 2, , dnl
[errprint(__file__:__line__: incorrect number of arguments to [AC_LINK_FILES]
)]
AC_MSG_ERROR([aborting due to error at __file__:__line__]))dnl
define([AC_LIST_FILES], ifdef([AC_LIST_FILES], [AC_LIST_FILES ],)[$1])dnl
define([AC_LIST_LINKS], ifdef([AC_LIST_LINKS], [AC_LIST_LINKS ],)[$2])])