source: projects/specs/trunk/nonfree/self-build-xbmc/xbmc-12.0-use-pkgconfig-for-samba.patch @ 7517

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)
  • xbmc/configure.in

    old new  
    13511351 
    13521352# samba 
    13531353if 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)]) 
    13561356    USE_LIBSMBCLIENT=0 
    13571357else 
    13581358  AC_MSG_RESULT($samba_disabled) 
     
    13601360fi 
    13611361 
    13621362if test "x$use_samba" != "xno"; then 
     1363  INCLUDES="$INCLUDES $SMBCLIENT_CFLAGS";LIBS="$LIBS $SMBCLIENT_LIBS" 
    13631364  AC_DEFINE([HAVE_LIBSMBCLIENT], [1], [Define to 1 if you have Samba installed]) 
    13641365  USE_LIBSMBCLIENT=1 
    13651366fi 
Note: See TracBrowser for help on using the repository browser.