# HG changeset patch # User henry # Date 1048270278 0 # Node ID 159998203ce241901d6c5a662b65c75bf23f89ed # Parent 5422c37e6faa51a59c04aefd87199f179106f668 fix compile without libsmbclient diff -r 5422c37e6faa -r 159998203ce2 configure --- a/configure Fri Mar 21 17:59:15 2003 +0000 +++ b/configure Fri Mar 21 18:11:18 2003 +0000 @@ -2340,8 +2340,6 @@ #include int main(void) { smbc_opendir("smb://"); return 0; } EOF - _ld_smb=" -L/usr/lib -lsmbclient" - _inc_smb=" -I/usr/include " if cc_check $_ld_smb $_inc_smb ; then # this is not working for me becouse it needs -ldl and some NIS (YP) libs # $_ld_dl and -lyp ? should be added @@ -2350,9 +2348,13 @@ fi if test "$_smbsupport" = yes; then + _ld_smb=" -L/usr/lib -lsmbclient" + _inc_smb=" -I/usr/include " _def_smbsupport="#define LIBSMBCLIENT" _inputmodules="smb $_inputmodules" else + _ld_smb="" + _inc_smb="" _def_smbsupport="#undef LIBSMBCLIENT" _noinputmodules="smb $_noinputmodules" fi