1 # From Jim Meyering. Use this if you use the GNU error.[ch].
2 # FIXME: Migrate into libit
4 AC_DEFUN([AM_FUNC_ERROR_AT_LINE],
5 [AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line,
6 [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");],
7 am_cv_lib_error_at_line=yes,
8 am_cv_lib_error_at_line=no)])
9 if test $am_cv_lib_error_at_line = no; then
10 LIBOBJS="$LIBOBJS error.$ac_objext"