summaryrefslogtreecommitdiffstats
path: root/src/external/libunistring.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-11-18 12:28:55 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-12-05 13:49:40 -0500
commit46dfa69060f22a443d4ad9d2bf34441ff1adf2d3 (patch)
treefe4e06ce69fb49cb6295b0b18bb3a07cb2fca81e /src/external/libunistring.m4
parent2476cbaad1a5a5ac36a02b7a5fddb33c5139b76a (diff)
downloadsssd-46dfa69060f22a443d4ad9d2bf34441ff1adf2d3.tar.gz
sssd-46dfa69060f22a443d4ad9d2bf34441ff1adf2d3.tar.xz
sssd-46dfa69060f22a443d4ad9d2bf34441ff1adf2d3.zip
RESPONDER: Ensure that all input strings are valid UTF-8
Diffstat (limited to 'src/external/libunistring.m4')
-rw-r--r--src/external/libunistring.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/src/external/libunistring.m4 b/src/external/libunistring.m4
index 69c54fe3f..18ea3e62a 100644
--- a/src/external/libunistring.m4
+++ b/src/external/libunistring.m4
@@ -6,4 +6,9 @@ AC_CHECK_HEADERS(unistr.h,
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])]
+)
+
+AC_CHECK_HEADERS(unistr.h,
+ [AC_CHECK_LIB([unistring], [u8_check], [ 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