summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-07-21 11:45:17 +0000
committerwlemb <wlemb>2003-07-21 11:45:17 +0000
commit24cd83750ebc3de05932f5be3c33867f76735dc8 (patch)
tree868a98f2bc1c57e94d40d314b8f75cc54153dc49 /aclocal.m4
parentb6f0076331b49e3d4b7ca8693cc8c295fdd2e825 (diff)
downloadgroff-24cd83750ebc3de05932f5be3c33867f76735dc8.tar.gz
* aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
* configure, src/include/config.hin: Regenerated. * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW. * PROBLEMS: Add solution for UTF-8 problem with hyphens.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 4b1b68ec..af9543e2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -213,13 +213,14 @@ AC_LANG_POP(C++)])dnl
dnl
dnl
AC_DEFUN(GROFF_SYS_ERRLIST,
-[AC_MSG_CHECKING([for sys_errlist[] in <errno.h> or <stdio.h>])
+[AC_MSG_CHECKING([for sys_errlist[] in <errno.h>, <stdio.h>, or <stdlib.h>])
AC_TRY_COMPILE([#include <errno.h>
-#include <stdio.h>],
+#include <stdio.h>
+#include <stdlib.h>],
[int k; k = (int)sys_errlist[0];],
AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_ERRLIST, 1,
- [Define if you have sys_errlist in <errno.h>
- or in <stdio.h>.]),
+ [Define if you have sys_errlist in <errno.h>,
+ <stdio.h>, or <stdlib.h>.]),
AC_MSG_RESULT(no))])dnl
dnl
dnl