Hash :
715b37d2
Author :
Date :
2003-04-22T03:28:22
(gl_ERROR): Do not put under dynamic conditions some code which expansion is under static control. Patch imported from Akim Demaille's patch to Bison; see <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
#serial 7
AC_DEFUN([gl_ERROR],
[
AC_FUNC_ERROR_AT_LINE
dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
jm_PREREQ_ERROR
])
# Prerequisites of lib/error.c.
AC_DEFUN([jm_PREREQ_ERROR],
[
AC_REQUIRE([AC_HEADER_STDC])
AC_REQUIRE([AC_FUNC_VPRINTF])
AC_CHECK_FUNCS(strerror)
AC_CHECK_DECLS([strerror])
AC_FUNC_STRERROR_R
])