diff options
author | jbj <devnull@localhost> | 1998-10-08 18:49:59 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-10-08 18:49:59 +0000 |
commit | 025a69e0d71a094d1dde676d052317a08264296f (patch) | |
tree | 180877c29ed0a8511cf4e873540e945faefef52e /aclocal.m4 | |
parent | 5e2e4ae2ef2d8d0f22e49ff90b14943587ab78a6 (diff) | |
download | rpm-025a69e0d71a094d1dde676d052317a08264296f.tar.gz rpm-025a69e0d71a094d1dde676d052317a08264296f.tar.bz2 rpm-025a69e0d71a094d1dde676d052317a08264296f.zip |
rpmgettext on solaris.
CVS patchset: 2429
CVS date: 1998/10/08 18:49:59
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 3a6b95298..4a6d871ba 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -244,6 +244,20 @@ case "x$am_cv_prog_cc_stdc" in esac ]) +dnl From Jim Meyering. Use this if you use the GNU error.[ch]. +dnl FIXME: Migrate into libit + +AC_DEFUN(AM_FUNC_ERROR_AT_LINE, +[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, + [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], + am_cv_lib_error_at_line=yes, + am_cv_lib_error_at_line=no)]) + if test $am_cv_lib_error_at_line = no; then + LIBOBJS="$LIBOBJS error.o" + fi + AC_SUBST(LIBOBJS)dnl +]) + # Macro to add for using GNU gettext. # Ulrich Drepper <drepper@cygnus.com>, 1995. # |