summaryrefslogtreecommitdiff
path: root/app-text/vilistextum/files/vilistextum-2.6.9-prefix.patch
blob: 1ff76250db13b4b88c38d2ab618ddf68888ee7fd (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
25
26
27
* don't look in /usr/local
* try to hack around not being able to use AM_ICONV

--- configure.in.orig	2006-10-23 22:20:19 +0200
+++ configure.in	2010-03-18 19:32:13 +0100
@@ -21,10 +21,6 @@
 AC_HEADER_STDC
 AC_CHECK_HEADERS(getopt.h) 	
 
-dnl add /usr/local
-CFLAGS="$CFLAGS -I/usr/local/include"
-LDFLAGS="$LDFLAGS -L/usr/local/lib"
-
 dnl checking for options
 AC_MSG_CHECKING(if --enable-multibyte specified)
 AC_ARG_ENABLE(multibyte,
@@ -41,7 +37,9 @@
 AC_CHECK_HEADERS(iconv.h,,
 			AC_MSG_ERROR(Need libiconv or iconv.h for multibyte support))
 
-AC_CHECK_LIB(iconv, iconv,,
+dnl iconv_open_into is implemented only in GNU libiconv and not in other
+dnl iconv implementations
+AC_CHECK_LIB(iconv, libiconv_open_into,,
 			AC_MSG_WARN([Generic iconv found but not libiconv. See INSTALL for details]))
 
 dnl setting INTERNAL_LOCALE