summaryrefslogtreecommitdiffstats
path: root/src/external/libunistring.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-11-14 11:31:37 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-11-18 12:18:47 -0500
commit6bfda68007ef402e2dc94e674df1e5b83686b0b5 (patch)
tree8629c94ed0bb0232fba5a8944c1a48ef0786d7c7 /src/external/libunistring.m4
parent6125149ebe8b3b993ee7fc3a113cc8164c9cb2e7 (diff)
downloadsssd_unused-6bfda68007ef402e2dc94e674df1e5b83686b0b5.tar.gz
sssd_unused-6bfda68007ef402e2dc94e674df1e5b83686b0b5.tar.xz
sssd_unused-6bfda68007ef402e2dc94e674df1e5b83686b0b5.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 69c54fe3..18ea3e62 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