summaryrefslogtreecommitdiffstats
path: root/unicode/configure.ac
diff options
context:
space:
mode:
authorSam Varshavchik2015-07-31 08:30:25 -0400
committerSam Varshavchik2015-07-31 08:30:25 -0400
commit84dd6e55bc0069a816d303e51e1f237a36b0c7a5 (patch)
treedde23184f469a31a49812771f1a6a0e3563e6386 /unicode/configure.ac
parent228f4c614680f27acceb807074857c01c753e100 (diff)
downloadcourier-libs-84dd6e55bc0069a816d303e51e1f237a36b0c7a5.tar.bz2
Implement unicode_locale_chset_l()
Diffstat (limited to 'unicode/configure.ac')
-rw-r--r--unicode/configure.ac9
1 files changed, 7 insertions, 2 deletions
diff --git a/unicode/configure.ac b/unicode/configure.ac
index d90dfc9..f2e5227 100644
--- a/unicode/configure.ac
+++ b/unicode/configure.ac
@@ -34,7 +34,12 @@ AC_CHECK_HEADERS(stddef.h wchar.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-
+AC_CHECK_FUNC(nl_langinfo_l, [
+ AC_DEFINE(HAVE_LANGINFO_L,1,[nl_langinfo_l implemented])
+ AC_SUBST(LANGINFO_L,1)
+ ], [
+ AC_SUBST(LANGINFO_L,0)
+ ])
AM_CONDITIONAL(UPDATE_UNICODE, test -f ${srcdir}/UnicodeData.txt)
AC_SYS_LARGEFILE
@@ -77,4 +82,4 @@ CFLAGS="-I.. -I$srcdir/.. $CFLAGS"
CXXFLAGS="-I.. -I$srcdir/.. $CXXFLAGS"
AM_CONDITIONAL(HAVE_DOCS,[test -f $srcdir/docbook/icon.gif])
-AC_OUTPUT(Makefile courier-unicode.spec)
+AC_OUTPUT(Makefile courier-unicode.spec courier-unicode.h)