summaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-07-27 16:26:44 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:13:26 -0400
commit826937ebae068e2ebe59dd37c5f12331f09fe3b9 (patch)
tree2710b8f1e3cfbcb139d6a35910c4b0c719f11ef5 /src/external
parentd6354aa46716751a41ddab86bc64c1c7c218c5cc (diff)
downloadsssd-826937ebae068e2ebe59dd37c5f12331f09fe3b9.tar.gz
sssd-826937ebae068e2ebe59dd37c5f12331f09fe3b9.tar.bz2
sssd-826937ebae068e2ebe59dd37c5f12331f09fe3b9.zip
libipa_hbac: Support case-insensitive comparisons with UTF8
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libunistring.m49
1 files changed, 9 insertions, 0 deletions
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