diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b9d850088..7b5974883 100644 --- a/configure.ac +++ b/configure.ac @@ -1124,6 +1124,20 @@ AM_CONDITIONAL(HAVE_GNOME_VFS, test x"$no_gnome_vfs" != "xyes") dnl --------------------------------------------- +dnl libsmbclient support +dnl --------------------------------------------- + +AC_CHECK_LIB(smbclient, smbc_init, + [ AC_CHECK_HEADER(libsmbclient.h, + [ have_libsmbclient=yes + LIBSMBCLIENT_LIBS="-lsmbclient" ], + AC_MSG_RESULT([*** All libsmbclient dependent parts will be disabled ***]))], + AC_MSG_RESULT([*** All libsmbclient dependent parts will be disabled ***])) +AM_CONDITIONAL(HAVE_LIBSMBCLIENT, test x"$have_libsmbclient" = "xyes") +AC_SUBST(LIBSMBCLIENT_LIBS) + + +dnl --------------------------------------------- dnl SUN style audio interface dnl --------------------------------------------- @@ -2279,6 +2293,9 @@ fi if test x"$have_v4l" = "xyes"; then echo " - v4l" fi +if test x"$have_libsmbclient" = "xyes"; then + echo " - smbclient" +fi echo "" dnl Demuxers |