blob: 1ed3ddc54d5185410ddb1a83dc65c45be71a6832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- openmotif-2.3.0-orig/configure.ac 2006-12-05 12:53:29.000000000 +0100
+++ openmotif-2.3.0/configure.ac 2008-04-24 18:39:42.000000000 +0200
@@ -221,7 +221,8 @@
if test "$enable_utf8" = "yes"
then
AC_DEFINE([UTF8_SUPPORTED], [1], [UTF8 is supported])
- AC_CHECK_LIB([iconv], [iconv_open])
+ AC_SEARCH_LIBS([iconv_open], [iconv], ,
+ AC_SEARCH_LIBS([libiconv_open], [iconv]))
fi
AC_FIND_XFT
--- openmotif-2.3.0-orig/lib/Xm/ResEncod.c 2006-11-21 20:50:31.000000000 +0100
+++ openmotif-2.3.0/lib/Xm/ResEncod.c 2008-07-01 20:29:19.000000000 +0200
@@ -50,7 +50,9 @@
#endif
#include <string.h>
#include <ctype.h>
+#ifdef UTF8_SUPPORTED
#include <iconv.h>
+#endif
#include <errno.h>
#include <Xm/XmosP.h>
#include "MessagesI.h"
|