diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-02 11:59:20 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-05 13:49:58 -0500 |
commit | d488258da8c9d419af6d8ac4f88732b6494455c4 (patch) | |
tree | a3000643d499856820d0e5fd198d0a98fb817e7a /src/external | |
parent | 46dfa69060f22a443d4ad9d2bf34441ff1adf2d3 (diff) | |
download | sssd-d488258da8c9d419af6d8ac4f88732b6494455c4.tar.gz sssd-d488258da8c9d419af6d8ac4f88732b6494455c4.tar.xz sssd-d488258da8c9d419af6d8ac4f88732b6494455c4.zip |
Allow using Glib for UTF8 support
Diffstat (limited to 'src/external')
-rw-r--r-- | src/external/glib.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/external/glib.m4 b/src/external/glib.m4 new file mode 100644 index 000000000..fe9a8272e --- /dev/null +++ b/src/external/glib.m4 @@ -0,0 +1,11 @@ +PKG_CHECK_MODULES([GLIB2],[glib-2.0]) + +if test x$has_glib2 != xno; then + SAFE_LIBS="$LIBS" + LIBS="$GLIB2_LIBS" + + AC_CHECK_FUNC([g_utf8_validate], + AC_DEFINE([HAVE_G_UTF8_VALIDATE], [1], + [Define if g_utf8_validate exists])) + LIBS="$SAFE_LIBS" +fi
\ No newline at end of file |