diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-01-22 15:15:30 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-01-22 15:15:30 +0000 |
commit | 432cf97f42c56a958712686e46bc6d02a8cd4561 (patch) | |
tree | cd041cf50dce4733a4647a201695ebf6342d7459 /m4/iconv.m4 | |
parent | f9e55cddc4b81a438a15df718daa45ffe9b751cf (diff) | |
download | xine-lib-432cf97f42c56a958712686e46bc6d02a8cd4561.tar.gz xine-lib-432cf97f42c56a958712686e46bc6d02a8cd4561.tar.bz2 |
**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
Diffstat (limited to 'm4/iconv.m4')
-rw-r--r-- | m4/iconv.m4 | 13 |
1 files changed, 12 insertions, 1 deletions
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" |