1
0
Fork 0

Add the Gnulib monetary module to check for the existence of <monetary.h>

This commit is contained in:
John Zaitseff 2018-08-08 09:57:25 +10:00
parent 0e656681bc
commit 0a1e837c4d
4 changed files with 9 additions and 0 deletions

View File

@ -58,6 +58,10 @@ AM_GNU_GETTEXT_VERSION([0.19.8])
gl_INIT
AS_IF([test "x$ac_cv_header_monetary_h" != xyes], [
AC_MSG_ERROR([requires <monetary.h> to exist in the C library])
])
AX_WITH_CURSES
AS_IF([test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes], [
AC_MSG_ERROR([requires an X/Open-compatible Curses library with colour])

2
lib/.gitignore vendored
View File

@ -47,6 +47,7 @@ Makefile.am
/mbtowc.c
/memchr.c
/memchr.valgrind
/monetary.in.h
/ref-add.sin
/ref-del.sin
/stdbool.in.h
@ -96,6 +97,7 @@ Makefile.am
/iconv_open-solaris.h
/limits.h
/locale.h
/monetary.h
/ref-add.sed
/ref-del.sed
/stddef.h

1
m4/.gitignore vendored
View File

@ -53,6 +53,7 @@
/mbtowc.m4
/memchr.m4
/mmap-anon.m4
/monetary_h.m4
/multiarch.m4
/nls.m4
/nocrash.m4

View File

@ -47,6 +47,7 @@
# locale \
# mbrtowc \
# mbsrtowcs \
# monetary \
# stdbool \
# stdio \
# striconv \
@ -74,6 +75,7 @@ gl_MODULES([
locale
mbrtowc
mbsrtowcs
monetary
stdbool
stdio
striconv