summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 15:54:38 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 15:54:38 +0000
commita8183f1b099238d3c8145e950db611cd3d4b55c6 (patch)
tree0fb2326987fb094106e53c78ab2613d3961d7ddf /configure.in
parentabd3b786b6246c8235271bdc37e313e4a18a822a (diff)
downloadxine-lib-a8183f1b099238d3c8145e950db611cd3d4b55c6.tar.gz
xine-lib-a8183f1b099238d3c8145e950db611cd3d4b55c6.tar.bz2
Fixed FreeBSD libgiconv dependencies (Thanks Heiko).
CVS patchset: 1964 CVS date: 2002/05/29 15:54:38
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ed0f0d051..2cad641a6 100644
--- a/configure.in
+++ b/configure.in
@@ -312,7 +312,27 @@ case "$host_or_hostalias" in
xv_lib="libXv.so"
fi
;;
+ i386-*-freebsd*)
+ AC_CHECK_FILE(/usr/local/include/iconv.h,
+ GICONV_BSD_LIBS="-lgiconv"
+ no_BSDiconv="no",
+ [ no_BSDiconv="yes"
+ echo
+ echo "****************************************************************"
+ echo "* You need to install a recent version of the port 'libiconv' *"
+ echo "* (in /usr/ports/converters/libiconv). *"
+ echo "* The library in this port is needed to successfully compile *"
+ echo "* libsputext plugin. *"
+ echo "****************************************************************"
+ echo
+ ],)
+ ;;
+ *)
+ no_BSDiconv="no"
+ ;;
esac
+AC_SUBST(GICONV_BSD_LIBS)
+AM_CONDITIONAL(HAVE_GICONV, test x$no_BSDiconv != "xyes")
AC_ARG_WITH(xv-path,[ --with-xv-path=path Where $xv_lib is installed],