Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date:                    2004-11-17
Initial Package Version: 1-rc7
Upstream Status:         To be submitted
Origin:                  Self created
Description:             Modifies configure and make scripts to properly
                         discover the Samba libsmbclient library

diff -Naur xine-lib-1-rc7-orig/configure xine-lib-1-rc7/configure
--- xine-lib-1-rc7-orig/configure	2004-11-04 14:50:41.000000000 +0000
+++ xine-lib-1-rc7/configure	2004-11-17 23:29:30.809125160 +0000
@@ -36496,7 +36496,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsmbclient  $LIBS"
+LIBS="-L/usr/lib/samba -lsmbclient  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF

diff -Naur xine-lib-1-rc7-orig/src/input/Makefile.in xine-lib-1-rc7/src/input/Makefile.in
--- xine-lib-1-rc7-orig/src/input/Makefile.in	2004-11-06 02:46:25.000000000 +0000
+++ xine-lib-1-rc7/src/input/Makefile.in	2004-11-17 23:32:37.202789016 +0000
@@ -430,7 +430,7 @@
 LIBOBJS = @LIBOBJS@
 LIBPNG_CONFIG = @LIBPNG_CONFIG@
 LIBS = @LIBS@
-LIBSMBCLIENT_LIBS = @LIBSMBCLIENT_LIBS@
+LIBSMBCLIENT_LIBS = -L/usr/lib/samba @LIBSMBCLIENT_LIBS@
 LIBSTK_CFLAGS = @LIBSTK_CFLAGS@
 LIBSTK_LIBS = @LIBSTK_LIBS@
 LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
