Revision 7517,
690 bytes
checked in by shaolin, 11 years ago
(diff) |
- self-build-xbmc: add patch to fix build failure with samba
(see BTS:0002557)
|
-
old
|
new
|
|
1351 | 1351 | |
1352 | 1352 | # samba |
1353 | 1353 | if test "x$use_samba" != "xno"; then |
1354 | | AC_CHECK_LIB([smbclient], [main],, |
1355 | | use_samba=no;AC_MSG_ERROR($missing_library)) |
| 1354 | PKG_CHECK_MODULES([SMBCLIENT],[smbclient],, |
| 1355 | [use_samba="no";AC_MSG_ERROR($missing_library)]) |
1356 | 1356 | USE_LIBSMBCLIENT=0 |
1357 | 1357 | else |
1358 | 1358 | AC_MSG_RESULT($samba_disabled) |
… |
… |
|
1360 | 1360 | fi |
1361 | 1361 | |
1362 | 1362 | if test "x$use_samba" != "xno"; then |
| 1363 | INCLUDES="$INCLUDES $SMBCLIENT_CFLAGS";LIBS="$LIBS $SMBCLIENT_LIBS" |
1363 | 1364 | AC_DEFINE([HAVE_LIBSMBCLIENT], [1], [Define to 1 if you have Samba installed]) |
1364 | 1365 | USE_LIBSMBCLIENT=1 |
1365 | 1366 | fi |
Note: See
TracBrowser
for help on using the repository browser.