summaryrefslogtreecommitdiffstats
path: root/source/configure
Commit message (Collapse)AuthorAgeFilesLines
...
* compile with optimisation by default on all compilersAndrew Tridgell1998-11-141-394/+398
| | | | | | | | this has 2 effects: 1) non gcc platforms get some optimisation 2) it disables -g by default which means the samba binaries won't be so huge (they were over 60MB on some systems)
* Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison1998-11-141-406/+441
| | | | | | | | | smbwrapper not made by default. nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include file problem...sigh. Jeremy.
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-522/+657
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* fixed compile for FreeBSDAndrew Tridgell1998-11-131-374/+370
|
* Makefile.in configure configure.in include/proto.h smbd/noquotas.c ↵Jeremy Allison1998-11-031-385/+413
| | | | | | | | | | | | smbd/quotas.c: Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>. printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu> utils/nmblookup.c: Fix usage() function. smbd/reply.c: Split out the security=server and security=domain checks into check_server_security() and check_domain_security() to aid the writing of the 'hack' appliance mode invented by John Schimmel. Jeremy.
* looks like someone forgot to commit these...Alexandre Oliva1998-10-291-1/+1
|
* don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1998-10-231-375/+390
| | | | to generate PIC code
* Fixed crypt problems on IRIX with prototype.Jeremy Allison1998-10-151-2/+2
| | | | Jeremy.
* config: Fix crypt prototype on RedHat Linux.Jeremy Allison1998-10-151-238/+273
| | | | | | | | include/includes.h: Fix crypt prototype on RedHat Linux. smbd/fileio.c: Fix mmap bug found by WinCE client. smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman smbd/password.c: Fix encrypted null passwords. Jeremy.
* auto-detect the right flag for the compiler to produce PIC codeAndrew Tridgell1998-10-081-365/+430
|
* removed lukes acl check in configure (not needed)Andrew Tridgell1998-10-081-280/+247
|
* added aclent_t autoconf test (defines as an int if it doesn't exist).Luke Leighton1998-10-071-363/+398
| | | | | | | | this is to stop a compilation error caused by make proto putting functions that are wrapped in #if HAVE_ACLxxx code. maybe a better fix would be to have mkproto.awk exclude any functions wrapped in #if HAVEs that don't exist.
* fix the SEEKDIR_RETURNS_VOID testAndrew Tridgell1998-10-071-104/+105
|
* detect __sys_llseek()Andrew Tridgell1998-10-071-2/+2
|
* more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1998-10-071-251/+287
| | | | includes.h in wrapped.c, thus making porting much simpler
* test whether seekdir() returns void or notAndrew Tridgell1998-10-071-102/+137
|
* - no getdents on OSF1Andrew Tridgell1998-10-071-2/+2
| | | | | - try a new method of handling prototype mismatches in wrapped.c. We now try to disable prototypes!
* reran autoconfAndrew Tridgell1998-10-071-1/+1
|
* some changes for OSF1 support in smbwrapper (just preliminary changes,Andrew Tridgell1998-10-071-412/+418
| | | | doesn't work yet)
* added a wrapper for fork()Andrew Tridgell1998-10-061-1/+1
| | | | | in a fork we have to close all server connections otherwise we can end up with two processes writing to the same socket.
* set HOST_OS after canonical system testAndrew Tridgell1998-10-051-7/+7
|
* reran autoconf for IRIX changesAndrew Tridgell1998-10-051-364/+377
|
* test for creat64()Andrew Tridgell1998-10-051-1/+1
|
* IRIX uses -shared for shared libray creation.Andrew Tridgell1998-10-051-360/+361
|
* test for loff_t and offset_t to support llseek() on Solaris and Linux.Andrew Tridgell1998-10-051-242/+308
|
* revert 64-bit file support; it's hard-coded alreadyAlexandre Oliva1998-10-051-330/+240
|
* added 64-bit file supportAlexandre Oliva1998-10-051-240/+330
|
* added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1998-10-051-126/+291
|
* tests for readdir64Andrew Tridgell1998-10-051-1/+1
|
* reran autoconfAndrew Tridgell1998-10-051-126/+236
|
* bin/cvsignore: deleted, so that bin can be removed from the repositoryAlexandre Oliva1998-10-041-0/+4
| | | | | | | | | | | | .cvsignore: added bin; it is no longer part of the source tree smbwrapper/smbsh: now auto-generated from smbsh.in smbwrapper/.cvsignore: added smbsh configure.in: generate @builddir@ configure, include/stamp-h.in: regen Makefile.in: new target `smbwrapper'; sped up directory creation
* more solaris 2.5 fixups. It now seems to be working pretty well.Andrew Tridgell1998-10-041-260/+520
|
* fixed some stuff for Linux that porting to Solaris brokeAndrew Tridgell1998-10-041-331/+335
|
* started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1998-10-041-127/+403
|
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-11/+2
|
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-281-569/+994
| | | | | | | | | | Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
* Two changes in this ball...Michael Warfield1998-09-281-981/+593
| | | | | | | | | | | | 1) Changes to smbmnt.c, smbmount.c, and smbumount.c allow them to compile on both RedHat 4.x (libc 4.x) systems and RedHat 5.x (glibc 2) systems. 2) Changes to Makefile.in and configure.in (and subsequently configure) are to configure for smbmount, smbumount, and smbmnt to compile. This adds a "--with(out)-smbmount" option to configure. Sanity checking is not present yet. You can specify this if you are not on linux, it just won't compile.
* automated generation of .dummy files for each subdirectory;Alexandre Oliva1998-09-281-10/+11
| | | | | dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time
* Added Kerberos4 support patches from Johan Hedin <johanh@fusion.kth.se>Jeremy Allison1998-09-261-319/+390
| | | | Jeremy.
* Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1998-09-251-119/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added $(PROGS) $(SPROGS) as targets for make clean. acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES. configure.in: Added sys/capability.h header check. Added function checks for srandom random srand rand. Added HAVE_IRIX_SPECIFIC_CAPABILITIES test. includes.h: Added #include <sys/capability.h>. ntdomain.h: Moved struct acct_info into here from smb.h smb.h: Added KERNEL_OPLOCK_CAPABILITY define. Moved enum action_type into rpcclient.h Moved struct cli_state into client.h Moved struct nt_client_info, struct tar_client_info, struct client_info into rpcclient.h lib/genrand.c: Changed to use sys_random() & friends. lib/smbrun.c: Lose capabilities after fork. lib/system.c: Added set_process_capability(), set_inherited_process_capability() sys_random(), sys_srandom(). lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an 32 bit mounted NFS filesystem. nmbd/nmbd.c: Changed to use sys_random() & friends. nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends. passdb/ldap.c: Missed one pdb_encode_acct_ctrl call. passdb/passdb.c: Changed to Ander's code for ' ' characters. passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ. script/mkproto.awk: Added 'long' to prototypes. smbd/chgpasswd.c: Lose capabilities after fork. smbd/open.c: Do the mmap *after* the kernel oplock. smbd/oplock.c: Removed stub code from kernel oplock path. Added set_process_capability(), set_inherited_process_capability() calls. smbd/reply.c: Initialize count = 0, offset = 0. smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls. tests/summary.c: Ensure we have RANDOM or RAND. utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ. utils/torture.c: Changed to use sys_random() & friends. Jeremy.
* check whether system type is the same as stored in the cache (fullAlexandre Oliva1998-09-241-316/+405
| | | | | | | | | | | | stand-alone macro, candidate for inclusion in the next release of autoconf) create configure flag --enable-maintainer-mode, that enables automatic rebuilding of configure from configure.in and aclocal.m4, and of config.h.in based on acconfig.h. This assumes autoconf and autoheader are available. Maintainer mode also introduces automatic dependency tracking of include files, but it depends on features provided by gcc and GNU make, so you must not enable maintainer mode if you are not using any of these
* automatically detect changes in the system type and exit, tellingAndrew Tridgell1998-09-241-296/+309
| | | | the user to remove config.cache
* First cut at kernel oplocks. This should have no effect unless runninJeremy Allison1998-09-231-76/+111
| | | | | | | | | on a machine that supports them in autoconf. Move various functions out of lib/util.c into smbd/process.c and smbd/oplock.c where they belong. Jeremy.
* replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1998-09-211-64/+107
|
* major autoconf clean-upAlexandre Oliva1998-09-211-575/+776
| | | | fix problems in builds with srcdir!=builddir
* Now that Alexandre Oliva has explained the use of acconfig.h toJeremy Allison1998-09-181-129/+125
| | | | | | | | me, I'm adding the HAVE_LIBREADLINE and other stuff correctly. Thanks Alexandre :-). Jeremy.
* configure configure.in include/config.h.in include/includes.hJeremy Allison1998-09-181-202/+299
| | | | | | | | | | Fixed bugs in readline autoconf. param/loadparm.c smbd/open.c smbd/oplock.c: Started on kernel oplock code - checking forced by above issue. Should not be used currently. Jeremy.
* configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1998-09-171-20/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | widening (I hope :-). include/config.h.in: Added #undef STAT_STATVFS64. include/includes.h: Added SMB_STRUCT_STATVFS type, Changed SMB_BIG_INTEGER to SMB_BIG_UINT and SMB_BIG_INT types. include/smb.h: Added flag defines from CIFS spec. lib/debug.c: Fixed one more mode_t issue. lib/system.c: Added sys_statvfs wrapper. lib/util.c: Changed trim_string to use size_t. param/loadparm.c: Moved "blocking locks" into locking section. Alphabetised locking options. Question - shuld we do this for all options ? passdb/ldap.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/nispass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/smbpass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. smbd/dfree.c: Changed to use 64 bit types if available. Moved to use unsigned types. smbd/dosmode.c: Fixed one more mode_t issue. smbd/negprot.c: Changed literals to be FLAG_ #defines. smbd/nttrans.c: Removed dead code. smbd/open.c: Changed disk_free call. smbd/process.c: Changed literals to be FLAG_ #defines. smbd/reply.c: Changed disk_free call. smbd/trans2.c: Fixed but in SMB_QUERY_FS_VOLUME_INFO call. Was using UNICODE - should use ascii. tests/summary.c: Added STAT_STATVFS64 check. Jeremy.
* configure, configure.in: Added fseek64 and ftell64.Jeremy Allison1998-09-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | config.h.in: Added fseek64 and ftell64. includes.h: Added definition of SMB_BIG_INTEGER. smb.h: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER. access.c: Tidyup of dbug statement. system.c: Added sys_fseek and sys_ftell. Changed mode calls to use mode_t. asyncdns.c: Tidyup of comment. loadparm.c: Tidyup of set_default_server_announce_type() function definition. ldap.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER. nispass.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER. smbpass.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER. smbpassfile.c: Use sys_fseek(). chgpasswd.c: Tidyup of debug statement. dosmode.c: Changed mode calls to use mode_t. ipc.c: Removal of dead code. nttrans.c: Changed mode calls to use mode_t. open.c: Changed mode calls to use mode_t. pipes.c: Removal of dead code. reply.c: Removal of dead code. trans2.c: Removal of dead code. Changed mode calls to use mode_t. Jeremy.
* Added ssize_t to configure code.Jeremy Allison1998-09-111-152/+185
| | | | | | | | | | | Got 'religion' about using size_t and ssize_t for read/write stuff as part of the code to expose 64 bits to the client. This checkin does all the 'easy' stuff - such as all the read/write/lock calls - but now comes the harder parts (open & friends) and all the file enquiry functions..... Jeremy.