Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 453532
Collapse All | Expand All

(-)m4/input.m4 (-3 / +1 lines)
Lines 79-87 Link Here
79
    dnl libsmbclient
79
    dnl libsmbclient
80
    XINE_ARG_ENABLE([samba], [Enable support for the Samba plugin])
80
    XINE_ARG_ENABLE([samba], [Enable support for the Samba plugin])
81
    if test x"$enable_samba" != x"no"; then
81
    if test x"$enable_samba" != x"no"; then
82
        AC_CHECK_LIB([smbclient], [smbc_init],
82
        PKG_CHECK_MODULES([LIBSMBCLIENT], [smbclient], [have_samba=yes], [have_samba=no])
83
                     [AC_CHECK_HEADERS([libsmbclient.h], [have_samba=yes LIBSMBCLIENT_LIBS="-lsmbclient"])])
84
        AC_SUBST(LIBSMBCLIENT_LIBS)
85
        if test x"$hard_enable_samba" = x"yes" && test x"$have_samba" != x"yes"; then
83
        if test x"$hard_enable_samba" = x"yes" && test x"$have_samba" != x"yes"; then
86
            AC_MSG_ERROR([Samba support requested, but Samba not found])
84
            AC_MSG_ERROR([Samba support requested, but Samba not found])
87
        fi
85
        fi
(-)src/input/Makefile.am (+1 lines)
Lines 145-150 Link Here
145
145
146
xineplug_inp_smb_la_SOURCES = input_smb.c
146
xineplug_inp_smb_la_SOURCES = input_smb.c
147
xineplug_inp_smb_la_LIBADD = $(XINE_LIB) $(LIBSMBCLIENT_LIBS) $(LTLIBINTL)
147
xineplug_inp_smb_la_LIBADD = $(XINE_LIB) $(LIBSMBCLIENT_LIBS) $(LTLIBINTL)
148
xineplug_inp_smb_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSMBCLIENT_CFLAGS)
148
149
149
xineplug_inp_pvr_la_SOURCES = input_pvr.c
150
xineplug_inp_pvr_la_SOURCES = input_pvr.c
150
xineplug_inp_pvr_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL)
151
xineplug_inp_pvr_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL)

Return to bug 453532