mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r22103: No code change. This is a spring time end of line clesnup checkin.
(This used to be commit 3ae99e5924a8d20f920faddf823f43fb73ee4c6e)
This commit is contained in:
parent
a6209ac56a
commit
ab8bbffd65
@ -128,15 +128,15 @@ LIBADDNS_MINOR=1
|
||||
|
||||
FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ @SMBWRAP_INC@ $(CPPFLAGS)
|
||||
FLAGS2 =
|
||||
FLAGS3 =
|
||||
FLAGS4 =
|
||||
FLAGS3 =
|
||||
FLAGS4 =
|
||||
FLAGS5 = $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4)
|
||||
FLAGS = $(ISA) $(FLAGS5) -I$(srcdir)/lib -D_SAMBA_BUILD_=3
|
||||
|
||||
PASSWD_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DPRIVATE_DIR=\"$(PRIVATE_DIR)\"
|
||||
PATH_FLAGS1 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DSBINDIR=\"$(SBINDIR)\"
|
||||
PATH_FLAGS2 = $(PATH_FLAGS1) -DBINDIR=\"$(BINDIR)\"
|
||||
PATH_FLAGS3 = $(PATH_FLAGS2) -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
|
||||
PATH_FLAGS3 = $(PATH_FLAGS2) -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
|
||||
PATH_FLAGS4 = $(PATH_FLAGS3) -DSWATDIR=\"$(SWATDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\"
|
||||
PATH_FLAGS5 = $(PATH_FLAGS4) -DLIBDIR=\"$(LIBDIR)\" \
|
||||
-DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"@SHLIBEXT@\"
|
||||
@ -158,7 +158,7 @@ BIN_PROGS3 = bin/smbpasswd@EXEEXT@ bin/rpcclient@EXEEXT@ bin/smbcacls@EXEEXT@ \
|
||||
bin/profiles@EXEEXT@ bin/ntlm_auth@EXEEXT@ \
|
||||
bin/smbcquotas@EXEEXT@ bin/eventlogadm@EXEEXT@
|
||||
BIN_PROGS4 = bin/ldbedit@EXEEXT@ bin/ldbsearch@EXEEXT@ bin/ldbadd@EXEEXT@ \
|
||||
bin/ldbdel@EXEEXT@ bin/ldbmodify@EXEEXT@
|
||||
bin/ldbdel@EXEEXT@ bin/ldbmodify@EXEEXT@
|
||||
|
||||
TORTURE_PROGS = bin/smbtorture@EXEEXT@ bin/msgtest@EXEEXT@ \
|
||||
bin/masktest@EXEEXT@ bin/locktest@EXEEXT@ \
|
||||
@ -279,11 +279,11 @@ READLINE_OBJ = lib/readline.o
|
||||
|
||||
# Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
|
||||
# Be sure to include them into your application
|
||||
POPT_LIB_OBJ = lib/popt_common.o
|
||||
POPT_LIB_OBJ = lib/popt_common.o
|
||||
|
||||
PARAM_OBJ = dynconfig.o param/loadparm.o param/params.o lib/sharesec.o
|
||||
|
||||
KRBCLIENT_OBJ = libads/kerberos.o libads/ads_status.o
|
||||
KRBCLIENT_OBJ = libads/kerberos.o libads/ads_status.o
|
||||
|
||||
LIBADDNS_OBJ0 = libaddns/dnsrecord.o libaddns/dnsutils.o libaddns/dnssock.o \
|
||||
libaddns/dnsgss.o libaddns/dnsmarshall.o
|
||||
@ -300,9 +300,9 @@ LIBADS_OBJ = libads/ldap.o libads/ldap_printer.o libads/sasl.o \
|
||||
libads/authdata.o libads/cldap.o
|
||||
|
||||
LIBADS_SERVER_OBJ = libads/util.o libads/kerberos_verify.o \
|
||||
libads/ldap_schema.o
|
||||
libads/ldap_schema.o
|
||||
|
||||
SECRETS_OBJ = passdb/secrets.o passdb/machine_sid.o
|
||||
SECRETS_OBJ = passdb/secrets.o passdb/machine_sid.o
|
||||
|
||||
LIBNMB_OBJ = libsmb/unexpected.o libsmb/namecache.o libsmb/nmblib.o \
|
||||
libsmb/namequery.o libsmb/conncache.o libads/dns.o
|
||||
@ -350,13 +350,13 @@ RPC_NETLOG_OBJ = rpc_server/srv_netlog.o rpc_server/srv_netlog_nt.o
|
||||
RPC_SAMR_OBJ = rpc_server/srv_samr.o rpc_server/srv_samr_nt.o \
|
||||
rpc_server/srv_samr_util.o
|
||||
|
||||
RPC_UNIXINFO_OBJ = librpc/gen_ndr/srv_unixinfo.o rpc_server/srv_unixinfo_nt.o
|
||||
RPC_UNIXINFO_OBJ = librpc/gen_ndr/srv_unixinfo.o rpc_server/srv_unixinfo_nt.o
|
||||
REGFIO_OBJ = registry/regfio.o
|
||||
|
||||
RPC_EPMAPPER_OBJ = librpc/gen_ndr/srv_epmapper.o rpc_server/srv_epmapper_nt.o
|
||||
|
||||
RPC_REG_OBJ = librpc/gen_ndr/srv_winreg.o rpc_server/srv_winreg_nt.o $(REGFIO_OBJ)
|
||||
RPC_INITSHUTDOWN_OBJ = librpc/gen_ndr/srv_initshutdown.o rpc_server/srv_initshutdown_nt.o
|
||||
RPC_INITSHUTDOWN_OBJ = librpc/gen_ndr/srv_initshutdown.o rpc_server/srv_initshutdown_nt.o
|
||||
|
||||
RPC_LSA_DS_OBJ = rpc_server/srv_lsa_ds.o rpc_server/srv_lsa_ds_nt.o
|
||||
|
||||
@ -373,7 +373,7 @@ RPC_NTSVCS_OBJ = rpc_server/srv_ntsvcs.o rpc_server/srv_ntsvcs_nt.o
|
||||
|
||||
RPC_DFS_OBJ = librpc/gen_ndr/srv_dfs.o rpc_server/srv_dfs_nt.o
|
||||
|
||||
RPC_SPOOLSS_OBJ = rpc_server/srv_spoolss.o rpc_server/srv_spoolss_nt.o
|
||||
RPC_SPOOLSS_OBJ = rpc_server/srv_spoolss.o rpc_server/srv_spoolss_nt.o
|
||||
|
||||
RPC_EVENTLOG_OBJ = rpc_server/srv_eventlog.o rpc_server/srv_eventlog_nt.o rpc_server/srv_eventlog_lib.o
|
||||
|
||||
@ -388,7 +388,7 @@ RPC_PARSE_OBJ = rpc_parse/parse_lsa.o $(RPC_PARSE_OBJ2) \
|
||||
rpc_parse/parse_samr.o \
|
||||
rpc_parse/parse_ds.o rpc_parse/parse_spoolss.o \
|
||||
rpc_parse/parse_eventlog.o rpc_parse/parse_buffer.o \
|
||||
rpc_parse/parse_ntsvcs.o rpc_parse/parse_svcctl.o $(REGOBJS_OBJ)
|
||||
rpc_parse/parse_ntsvcs.o rpc_parse/parse_svcctl.o $(REGOBJS_OBJ)
|
||||
|
||||
RPC_CLIENT_OBJ = rpc_client/cli_pipe.o
|
||||
|
||||
@ -506,7 +506,7 @@ PRINTING_OBJ = printing/pcap.o printing/print_svid.o printing/print_aix.o \
|
||||
printing/print_iprint.o printing/print_test.o
|
||||
|
||||
PRINTBASE_OBJ = printing/notify.o printing/printing_db.o
|
||||
PRINTBACKEND_OBJ = printing/printing.o printing/nt_printing.o $(PRINTBASE_OBJ)
|
||||
PRINTBACKEND_OBJ = printing/printing.o printing/nt_printing.o $(PRINTBASE_OBJ)
|
||||
|
||||
SMBD_OBJ = $(SMBD_OBJ_BASE) $(SMBD_OBJ_MAIN)
|
||||
NMBD_OBJ1 = nmbd/asyncdns.o nmbd/nmbd.o nmbd/nmbd_become_dmb.o \
|
||||
@ -526,7 +526,7 @@ NMBD_OBJ = $(NMBD_OBJ1) $(PARAM_OBJ) $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
|
||||
$(PROFILE_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ) $(POPT_LIB_OBJ)
|
||||
|
||||
SWAT_OBJ1 = web/cgi.o web/diagnose.o web/startstop.o web/statuspage.o \
|
||||
web/swat.o web/neg_lang.o
|
||||
web/swat.o web/neg_lang.o
|
||||
|
||||
SWAT_OBJ = $(SWAT_OBJ1) $(PARAM_OBJ) $(PRINTING_OBJ) $(LIBSMB_OBJ) \
|
||||
$(LOCKING_OBJ) $(PASSDB_OBJ) $(SECRETS_OBJ) $(KRBCLIENT_OBJ) \
|
||||
@ -638,7 +638,7 @@ NET_OBJ1 = utils/net.o utils/net_ads.o utils/net_domain.o utils/net_help.o \
|
||||
utils/net_rpc_service.o utils/net_rpc_registry.o utils/net_usershare.o \
|
||||
utils/netlookup.o utils/net_sam.o utils/net_rpc_shell.o \
|
||||
utils/net_util.o utils/net_rpc_sh_acct.o utils/net_rpc_audit.o \
|
||||
$(PASSWD_UTIL_OBJ) utils/net_dns.o utils/net_ads_gpo.o
|
||||
$(PASSWD_UTIL_OBJ) utils/net_dns.o utils/net_ads_gpo.o
|
||||
|
||||
NET_OBJ = $(NET_OBJ1) $(PARAM_OBJ) $(SECRETS_OBJ) $(LIBSMB_OBJ) \
|
||||
$(RPC_PARSE_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
|
||||
@ -664,10 +664,10 @@ CIFS_MOUNT_OBJ = client/mount.cifs.o
|
||||
CIFS_UMOUNT_OBJ = client/umount.cifs.o
|
||||
|
||||
NMBLOOKUP_OBJ = utils/nmblookup.o $(PARAM_OBJ) $(LIBNMB_OBJ) $(RPC_PARSE_OBJ1) $(DOSERR_OBJ) \
|
||||
$(LIB_NONSMBD_OBJ) $(POPT_LIB_OBJ) $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
|
||||
$(LIB_NONSMBD_OBJ) $(POPT_LIB_OBJ) $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
|
||||
|
||||
SMBTORTURE_OBJ1 = torture/torture.o torture/nbio.o torture/scanner.o torture/utable.o \
|
||||
torture/denytest.o torture/mangle_test.o
|
||||
torture/denytest.o torture/mangle_test.o
|
||||
|
||||
SMBTORTURE_OBJ = $(SMBTORTURE_OBJ1) $(PARAM_OBJ) \
|
||||
$(LIBSMB_OBJ) $(KRBCLIENT_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
|
||||
@ -679,7 +679,7 @@ MSGTEST_OBJ = torture/msgtest.o $(PARAM_OBJ) $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
|
||||
$(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
|
||||
|
||||
LOCKTEST_OBJ = torture/locktest.o $(PARAM_OBJ) $(LOCKING_OBJ) $(KRBCLIENT_OBJ) \
|
||||
$(LIBSMB_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
|
||||
$(LIBSMB_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
|
||||
|
||||
NSSTEST_OBJ = torture/nsstest.o $(PARAM_OBJ) $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
|
||||
$(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
|
||||
@ -709,15 +709,15 @@ SMBCQUOTAS_OBJ = utils/smbcquotas.o $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
|
||||
$(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(SECRETS_OBJ) $(POPT_LIB_OBJ) \
|
||||
$(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ)
|
||||
|
||||
EVTLOGADM_OBJ0 = utils/eventlogadm.o
|
||||
EVTLOGADM_OBJ0 = utils/eventlogadm.o
|
||||
|
||||
EVTLOGADM_OBJ = $(EVTLOGADM_OBJ0) $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(REGOBJS_OBJ) \
|
||||
$(ERRORMAP_OBJ) $(RPC_PARSE_OBJ1) $(LIBSAMBA_OBJ) $(DOSERR_OBJ) \
|
||||
$(SECRETS_OBJ) \
|
||||
registry/reg_eventlog.o rpc_server/srv_eventlog_lib.o registry/reg_util.o \
|
||||
registry/reg_db.o
|
||||
registry/reg_db.o
|
||||
|
||||
SHARESEC_OBJ0 = utils/sharesec.o
|
||||
SHARESEC_OBJ0 = utils/sharesec.o
|
||||
SHARESEC_OBJ = $(SHARESEC_OBJ0) $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(REGOBJS_OBJ) \
|
||||
$(ERRORMAP_OBJ) $(RPC_PARSE_OBJ1) $(LIBSAMBA_OBJ) $(DOSERR_OBJ) \
|
||||
$(POPT_LIB_OBJ) $(SECRETS_OBJ)
|
||||
@ -746,7 +746,7 @@ RPCTORTURE_OBJ = torture/rpctorture.o \
|
||||
DEBUG2HTML_OBJ = utils/debug2html.o utils/debugparse.o
|
||||
|
||||
SMBFILTER_OBJ = utils/smbfilter.o $(PARAM_OBJ) $(LIBSMB_OBJ) $(SECRETS_OBJ) \
|
||||
$(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ)
|
||||
$(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ)
|
||||
|
||||
PROTO_OBJ = $(SMBD_OBJ_MAIN) $(LIBNDR_OBJ) $(RPCCLIENT_NDR_OBJ) \
|
||||
$(LIBNDR_GEN_OBJ) $(SMBD_OBJ_SRV) $(NMBD_OBJ1) $(LIBSMB_OBJ) \
|
||||
@ -875,7 +875,7 @@ TDBTORTURE_OBJ = tdb/tools/tdbtorture.o $(TDBBASE_OBJ) $(LIBREPLACE_OBJ) \
|
||||
$(SOCKET_WRAPPER_OBJ)
|
||||
|
||||
|
||||
NTLM_AUTH_OBJ1 = utils/ntlm_auth.o utils/ntlm_auth_diagnostics.o
|
||||
NTLM_AUTH_OBJ1 = utils/ntlm_auth.o utils/ntlm_auth_diagnostics.o
|
||||
|
||||
NTLM_AUTH_OBJ = ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ) $(POPT_LIB_OBJ) \
|
||||
libsmb/asn1.o libsmb/spnego.o libsmb/clikrb5.o libads/kerberos.o \
|
||||
@ -948,7 +948,7 @@ IDL_FILES = unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
|
||||
srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
|
||||
epmapper.idl
|
||||
|
||||
idl:
|
||||
idl:
|
||||
@IDL_FILES="$(IDL_FILES)" CPP="$(CPP)" PERL="$(PERL)" \
|
||||
srcdir="$(srcdir)" $(srcdir)/script/build_idl.sh $(PIDL_ARGS)
|
||||
|
||||
@ -995,7 +995,7 @@ MAKEDIR = || exec false; \
|
||||
@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
|
||||
|
||||
# this adds support for precompiled headers. To use it, install a snapshot
|
||||
# of gcc-3.4 and run 'make pch' before you do the main build.
|
||||
# of gcc-3.4 and run 'make pch' before you do the main build.
|
||||
pch: proto_exists
|
||||
rm -f $(builddir)/include/includes.h.gch
|
||||
$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $(srcdir)/include/includes.h -o $(builddir)/include/includes.h.gch
|
||||
@ -1019,7 +1019,7 @@ lib/pidfile.o: lib/pidfile.c
|
||||
|
||||
lib/version.o: lib/version.c include/version.h
|
||||
@echo Compiling $*.c
|
||||
@$(CC) -I. -I$(srcdir) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/lib/version.c -o $@
|
||||
@$(CC) -I. -I$(srcdir) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/lib/version.c -o $@
|
||||
|
||||
smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
|
||||
@echo Compiling $*.c
|
||||
@ -1038,7 +1038,7 @@ bin/smbd@EXEEXT@: proto_exists $(SMBD_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
@echo Linking $@
|
||||
@$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
|
||||
$(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
|
||||
$(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) @POPTLIBS@ @SMBD_LIBS@
|
||||
$(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) @POPTLIBS@ @SMBD_LIBS@
|
||||
|
||||
bin/nmbd@EXEEXT@: proto_exists $(NMBD_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
@echo Linking $@
|
||||
@ -1081,7 +1081,7 @@ bin/smbmount@EXEEXT@: proto_exists $(MOUNT_OBJ) bin/.dummy
|
||||
|
||||
bin/smbmnt@EXEEXT@: proto_exists $(MNT_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@$(CC) $(FLAGS) -o $@ $(MNT_OBJ) $(DYNEXP) $(LDFLAGS)
|
||||
@$(CC) $(FLAGS) -o $@ $(MNT_OBJ) $(DYNEXP) $(LDFLAGS)
|
||||
|
||||
bin/smbumount@EXEEXT@: proto_exists $(UMOUNT_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@ -1173,7 +1173,7 @@ bin/eventlogadm@EXEEXT@: proto_exists $(EVTLOGADM_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
|
||||
bin/sharesec@EXEEXT@: proto_exists $(SHARESEC_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
@echo Linking $@
|
||||
@$(CC) $(FLAGS) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) $(LDAP_LIBS) @POPTLIBS@
|
||||
@$(CC) $(FLAGS) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) $(LDAP_LIBS) @POPTLIBS@
|
||||
|
||||
bin/locktest@EXEEXT@: proto_exists $(LOCKTEST_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@ -1280,7 +1280,7 @@ bin/libmsrpc.a: proto_exists $(CAC_OBJ)
|
||||
@echo Linking libmsrpc non-shared library $@
|
||||
@-$(AR) -rc $@ $(CAC_OBJ)
|
||||
|
||||
# This is probably wrong for anything other than the GNU linker.
|
||||
# This is probably wrong for anything other than the GNU linker.
|
||||
bin/libbigballofmud.@SHLIBEXT@: proto_exists $(LIBBIGBALLOFMUD_OBJ)
|
||||
@echo Linking bigballofmud shared library $@
|
||||
@$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) $(LIBS) \
|
||||
@ -1394,7 +1394,7 @@ bin/winbindd@EXEEXT@: proto_exists $(WINBINDD_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
$(LDAP_LIBS) $(KRB5LIBS) $(LIBS) \
|
||||
@SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
|
||||
|
||||
@SMB_KRB5_LOCATOR@: proto_exists $(SMB_KRB5_LOCATOR_OBJ)
|
||||
@SMB_KRB5_LOCATOR@: proto_exists $(SMB_KRB5_LOCATOR_OBJ)
|
||||
@echo "Linking $@"
|
||||
@$(SHLD) $(LDSHFLAGS) -o $@ $(SMB_KRB5_LOCATOR_OBJ) \
|
||||
$(LDAP_LIBS) $(LIBS) -lcom_err \
|
||||
@ -1403,7 +1403,7 @@ bin/winbindd@EXEEXT@: proto_exists $(WINBINDD_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
bin/pam_winbind.@SHLIBEXT@: $(PAM_WINBIND_OBJ) bin/.dummy
|
||||
@echo "Linking shared library $@"
|
||||
@$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ $(GPLIBS) \
|
||||
@SONAMEFLAG@`basename $@`
|
||||
@SONAMEFLAG@`basename $@`
|
||||
|
||||
bin/builtin.@SHLIBEXT@: proto_exists $(AUTH_BUILTIN_OBJ)
|
||||
@echo "Building plugin $@"
|
||||
@ -1664,7 +1664,7 @@ bin/timelimit@EXEEXT@: script/tests/timelimit.o
|
||||
@echo Linking $@
|
||||
@$(CC) $(FLAGS) -o $@ $(DYNEXP) script/tests/timelimit.o
|
||||
|
||||
install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
|
||||
install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
|
||||
|
||||
|
||||
install-everything: install installmodules
|
||||
@ -1690,7 +1690,7 @@ installcifsmount: @CIFSMOUNT_PROGS@
|
||||
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) $(ROOTSBINDIR)
|
||||
@$(SHELL) script/installbin.sh $(INSTALLPERMS) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
|
||||
|
||||
# Some symlinks are required for the 'probing' of modules.
|
||||
# Some symlinks are required for the 'probing' of modules.
|
||||
# This mechanism should go at some point..
|
||||
installmodules: modules installdirs
|
||||
@$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
|
||||
@ -1780,7 +1780,7 @@ python_clean:
|
||||
|
||||
# revert to the previously installed version
|
||||
revert:
|
||||
@$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
|
||||
@$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
|
||||
@$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
|
||||
|
||||
installman: installdirs
|
||||
@ -1804,7 +1804,7 @@ showlayout:
|
||||
@echo " swatdir: $(SWATDIR)"
|
||||
|
||||
|
||||
uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
|
||||
uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
|
||||
|
||||
uninstallman:
|
||||
@$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
|
||||
@ -1838,21 +1838,21 @@ uninstallmsg:
|
||||
uninstallswat: uninstallmsg
|
||||
@$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
|
||||
|
||||
uninstallclientlib:
|
||||
uninstallclientlib:
|
||||
-$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/libsmbclient.@SHLIBEXT@
|
||||
-$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/libsmbclient.a
|
||||
-rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
|
||||
|
||||
uninstalllibmsrpc:
|
||||
uninstalllibmsrpc:
|
||||
-$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/libmsrpc.@SHLIBEXT@
|
||||
-$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/libmsrpc.a
|
||||
-rm -f $(DESTDIR)${prefix}/include/libmsrpc.h
|
||||
|
||||
uninstalllibsmbsharemodes:
|
||||
uninstalllibsmbsharemodes:
|
||||
-$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/libsmbsharemodes.@SHLIBEXT@
|
||||
-$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/libsmbsharemodes.a
|
||||
|
||||
uninstalllibaddns:
|
||||
uninstalllibaddns:
|
||||
-$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/libaddns.@SHLIBEXT@
|
||||
-$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/libaddns.a
|
||||
|
||||
@ -1949,7 +1949,7 @@ headers:
|
||||
$(MAKE) utils/net_proto.h; \
|
||||
$(MAKE) utils/passwd_proto.h;
|
||||
|
||||
proto: headers
|
||||
proto: headers
|
||||
|
||||
.PHONY: headers proto
|
||||
|
||||
@ -1980,7 +1980,7 @@ realdistclean: distclean
|
||||
finddead:
|
||||
nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
|
||||
nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
|
||||
comm -13 nmused.txt nmfns.txt
|
||||
comm -13 nmused.txt nmfns.txt
|
||||
|
||||
|
||||
# when configure.in is updated, reconfigure
|
||||
@ -1996,7 +1996,7 @@ Makefile: $(srcdir)/Makefile.in config.status
|
||||
######################################################################
|
||||
# Samba Testing Framework
|
||||
|
||||
# Check for NSS module problems.
|
||||
# Check for NSS module problems.
|
||||
test_nss_modules: nss_modules
|
||||
@echo "Testing $(NSS_MODULES) "
|
||||
@for module in $(NSS_MODULES); do \
|
||||
|
@ -36,7 +36,7 @@ pammodulesdir="\${LIBDIR}/security"
|
||||
configdir="\${LIBDIR}"
|
||||
swatdir="\${prefix}/swat"
|
||||
|
||||
AC_ARG_WITH(fhs,
|
||||
AC_ARG_WITH(fhs,
|
||||
[ --with-fhs Use FHS-compliant paths (default=no)],
|
||||
[ case "$withval" in
|
||||
yes)
|
||||
@ -312,7 +312,7 @@ AC_SUBST(NSCD_LIBS)
|
||||
|
||||
## check for --enable-debug first before checking CFLAGS before
|
||||
## so that we don't mix -O and -g
|
||||
AC_ARG_ENABLE(debug,
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug Turn on compiler debugging information (default=no)],
|
||||
[if eval "test x$enable_debug = xyes"; then
|
||||
CFLAGS="${CFLAGS} -g"
|
||||
@ -362,7 +362,7 @@ AC_ARG_WITH(smbtorture4_path,
|
||||
* )
|
||||
smbtorture4_path="$withval"
|
||||
if test -z "$smbtorture4_path" -a ! -f $smbtorture4_path; then
|
||||
AC_MSG_ERROR(['$smbtorture_path' does not exist!])
|
||||
AC_MSG_ERROR(['$smbtorture_path' does not exist!])
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@ -401,7 +401,7 @@ AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Enable heap debugging [default
|
||||
if test "x$enable_dmalloc" = xyes
|
||||
then
|
||||
AC_DEFINE(ENABLE_DMALLOC, 1, [Define to turn on dmalloc debugging])
|
||||
AC_DEFINE(DMALLOC_FUNC_CHECK, 1,
|
||||
AC_DEFINE(DMALLOC_FUNC_CHECK, 1,
|
||||
[Define to check invariants around some common functions])
|
||||
LIBS="$LIBS -ldmalloc"
|
||||
fi
|
||||
@ -437,7 +437,7 @@ dnl Check if we use GNU ld
|
||||
LD=ld
|
||||
AC_PROG_LD_GNU
|
||||
|
||||
dnl Certain versions of GNU ld the default is not to have the
|
||||
dnl Certain versions of GNU ld the default is not to have the
|
||||
dnl --allow-shlib-undefined flag defined. This causes a stackload of
|
||||
dnl warnings when building modules.
|
||||
if test "$ac_cv_prog_gnu_ld" = "yes"; then
|
||||
@ -491,7 +491,7 @@ AC_CACHE_CHECK([that the C compiler understands -Werror],samba_cv_HAVE_Werror, [
|
||||
samba_cv_HAVE_Werror=yes,samba_cv_HAVE_Werror=no,samba_cv_HAVE_Werror=cross)])
|
||||
if test x"$samba_cv_HAVE_Werror" = x"yes"; then
|
||||
Werror_FLAGS="-Werror"
|
||||
else
|
||||
else
|
||||
dnl Check if the C compiler understands -w2
|
||||
AC_CACHE_CHECK([that the C compiler understands -w2],samba_cv_HAVE_w2, [
|
||||
AC_TRY_RUN_STRICT([
|
||||
@ -650,7 +650,7 @@ case "$host_os" in
|
||||
AC_MSG_RESULT([enabling large file support])
|
||||
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES"
|
||||
AC_DEFINE(_LARGE_FILES, 1, [Whether to enable large file support])
|
||||
;;
|
||||
;;
|
||||
#
|
||||
# Defines needed for Solaris 2.6/2.7 aka 7.0 to make it admit
|
||||
# to the existance of large files..
|
||||
@ -923,7 +923,7 @@ AC_CHECK_HEADERS(sys/cdefs.h glob.h)
|
||||
|
||||
# For experimental utmp support (lastlog on some BSD-like systems)
|
||||
AC_CHECK_HEADERS(utmp.h utmpx.h lastlog.h)
|
||||
|
||||
|
||||
AC_CHECK_SIZEOF(int,cross)
|
||||
AC_CHECK_SIZEOF(long,cross)
|
||||
AC_CHECK_SIZEOF(long long,cross)
|
||||
@ -947,7 +947,7 @@ AC_CHECK_TYPE(loff_t,off_t)
|
||||
AC_CHECK_TYPE(offset_t,loff_t)
|
||||
AC_CHECK_TYPE(ssize_t, int)
|
||||
AC_CHECK_TYPE(wchar_t, unsigned short)
|
||||
AC_CHECK_TYPE(comparison_fn_t,
|
||||
AC_CHECK_TYPE(comparison_fn_t,
|
||||
[AC_DEFINE(HAVE_COMPARISON_FN_T, 1,[Whether or not we have comparison_fn_t])])
|
||||
|
||||
############################################
|
||||
@ -1008,7 +1008,7 @@ AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>],
|
||||
[
|
||||
struct sockaddr_un sunaddr;
|
||||
struct sockaddr_un sunaddr;
|
||||
sunaddr.sun_family = AF_UNIX;
|
||||
],
|
||||
samba_cv_unixsocket=yes,samba_cv_unixsocket=no)])
|
||||
@ -1164,7 +1164,7 @@ AC_SUBST(TERMLDFLAGS)
|
||||
# code will generate warnings on one of them unless we have a few
|
||||
# special cases.
|
||||
AC_CHECK_LIB(readline, rl_completion_matches,
|
||||
[AC_DEFINE(HAVE_NEW_LIBREADLINE, 1,
|
||||
[AC_DEFINE(HAVE_NEW_LIBREADLINE, 1,
|
||||
[Do we have rl_completion_matches?])],
|
||||
[],
|
||||
[$TERMLIBS])
|
||||
@ -1202,7 +1202,7 @@ if test x"$ac_cv_func_connect" = x"no"; then
|
||||
esac
|
||||
dnl We can't just call AC_CHECK_FUNCS(connect) here, because the value
|
||||
dnl has been cached.
|
||||
if test x"$ac_cv_lib_socket_connect" = x"yes" ||
|
||||
if test x"$ac_cv_lib_socket_connect" = x"yes" ||
|
||||
test x"$ac_cv_lib_inet_connect" = x"yes"; then
|
||||
# ac_cv_func_connect=yes
|
||||
# don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
|
||||
@ -1286,7 +1286,7 @@ AC_TRY_LINK(
|
||||
],
|
||||
[
|
||||
unw_context_t ctx; unw_cursor_t cur;
|
||||
char buf[256]; unw_word_t off;
|
||||
char buf[256]; unw_word_t off;
|
||||
unw_getcontext(&ctx); unw_init_local(&cur, &ctx);
|
||||
unw_get_proc_name(&cur, buf, sizeof(buf), &off);
|
||||
],
|
||||
@ -1373,7 +1373,7 @@ AC_TRY_COMPILE([
|
||||
AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[])
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
case "$host_os" in
|
||||
*linux*)
|
||||
@ -1454,7 +1454,7 @@ fi
|
||||
# Check whether struct stat has timestamps with sub-second resolution.
|
||||
# At least IRIX and Solaris have these.
|
||||
#
|
||||
# We check that
|
||||
# We check that
|
||||
# all of st_mtim, st_atim and st_ctim exist
|
||||
# all of the members are in fact of type struct timespec
|
||||
#
|
||||
@ -1680,9 +1680,9 @@ case "$host_os" in
|
||||
*linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux])
|
||||
BLDSHARED="true"
|
||||
if test "${ac_cv_gnu_ld_no_default_allow_shlib_undefined}" = "yes"; then
|
||||
LDSHFLAGS="-shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined"
|
||||
LDSHFLAGS="-shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined"
|
||||
else
|
||||
LDSHFLAGS="-shared -Wl,-Bsymbolic"
|
||||
LDSHFLAGS="-shared -Wl,-Bsymbolic"
|
||||
fi
|
||||
DYNEXP="-Wl,--export-dynamic"
|
||||
PICFLAG="-fPIC"
|
||||
@ -1701,7 +1701,7 @@ case "$host_os" in
|
||||
fi
|
||||
else
|
||||
PICFLAG="-KPIC"
|
||||
## ${CFLAGS} added for building 64-bit shared
|
||||
## ${CFLAGS} added for building 64-bit shared
|
||||
## libs using Sun's Compiler
|
||||
LDSHFLAGS="-G \${CFLAGS}"
|
||||
fi
|
||||
@ -1716,7 +1716,7 @@ case "$host_os" in
|
||||
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
|
||||
AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
|
||||
;;
|
||||
*netbsd* | *freebsd* | *dragonfly* )
|
||||
*netbsd* | *freebsd* | *dragonfly* )
|
||||
BLDSHARED="true"
|
||||
LDSHFLAGS="-shared"
|
||||
DYNEXP="-Wl,--export-dynamic"
|
||||
@ -1744,7 +1744,7 @@ case "$host_os" in
|
||||
SHLD="\${LD}"
|
||||
if test "${GCC}" = "yes"; then
|
||||
PICFLAG="-fPIC"
|
||||
else
|
||||
else
|
||||
PICFLAG="-KPIC"
|
||||
fi
|
||||
AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
|
||||
@ -1774,7 +1774,7 @@ case "$host_os" in
|
||||
PICFLAG="+z"
|
||||
if test "${GCC}" = "yes"; then
|
||||
PICFLAG="-fPIC"
|
||||
else
|
||||
else
|
||||
PICFLAG="+z"
|
||||
fi
|
||||
if test "$host_cpu" = "ia64"; then
|
||||
@ -1887,7 +1887,7 @@ AC_MSG_RESULT([$PICFLAG])
|
||||
AC_MSG_CHECKING([NSSSONAMEVERSIONSUFFIX])
|
||||
AC_MSG_RESULT([$NSSSONAMEVERSIONSUFFIX])
|
||||
|
||||
AC_CACHE_CHECK([whether building shared libraries actually works],
|
||||
AC_CACHE_CHECK([whether building shared libraries actually works],
|
||||
[ac_cv_shlib_works],[
|
||||
# try building a trivial shared library
|
||||
ac_cv_shlib_works=no
|
||||
@ -1943,7 +1943,7 @@ if test x"$samba_cv_compiler_supports_ll" = x"yes"; then
|
||||
AC_DEFINE(COMPILER_SUPPORTS_LL,1,[Whether the compiler supports the LL prefix on long long integers])
|
||||
fi
|
||||
|
||||
|
||||
|
||||
AC_CACHE_CHECK([for 64 bit off_t],samba_cv_SIZEOF_OFF_T,[
|
||||
AC_TRY_RUN([#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
@ -2164,7 +2164,7 @@ AC_CACHE_CHECK([for C99 vsnprintf],samba_cv_HAVE_C99_VSNPRINTF,[
|
||||
AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
void foo(const char *format, ...) {
|
||||
void foo(const char *format, ...) {
|
||||
va_list ap;
|
||||
int len;
|
||||
char buf[5];
|
||||
@ -2227,7 +2227,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_NAME=yes,samba_cv_HAVE_UT_UT_NAME=no,samba_cv_HAVE_UT_UT_NAME=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_NAME" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_NAME,1,[Whether the utmp struct has a property ut_name])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_user in utmp],samba_cv_HAVE_UT_UT_USER,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2236,7 +2236,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_USER=yes,samba_cv_HAVE_UT_UT_USER=no,samba_cv_HAVE_UT_UT_USER=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_USER" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_USER,1,[Whether the utmp struct has a property ut_user])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_id in utmp],samba_cv_HAVE_UT_UT_ID,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2245,7 +2245,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_ID=yes,samba_cv_HAVE_UT_UT_ID=no,samba_cv_HAVE_UT_UT_ID=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_ID" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_ID,1,[Whether the utmp struct has a property ut_id])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_host in utmp],samba_cv_HAVE_UT_UT_HOST,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2254,7 +2254,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_HOST=yes,samba_cv_HAVE_UT_UT_HOST=no,samba_cv_HAVE_UT_UT_HOST=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_HOST" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_HOST,1,[Whether the utmp struct has a property ut_host])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_time in utmp],samba_cv_HAVE_UT_UT_TIME,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2263,7 +2263,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_TIME=yes,samba_cv_HAVE_UT_UT_TIME=no,samba_cv_HAVE_UT_UT_TIME=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_TIME" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_TIME,1,[Whether the utmp struct has a property ut_time])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_tv in utmp],samba_cv_HAVE_UT_UT_TV,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2272,7 +2272,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_TV=yes,samba_cv_HAVE_UT_UT_TV=no,samba_cv_HAVE_UT_UT_TV=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_TV" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_TV,1,[Whether the utmp struct has a property ut_tv])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_type in utmp],samba_cv_HAVE_UT_UT_TYPE,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2281,7 +2281,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_TYPE=yes,samba_cv_HAVE_UT_UT_TYPE=no,samba_cv_HAVE_UT_UT_TYPE=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_TYPE" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_TYPE,1,[Whether the utmp struct has a property ut_type])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_pid in utmp],samba_cv_HAVE_UT_UT_PID,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2290,7 +2290,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_PID=yes,samba_cv_HAVE_UT_UT_PID=no,samba_cv_HAVE_UT_UT_PID=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_PID" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_PID,1,[Whether the utmp struct has a property ut_pid])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_exit in utmp],samba_cv_HAVE_UT_UT_EXIT,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2299,7 +2299,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_EXIT=yes,samba_cv_HAVE_UT_UT_EXIT=no,samba_cv_HAVE_UT_UT_EXIT=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_EXIT" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_EXIT,1,[Whether the utmp struct has a property ut_exit])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for ut_addr in utmp],samba_cv_HAVE_UT_UT_ADDR,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -2308,7 +2308,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UT_UT_ADDR=yes,samba_cv_HAVE_UT_UT_ADDR=no,samba_cv_HAVE_UT_UT_ADDR=cross)])
|
||||
if test x"$samba_cv_HAVE_UT_UT_ADDR" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UT_UT_ADDR,1,[Whether the utmp struct has a property ut_addr])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$ac_cv_func_pututline = xyes ; then
|
||||
AC_CACHE_CHECK([whether pututline returns pointer],samba_cv_PUTUTLINE_RETURNS_UTMP,[
|
||||
@ -2328,7 +2328,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_UX_UT_SYSLEN=yes,samba_cv_HAVE_UX_UT_SYSLEN=no,samba_cv_HAVE_UX_UT_SYSLEN=cross)])
|
||||
if test x"$samba_cv_HAVE_UX_UT_SYSLEN" = x"yes"; then
|
||||
AC_DEFINE(HAVE_UX_UT_SYSLEN,1,[Whether the utmpx struct has a property ut_syslen])
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
# end utmp details
|
||||
@ -2362,7 +2362,7 @@ dnl Perhaps we should always add a -L
|
||||
dnl Check lib and lib32 library variants to cater for IRIX ABI-specific
|
||||
dnl installation paths. This gets a little tricky since we might have iconv
|
||||
dnl in both libiconv and in libc. In this case the jm_ICONV test will always
|
||||
dnl succeed when the header is found. To counter this, make sure the
|
||||
dnl succeed when the header is found. To counter this, make sure the
|
||||
dnl library directory is there and check the ABI directory first (which
|
||||
dnl should be harmless on other systems.
|
||||
dnl For IA64 HPUX systems, the libs are located in lib/hpux32 instead of lib.
|
||||
@ -2431,7 +2431,7 @@ dnl AC_CACHE_CHECK([for working iconv],samba_cv_HAVE_NATIVE_ICONV,[
|
||||
|
||||
if test "$default_dos_charset" != "no" -a \
|
||||
"$default_dos_charset" != "cross" -a \
|
||||
"$default_display_charset" != "no" -a \
|
||||
"$default_display_charset" != "no" -a \
|
||||
"$default_display_charset" != "cross" -a \
|
||||
"$default_unix_charset" != "no" -a \
|
||||
"$default_unix_charset" != "cross"
|
||||
@ -2478,7 +2478,7 @@ unset libext
|
||||
|
||||
|
||||
if test x"$ICONV_FOUND" = x"no" -o x"$samba_cv_HAVE_NATIVE_ICONV" != x"yes" ; then
|
||||
AC_MSG_WARN([Sufficient support for iconv function was not found.
|
||||
AC_MSG_WARN([Sufficient support for iconv function was not found.
|
||||
Install libiconv from http://freshmeat.net/projects/libiconv/ for better charset compatibility!])
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_DOS_CHARSET,"ASCII",[Default dos charset name])
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_DISPLAY_CHARSET,"ASCII",[Default display charset name])
|
||||
@ -2754,10 +2754,10 @@ AC_TRY_RUN([#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
main() {
|
||||
main() {
|
||||
struct stat st;
|
||||
char tpl[20]="/tmp/test.XXXXXX";
|
||||
int fd = mkstemp(tpl);
|
||||
char tpl[20]="/tmp/test.XXXXXX";
|
||||
int fd = mkstemp(tpl);
|
||||
if (fd == -1) exit(1);
|
||||
unlink(tpl);
|
||||
if (fstat(fd, &st) != 0) exit(1);
|
||||
@ -2925,7 +2925,7 @@ else
|
||||
dnl
|
||||
dnl Don't check for 64 bit fcntl locking if we know that the
|
||||
dnl glibc2.1 broken check has succeeded.
|
||||
dnl
|
||||
dnl
|
||||
|
||||
AC_CACHE_CHECK([for 64 bit fcntl locking],samba_cv_HAVE_STRUCT_FLOCK64,[
|
||||
AC_TRY_RUN([
|
||||
@ -2964,7 +2964,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
samba_cv_HAVE_STAT_ST_BLOCKS=yes,samba_cv_HAVE_STAT_ST_BLOCKS=no,samba_cv_HAVE_STAT_ST_BLOCKS=cross)])
|
||||
if test x"$samba_cv_HAVE_STAT_ST_BLOCKS" = x"yes"; then
|
||||
AC_DEFINE(HAVE_STAT_ST_BLOCKS,1,[Whether the stat struct has a st_block property])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for st_blksize in struct stat],samba_cv_HAVE_STAT_ST_BLKSIZE,[
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
@ -3088,7 +3088,7 @@ if test x"$samba_cv_WITH_AFS" != x"no" ||
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
|
||||
# check for afs.h
|
||||
have_afs_headers=no
|
||||
AC_CHECK_HEADERS(afs.h afs/afs.h)
|
||||
@ -3180,7 +3180,7 @@ if test x"$with_ldap_support" != x"no"; then
|
||||
# first test for ldap.h and lber.h
|
||||
# (ldap.h is required for this test)
|
||||
AC_CHECK_HEADERS(ldap.h lber.h)
|
||||
|
||||
|
||||
if test x"$ac_cv_header_ldap_h" != x"yes"; then
|
||||
if test x"$with_ldap_support" = x"yes"; then
|
||||
AC_MSG_ERROR(ldap.h is needed for LDAP support)
|
||||
@ -3235,17 +3235,17 @@ if test x"$with_ldap_support" != x"no"; then
|
||||
AC_CACHE_CHECK(whether ldap_set_rebind_proc takes 3 arguments, smb_ldap_cv_ldap_set_rebind_proc, [
|
||||
AC_TRY_COMPILE([
|
||||
#include <lber.h>
|
||||
#include <ldap.h>],
|
||||
[ldap_set_rebind_proc(0, 0, 0);],
|
||||
[smb_ldap_cv_ldap_set_rebind_proc=3],
|
||||
#include <ldap.h>],
|
||||
[ldap_set_rebind_proc(0, 0, 0);],
|
||||
[smb_ldap_cv_ldap_set_rebind_proc=3],
|
||||
[smb_ldap_cv_ldap_set_rebind_proc=2]
|
||||
)
|
||||
)
|
||||
])
|
||||
|
||||
|
||||
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $smb_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
|
||||
|
||||
AC_CHECK_FUNC_EXT(ldap_initialize,$LDAP_LIBS)
|
||||
|
||||
|
||||
if test x"$ac_cv_lib_ext_ldap_ldap_init" = x"yes"; then
|
||||
AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])
|
||||
CPPFLAGS="$CPPFLAGS -DLDAP_DEPRECATED"
|
||||
@ -3268,7 +3268,7 @@ if test x"$with_ldap_support" != x"no"; then
|
||||
else
|
||||
AC_MSG_WARN(libldap is needed for LDAP support)
|
||||
fi
|
||||
|
||||
|
||||
LDAP_LIBS=""
|
||||
with_ldap_support=no
|
||||
fi
|
||||
@ -3355,7 +3355,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
|
||||
# Do no harm to the values of CFLAGS and LIBS while testing for
|
||||
# Kerberos support.
|
||||
|
||||
|
||||
if test x$FOUND_KRB5 = x"no"; then
|
||||
#################################################
|
||||
# check for location of Kerberos 5 install
|
||||
@ -3396,7 +3396,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
LDFLAGS="";export LDFLAGS
|
||||
KRB5_LIBS="`$KRB5CONFIG --libs gssapi`"
|
||||
KRB5_LDFLAGS="`$KRB5CONFIG --libs gssapi | sed s/-lgss.*//`"
|
||||
KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
|
||||
KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
|
||||
KRB5_CPPFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
|
||||
CFLAGS=$ac_save_CFLAGS;export CFLAGS
|
||||
LDFLAGS=$ac_save_LDFLAGS;export LDFLAGS
|
||||
@ -3405,7 +3405,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
else
|
||||
AC_MSG_RESULT(no. Fallback to previous krb5 detection strategy)
|
||||
fi
|
||||
|
||||
|
||||
if test x$FOUND_KRB5 = x"no"; then
|
||||
#################################################
|
||||
# see if this box has the SuSE location for the heimdal krb implementation
|
||||
@ -3469,7 +3469,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
# Turn off AD support and restore CFLAGS and LIBS variables
|
||||
|
||||
with_ads_support="no"
|
||||
|
||||
|
||||
CFLAGS=$ac_save_CFLAGS
|
||||
CPPFLAGS=$ac_save_CPPFLAGS
|
||||
LDFLAGS=$ac_save_LDFLAGS
|
||||
@ -3519,14 +3519,14 @@ if test x"$with_ads_support" != x"no"; then
|
||||
AC_CHECK_FUNC_EXT(krb5_set_default_tgs_ktypes, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_principal2salt, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_use_enctype, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_string_to_key, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_string_to_key, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_get_pw_salt, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_string_to_key_salt, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_string_to_key_salt, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_auth_con_setkey, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_auth_con_setuseruserkey, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_auth_con_setuseruserkey, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_locate_kdc, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_get_permitted_enctypes, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_get_default_in_tkt_etypes, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_get_permitted_enctypes, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_get_default_in_tkt_etypes, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_free_data_contents, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_principal_get_comp_string, $KRB5_LIBS)
|
||||
AC_CHECK_FUNC_EXT(krb5_free_unparsed_name, $KRB5_LIBS)
|
||||
@ -3600,11 +3600,11 @@ if test x"$with_ads_support" != x"no"; then
|
||||
|
||||
AC_CACHE_CHECK(whether krb5_verify_checksum takes 7 arguments, smb_krb5_verify_checksum, [
|
||||
AC_TRY_COMPILE([
|
||||
#include <krb5.h>],
|
||||
[krb5_verify_checksum(0, 0, 0, 0, 0, 0, 0);],
|
||||
[smb_krb5_verify_checksum=7],
|
||||
[smb_krb5_verify_checksum=6],
|
||||
)
|
||||
#include <krb5.h>],
|
||||
[krb5_verify_checksum(0, 0, 0, 0, 0, 0, 0);],
|
||||
[smb_krb5_verify_checksum=7],
|
||||
[smb_krb5_verify_checksum=6],
|
||||
)
|
||||
])
|
||||
AC_DEFINE_UNQUOTED(KRB5_VERIFY_CHECKSUM_ARGS, $smb_krb5_verify_checksum, [Number of arguments to krb5_verify_checksum])
|
||||
|
||||
@ -3704,7 +3704,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
[Whether the krb5_address struct has a addr_type property])
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for enc_part2 in krb5_ticket],
|
||||
AC_CACHE_CHECK([for enc_part2 in krb5_ticket],
|
||||
samba_cv_HAVE_KRB5_TKT_ENC_PART2,
|
||||
[AC_TRY_COMPILE([#include <krb5.h>],
|
||||
[krb5_ticket tkt; tkt.enc_part2->authorization_data[0]->contents = NULL;],
|
||||
@ -3806,7 +3806,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
AC_DEFINE(HAVE_KRB5_KU_OTHER_CKSUM,1,
|
||||
[Whether KRB5_KU_OTHER_CKSUM is available])
|
||||
fi
|
||||
|
||||
|
||||
AC_CACHE_CHECK([for KRB5_KEYUSAGE_APP_DATA_CKSUM],
|
||||
samba_cv_HAVE_KRB5_KEYUSAGE_APP_DATA_CKSUM,[
|
||||
AC_TRY_COMPILE([#include <krb5.h>],
|
||||
@ -3931,7 +3931,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
#
|
||||
#
|
||||
# Now the decisions whether we can support krb5
|
||||
#
|
||||
#
|
||||
# NOTE: all tests should be done before this block!
|
||||
#
|
||||
#
|
||||
@ -4004,7 +4004,7 @@ if test x"$with_ads_support" != x"no"; then
|
||||
AC_REMOVE_DEFINE(HAVE_GSSAPI_GSSAPI_GENERIC_H)
|
||||
AC_REMOVE_DEFINE(HAVE_GSSAPI_GSSAPI_H)
|
||||
KRB5_LIBS=""
|
||||
with_ads_support=no
|
||||
with_ads_support=no
|
||||
fi
|
||||
AC_MSG_CHECKING(whether Active Directory and krb5 support is used)
|
||||
AC_MSG_RESULT([$use_ads])
|
||||
@ -4044,7 +4044,7 @@ if test x"$with_dnsupdate_support" != x"no"; then
|
||||
# then test for uuid.h (necessary to generate unique DNS keynames
|
||||
# (uuid.h is required for this test)
|
||||
AC_CHECK_HEADERS(uuid/uuid.h)
|
||||
|
||||
|
||||
if test x"$ac_cv_header_uuid_uuid_h" != x"yes"; then
|
||||
if test x"$with_dnsupdate_support" = x"yes"; then
|
||||
AC_MSG_ERROR(uuid.h is needed to enable DNS Updates support)
|
||||
@ -4061,7 +4061,7 @@ if test x"$with_dnsupdate_support" != x"no"; then
|
||||
# Now see if we can find the uuid libs in standard paths
|
||||
# On some systems, the uuid API is in libc, so we have to
|
||||
# be careful not to insert a spurious -luuid.
|
||||
|
||||
|
||||
UUID_LIBS=""
|
||||
AC_LIBTESTFUNC(uuid, uuid_generate,
|
||||
[
|
||||
@ -4300,7 +4300,7 @@ fi
|
||||
fi
|
||||
|
||||
#################################################
|
||||
# check for a NISPLUS_HOME support
|
||||
# check for a NISPLUS_HOME support
|
||||
AC_MSG_CHECKING(whether to use NISPLUS_HOME)
|
||||
AC_ARG_WITH(nisplus-home,
|
||||
[ --with-nisplus-home Include NISPLUS_HOME support (default=no)],
|
||||
@ -4476,7 +4476,7 @@ if test "$samba_cv_HAVE_SYS_QUOTA_XFS"x = "yes"x; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# if we have struct dqblk .dqb_fsoftlimit instead of .dqb_isoftlimit on IRIX
|
||||
# if we have struct dqblk .dqb_fsoftlimit instead of .dqb_isoftlimit on IRIX
|
||||
AC_CACHE_CHECK([if struct dqblk has .dqb_fsoftlimit],samba_cv_HAVE_DQB_FSOFTLIMIT, [
|
||||
AC_TRY_COMPILE([
|
||||
#include "confdefs.h"
|
||||
@ -4557,13 +4557,13 @@ AC_CHECK_FUNCS(devnm)
|
||||
|
||||
if test x"$samba_cv_WITH_SYS_QUOTAS" = x"yes"; then
|
||||
if test x"$samba_cv_SYSQUOTA_FOUND" != x"yes"; then
|
||||
# if --with-sys-quotas=yes then build it
|
||||
# if --with-sys-quotas=yes then build it
|
||||
# you have can use the get/set quota command smb.conf
|
||||
# options then
|
||||
samba_cv_SYSQUOTA_FOUND=auto
|
||||
fi
|
||||
if test x"$samba_cv_TRY_SYS_QUOTAS" != x"yes"; then
|
||||
# if --with-sys-quotas=yes then build it
|
||||
# if --with-sys-quotas=yes then build it
|
||||
# you have can use the get/set quota command smb.conf
|
||||
# options then
|
||||
samba_cv_TRY_SYS_QUOTAS=auto
|
||||
@ -4586,7 +4586,7 @@ CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
])
|
||||
if test x"$samba_cv_SYSQUOTA_WORKS" = x"yes"; then
|
||||
AC_MSG_CHECKING(whether to use the new lib/sysquotas.c interface)
|
||||
if test x"$samba_cv_TRY_SYS_QUOTAS" != x"no"; then
|
||||
if test x"$samba_cv_TRY_SYS_QUOTAS" != x"no"; then
|
||||
AC_DEFINE(WITH_QUOTAS,1,[Whether to use disk quota support])
|
||||
AC_DEFINE(HAVE_SYS_QUOTAS,1,[Whether the new lib/sysquotas.c interface can be used])
|
||||
samba_cv_WE_USE_SYS_QUOTAS=yes
|
||||
@ -4705,7 +4705,7 @@ AC_MSG_CHECKING(whether to build the libmsrpc shared library)
|
||||
AC_ARG_WITH(libmsrpc,
|
||||
[ --with-libmsrpc Build the libmsrpc shared library (default=yes if shared libs supported)],
|
||||
[ case "$withval" in
|
||||
no)
|
||||
no)
|
||||
AC_MSG_RESULT(no)
|
||||
;;
|
||||
*)
|
||||
@ -4752,7 +4752,7 @@ AC_MSG_CHECKING(whether to build the libaddns shared library)
|
||||
AC_ARG_WITH(libaddns,
|
||||
[ --with-libaddns Build the libaddns shared library (default=yes if shared libs supported)],
|
||||
[ case "$withval" in
|
||||
no)
|
||||
no)
|
||||
AC_MSG_RESULT(no)
|
||||
;;
|
||||
*)
|
||||
@ -4798,7 +4798,7 @@ AC_MSG_CHECKING(whether to build the libsmbclient shared library)
|
||||
AC_ARG_WITH(libsmbclient,
|
||||
[ --with-libsmbclient Build the libsmbclient shared library (default=yes if shared libs supported)],
|
||||
[ case "$withval" in
|
||||
no)
|
||||
no)
|
||||
AC_MSG_RESULT(no)
|
||||
;;
|
||||
*)
|
||||
@ -5097,7 +5097,7 @@ AC_MSG_RESULT([$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT])
|
||||
# check for cluster extensions
|
||||
|
||||
AC_MSG_CHECKING(whether to include cluster support)
|
||||
AC_ARG_WITH(cluster-support,
|
||||
AC_ARG_WITH(cluster-support,
|
||||
[ --with-cluster-support Enable cluster extensions (default=no)])
|
||||
if test "x$with_cluster_support" = "xyes"; then
|
||||
AC_DEFINE(CLUSTER_SUPPORT,1,[Whether to enable cluster extensions])
|
||||
@ -5763,7 +5763,7 @@ AC_SUBST(SMB_KRB5_LOCATOR)
|
||||
|
||||
AC_ARG_WITH(winbind,
|
||||
[ --with-winbind Build winbind (default, if supported by OS)],
|
||||
[
|
||||
[
|
||||
case "$withval" in
|
||||
yes)
|
||||
HAVE_WINBIND=yes
|
||||
@ -5812,8 +5812,8 @@ AC_CHECK_MEMBER(union nss_XbyY_key.ipnode.af_family,
|
||||
[#include <nss_dbdefs.h>])
|
||||
|
||||
# Solaris has some extra fields in struct passwd that need to be
|
||||
# initialised otherwise nscd crashes.
|
||||
|
||||
# initialised otherwise nscd crashes.
|
||||
|
||||
AC_CHECK_MEMBER(struct passwd.pw_comment,
|
||||
AC_DEFINE(HAVE_PASSWD_PW_COMMENT, 1, [Defined if struct passwd has pw_comment field]),,
|
||||
[#include <pwd.h>])
|
||||
@ -5843,11 +5843,11 @@ fi
|
||||
|
||||
|
||||
#################################################
|
||||
# Check to see if we should use the included popt
|
||||
# Check to see if we should use the included popt
|
||||
|
||||
AC_ARG_WITH(included-popt,
|
||||
[ --with-included-popt use bundled popt library, not from system],
|
||||
[
|
||||
[
|
||||
case "$withval" in
|
||||
yes)
|
||||
INCLUDED_POPT=yes
|
||||
@ -5878,11 +5878,11 @@ AC_SUBST(POPTLIBS)
|
||||
AC_SUBST(FLAGS1)
|
||||
|
||||
#################################################
|
||||
# Check to see if we should use the included iniparser
|
||||
# Check to see if we should use the included iniparser
|
||||
|
||||
AC_ARG_WITH(included-iniparser,
|
||||
[ --with-included-iniparser use bundled iniparser library, not from system],
|
||||
[
|
||||
[
|
||||
case "$withval" in
|
||||
yes)
|
||||
INCLUDED_INIPARSER=yes
|
||||
@ -5984,7 +5984,7 @@ AC_ARG_WITH(shared-modules,
|
||||
done
|
||||
fi ])
|
||||
|
||||
SMB_MODULE(pdb_ldap, passdb/pdb_ldap.o passdb/pdb_nds.o, "bin/ldapsam.$SHLIBEXT", PDB,
|
||||
SMB_MODULE(pdb_ldap, passdb/pdb_ldap.o passdb/pdb_nds.o, "bin/ldapsam.$SHLIBEXT", PDB,
|
||||
[ PASSDB_LIBS="$PASSDB_LIBS $LDAP_LIBS" ] )
|
||||
SMB_MODULE(pdb_smbpasswd, passdb/pdb_smbpasswd.o, "bin/smbpasswd.$SHLIBEXT", PDB)
|
||||
SMB_MODULE(pdb_tdbsam, passdb/pdb_tdb.o, "bin/tdbsam.$SHLIBEXT", PDB)
|
||||
|
Loading…
x
Reference in New Issue
Block a user