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)
|
Rev | Line | |
---|
[7517] | 1 | --- xbmc/configure.in.orig 2013-03-04 01:44:01.000000000 +0900 |
---|
| 2 | +++ xbmc/configure.in 2013-03-04 01:49:32.000000000 +0900 |
---|
| 3 | @@ -1351,8 +1351,8 @@ |
---|
| 4 | |
---|
| 5 | # samba |
---|
| 6 | if test "x$use_samba" != "xno"; then |
---|
| 7 | - AC_CHECK_LIB([smbclient], [main],, |
---|
| 8 | - use_samba=no;AC_MSG_ERROR($missing_library)) |
---|
| 9 | + PKG_CHECK_MODULES([SMBCLIENT],[smbclient],, |
---|
| 10 | + [use_samba="no";AC_MSG_ERROR($missing_library)]) |
---|
| 11 | USE_LIBSMBCLIENT=0 |
---|
| 12 | else |
---|
| 13 | AC_MSG_RESULT($samba_disabled) |
---|
| 14 | @@ -1360,6 +1360,7 @@ |
---|
| 15 | fi |
---|
| 16 | |
---|
| 17 | if test "x$use_samba" != "xno"; then |
---|
| 18 | + INCLUDES="$INCLUDES $SMBCLIENT_CFLAGS";LIBS="$LIBS $SMBCLIENT_LIBS" |
---|
| 19 | AC_DEFINE([HAVE_LIBSMBCLIENT], [1], [Define to 1 if you have Samba installed]) |
---|
| 20 | USE_LIBSMBCLIENT=1 |
---|
| 21 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.