[cogl/rig: 7/13] check if we need to explicitly link with a libiconv library
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/rig: 7/13] check if we need to explicitly link with a libiconv library
- Date: Fri, 14 Mar 2014 03:12:03 +0000 (UTC)
commit fc610f2cdbeea8742268fe8f5343171f13974db2
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]