[vlc-devel] commit: samba: simplify the configure test. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Jun 26 09:30:17 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jun 26 09:01:38 2009 +0200| [26ad82e32be3ef852e577ab320db03e9a55f3c5a] | committer: Rémi Duraffort
samba: simplify the configure test.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26ad82e32be3ef852e577ab320db03e9a55f3c5a
---
configure.ac | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3c822c4..fb9bb48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2250,15 +2250,10 @@ dnl
AC_ARG_ENABLE(smb,
[ --enable-smb smb input module (default enabled)])
if test "${enable_smb}" != "no"; then
- AC_CHECK_HEADERS(libsmbclient.h,
- [ VLC_ADD_PLUGIN([access_smb])
- VLC_ADD_LIBS([access_smb],[-lsmbclient]) ],
- [ if test -n "${enable_smb}"; then
- AC_MSG_ERROR([cannot find libsmbclient headers])
- fi ])
- AC_CHECK_MEMBER([struct _SMBCCTX.close_fn],
- AC_DEFINE([HAVE__SMBCCTX_CLOSE_FN], 1, [Define if samba has _SMBCCTX.close_fn]),,
- [#include <libsmbclient.h>])
+ AC_CHECK_HEADERS(libsmbclient.h, [
+ VLC_ADD_PLUGIN([access_smb])
+ VLC_ADD_LIBS([access_smb],[-lsmbclient])
+ ],[AC_MSG_ERROR([cannot find libsmbclient headers])])
fi
dnl
More information about the vlc-devel
mailing list