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 |