diff options
author | wl <wl> | 2012-02-26 23:40:11 +0000 |
---|---|---|
committer | wl <wl> | 2012-02-26 23:40:11 +0000 |
commit | 24cd67d24549733edaf3aa9cd06d454ec059cc68 (patch) | |
tree | 18d3853d90a34d83eae1d01defab72c006d8007c /m4/localcharset.m4 | |
parent | 57b1f3fff43204b4d5b1653ed31173158fa6b2b6 (diff) | |
download | groff-24cd67d24549733edaf3aa9cd06d454ec059cc68.tar.gz |
Update configuration files from `gnulib' and `config' repositories..
This also fixes a problem with `iconv' on Solaris 10, as reported in
http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html
* configure.ac: Call `gl_LOCALCHARSET.
Call `AM_ICONV' as C++.
* config.guess, config.rpath, config.sub, install-sh, mkinstalldirs:
Updated.
* m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4,
m4/lib-link.m4, m4/lib-prefix.m4: Updated.
* m4/fcntl-o.m4, m4/localcharset.m4: New files.
* Makefile.in: Updated.
* src/include/localcharset.h, src/libs/libgroff/config.charset,
src/libs/libgroff/localcharset.c: Updated.
* aclocal.m4, configure, src/include/config.hin: Regenerated.
Diffstat (limited to 'm4/localcharset.m4')
-rw-r--r-- | m4/localcharset.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/localcharset.m4 b/m4/localcharset.m4 new file mode 100644 index 00000000..8010379b --- /dev/null +++ b/m4/localcharset.m4 @@ -0,0 +1,17 @@ +# localcharset.m4 serial 7 +dnl Copyright (C) 2002, 2004, 2006, 2009-2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_LOCALCHARSET], +[ + dnl Prerequisites of lib/localcharset.c. + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_REQUIRE([gl_FCNTL_O_FLAGS]) + AC_CHECK_DECLS_ONCE([getc_unlocked]) + + dnl Prerequisites of the lib/Makefile.am snippet. + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([gl_GLIBC21]) +]) |