Mercurial > hg > octave-nkf > gnulib-hg
changeset 3811:733eb9c260d7
(jm_PREREQ_HARD_LOCALE): New macro.
(jm_PREREQ): Use it.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 24 Apr 2002 07:50:48 +0000 |
parents | 9aec15097292 |
children | 6745d71c7651 |
files | m4/prereq.m4 |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,4 +1,4 @@ -#serial 23 +#serial 24 dnl These are the prerequisite macros for files in the lib/ dnl directories of the fileutils, sh-utils, and textutils packages. @@ -11,6 +11,7 @@ jm_PREREQ_ERROR jm_PREREQ_EXCLUDE jm_PREREQ_GETPAGESIZE + jm_PREREQ_HARD_LOCALE jm_PREREQ_HASH jm_PREREQ_HUMAN jm_PREREQ_MBSWIDTH @@ -66,6 +67,12 @@ AC_CHECK_HEADERS(OS.h unistd.h) ]) +AC_DEFUN([jm_PREREQ_HARD_LOCALE], +[ + AC_CHECK_HEADERS(alloca.h locale.h stdbool.h string.h) + AC_CHECK_FUNCS(setlocale) +]) + AC_DEFUN([jm_PREREQ_HASH], [ AC_CHECK_HEADERS(stdlib.h stdbool.h)