diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-06-11 15:13:06 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-06-11 15:13:06 +0000 |
commit | 448be9fa3dcb50ff4b160a1b1566b20129731f3a (patch) | |
tree | eb48be71fe0945537bf1aa7fef297cc2f68f89e5 /m4/iconv.m4 | |
parent | ba717771e1356acbc7c4c35cb2828098a5a31675 (diff) | |
download | xine-lib-448be9fa3dcb50ff4b160a1b1566b20129731f3a.tar.gz xine-lib-448be9fa3dcb50ff4b160a1b1566b20129731f3a.tar.bz2 |
Add xine-specific changes to the new intl files, other little correction.
CVS patchset: 8034
CVS date: 2006/06/11 15:13:06
Diffstat (limited to 'm4/iconv.m4')
-rw-r--r-- | m4/iconv.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/iconv.m4 b/m4/iconv.m4 index 654c41589..5ed7c43ae 100644 --- a/m4/iconv.m4 +++ b/m4/iconv.m4 @@ -15,6 +15,22 @@ AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) + + dnl + dnl xine: added the prefix /usr/local on FreeBSD if none specified + dnl + if test -z "$INCICONV"; then + case "$host" in + *-*-freebsd*) + dir=/usr/local + if test -d $dir/include; then INCICONV="$INCICONV -I$dir/include"; fi + if test -d $dir/lib; then + LIBICONV="$LIBICONV -L$dir/lib" + LTLIBICONV="$LTLIBICONV -L$dir/lib" + fi + ;; + esac + fi ]) AC_DEFUN([AM_ICONV_LINK], |