diff options
author | wlemb <wlemb> | 2003-07-21 11:45:17 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-07-21 11:45:17 +0000 |
commit | 24cd83750ebc3de05932f5be3c33867f76735dc8 (patch) | |
tree | 868a98f2bc1c57e94d40d314b8f75cc54153dc49 /aclocal.m4 | |
parent | b6f0076331b49e3d4b7ca8693cc8c295fdd2e825 (diff) | |
download | groff-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.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |