From 432cf97f42c56a958712686e46bc6d02a8cd4561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 22 Jan 2006 15:15:30 +0000 Subject: **BUGFIX** Force running iconv test (it runs under AM_GNU_GETTEXT anyway). Add FreeBSD specific prefix to iconv test. Fixed missing autotools symbols on FreeBSD (it's somewhere in system, but xine should contain it too). CVS patchset: 7838 CVS date: 2006/01/22 15:15:30 --- m4/iconv.m4 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'm4/iconv.m4') diff --git a/m4/iconv.m4 b/m4/iconv.m4 index f32a597d6..3a99ea5ac 100644 --- a/m4/iconv.m4 +++ b/m4/iconv.m4 @@ -13,7 +13,18 @@ AC_DEFUN([AM_ICONV], if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi done - ]) + ], [ + dnl + dnl added the prefix /usr/local on FreeBSD if none specified + dnl + case "$host" in + *-*-freebsd*) + dir=/usr/local + if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi + if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi + ;; + esac + ]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" -- cgit v1.2.3