[cogl/wip/rig: 16/34] check if we need to explicitly link with a libiconv library



commit 3f6c0c1dc6e6a0adc2143e42e4d19737392525ba
Author: Robert Bragg <robert linux intel com>
Date:   Wed Mar 12 15:36:07 2014 +0000

    check if we need to explicitly link with a libiconv library

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bffc31b..f4511a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1444,6 +1444,7 @@ AC_CHECK_HEADERS(getopt.h sys/time.h sys/wait.h pwd.h langinfo.h iconv.h localch
 AC_CHECK_HEADER(alloca.h, [HAVE_ALLOCA_H=1], [HAVE_ALLOCA_H=0])
 AC_SUBST(HAVE_ALLOCA_H)
 
+AC_CHECK_FUNC(iconv_open, [], [COGL_DEP_LIBS="$COGL_DEP_LIBS -liconv"])
 
 dnl ================================================================
 dnl Platform values


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