From a8183f1b099238d3c8145e950db611cd3d4b55c6 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 29 May 2002 15:54:38 +0000 Subject: Fixed FreeBSD libgiconv dependencies (Thanks Heiko). CVS patchset: 1964 CVS date: 2002/05/29 15:54:38 --- configure.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure.in') 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], -- cgit v1.2.3