]> git.pld-linux.org Git - packages/gal1.git/blame - gal1-iconv-in-libc.patch
- update configure to build with current intltool; release 2
[packages/gal1.git] / gal1-iconv-in-libc.patch
CommitLineData
20e17aea
JB
1--- gal-0.24/configure.in.orig 2004-04-15 22:43:28.000000000 +0200
2+++ gal-0.24/configure.in 2004-04-15 22:45:33.984271267 +0200
3@@ -115,6 +115,7 @@
4
5 save_CFLAGS="$CFLAGS"
6 save_LIBS="$LIBS"
7+AC_CHECK_FUNC(iconv,[],[
8 CFLAGS="$CFLAGS $ICONV_CFLAGS"
9 LIBS="$LIBS $ICONV_LIBS -liconv"
10 AC_CACHE_CHECK(for iconv in -liconv, ac_cv_libiconv, AC_TRY_LINK([
11@@ -123,6 +124,7 @@
12 iconv_t cd;
13 cd = iconv_open ("UTF-8", "ISO-8859-1");
14 ], ac_cv_libiconv=yes, ac_cv_libiconv=no))
15+])
16 if test $ac_cv_libiconv = yes; then
17 ICONV_LIBS="$ICONV_LIBS -liconv"
18 have_iconv=yes
This page took 0.121358 seconds and 4 git commands to generate.