source: trunk/essentials/sys-devel/automake-1.4/m4/error.m4

Last change on this file was 3126, checked in by bird, 18 years ago

merged OS/2 changes.

File size: 509 bytes
Line 
1dnl From Jim Meyering. Use this if you use the GNU error.[ch].
2dnl FIXME: Migrate into libit
3
4AC_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 if test -n "$OBJEXT"; then
11 LIBOBJS="$LIBOBJS error.$OBJEXT"
12 else
13 LIBOBJS="$LIBOBJS error.o"
14 fi
15 fi
16 AC_SUBST(LIBOBJS)dnl
17])
Note: See TracBrowser for help on using the repository browser.