Line | |
---|
1 | dnl From Jim Meyering. Use this if you use the GNU error.[ch].
|
---|
2 | dnl FIXME: Migrate into libit
|
---|
3 |
|
---|
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 | 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.