From 826937ebae068e2ebe59dd37c5f12331f09fe3b9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 27 Jul 2011 16:26:44 -0400 Subject: libipa_hbac: Support case-insensitive comparisons with UTF8 --- src/external/libunistring.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/external/libunistring.m4 (limited to 'src/external') diff --git a/src/external/libunistring.m4 b/src/external/libunistring.m4 new file mode 100644 index 00000000..69c54fe3 --- /dev/null +++ b/src/external/libunistring.m4 @@ -0,0 +1,9 @@ +AC_CHECK_HEADERS(unistr.h, + [AC_CHECK_LIB([unistring], [u8_strlen], [ UNISTRING_LIBS="-lunistring" ], [AC_MSG_ERROR([No usable libunistring library found])])], + [AC_MSG_ERROR([libunistring header files are not installed])] +) + +AC_CHECK_HEADERS(unicase.h, + [AC_CHECK_LIB([unistring], [u8_casecmp], [ UNISTRING_LIBS="-lunistring" ], [AC_MSG_ERROR([No usable libunistring library found])])], + [AC_MSG_ERROR([libunistring header files are not installed])] +) \ No newline at end of file -- cgit