guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-202-g514ff


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-202-g514ff6e
Date: Thu, 21 Apr 2011 14:06:01 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=514ff6ea075f436795ee121b4abeac8a5affe866

The branch, stable-2.0 has been updated
       via  514ff6ea075f436795ee121b4abeac8a5affe866 (commit)
      from  c3d8450c757d1a98b44b3556a334bbebe1ad6f37 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 514ff6ea075f436795ee121b4abeac8a5affe866
Author: Andy Wingo <address@hidden>
Date:   Thu Apr 21 12:27:49 2011 +0200

    add test that libunistring was built with iconv support
    
    * configure.ac: Add check that libunistring was built with iconv
      support.  Thanks to Mark Weaver for the debugging and test program.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3bb6bf6..1e85b57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -874,6 +874,27 @@ if test "x$LTLIBUNISTRING" = "x"; then
   AC_MSG_ERROR([GNU libunistring is required, please install it.])
 fi
 
+AC_MSG_CHECKING([that libunistring was built with iconv support])
+save_LIBS=$LIBS
+LIBS="$LIBS $LIBUNISTRING"
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
+#include <uniconv.h>
+#include <unistring/iconveh.h>
+int
+main (int argc, char *argv[])
+{
+  size_t result_size;
+  return (NULL == u32_conv_from_encoding ("ASCII", iconveh_question_mark,
+                                         "a", 1,
+                                         NULL, NULL, &result_size));
+}
+]])],
+    [AC_MSG_RESULT([yes])],
+    [AC_MSG_RESULT([no])
+     AC_MSG_ERROR([No iconv support.  Please recompile libunistring with iconv 
enabled.])]
+    [AC_MSG_RESULT([yes, hopefully (cross-compiling)])])
+LIBS=$save_LIBS
+
 dnl Libffi is needed to compile Guile's foreign function interface, but its
 dnl interface isn't exposed in Guile's API.
 PKG_CHECK_MODULES(LIBFFI, libffi)


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]