summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
1998-10-07SunOS doesn't need any ld flagsAndrew Tridgell1-1/+3
(This used to be commit f92383689a6ee62c71553f12c633f1aadb32065e)
1998-10-07fix the SEEKDIR_RETURNS_VOID testAndrew Tridgell1-2/+2
(This used to be commit ed0b43294a922dc24be87082fa22b45b0fa2af46)
1998-10-07detect __sys_llseek()Andrew Tridgell1-1/+1
(This used to be commit 2a25034b033d207b5ce50946f3d9c9fad2c3a153)
1998-10-07more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1-1/+2
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-07test whether seekdir() returns void or notAndrew Tridgell1-0/+9
(This used to be commit 4dbfec81b2c67f2d36b26685a631001738d9569f)
1998-10-07- no getdents on OSF1Andrew Tridgell1-2/+2
- try a new method of handling prototype mismatches in wrapped.c. We now try to disable prototypes! (This used to be commit 77aea37bb83f2b9ad541f851b003ca10b9811314)
1998-10-07fix typoAndrew Tridgell1-1/+1
(This used to be commit c4da5741f33f9108e01309a6734f16b1b854ea30)
1998-10-07some changes for OSF1 support in smbwrapper (just preliminary changes,Andrew Tridgell1-1/+1
doesn't work yet) (This used to be commit ffa7d0461fa6628302ddf5590a42cca60ec8b90b)
1998-10-07added some commentsAndrew Tridgell1-6/+12
(This used to be commit c81568a6934acab45702639c1c57aadb145f246b)
1998-10-06added a wrapper for fork()Andrew Tridgell1-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. (This used to be commit b7ecbca3aff34ff06a445e5ee39efba48261b7e8)
1998-10-05set HOST_OS after canonical system testAndrew Tridgell1-1/+1
(This used to be commit fc602e5e26a2de94be6b5a5509b77876dc0fd7ff)
1998-10-05got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1-1/+11
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05test for creat64()Andrew Tridgell1-1/+1
(This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609)
1998-10-05IRIX uses -shared for shared libray creation.Andrew Tridgell1-1/+2
(This used to be commit a32eb93b0e572ebfcf726a0df7443b9afa149453)
1998-10-05test for loff_t and offset_t to support llseek() on Solaris and Linux.Andrew Tridgell1-0/+2
(This used to be commit 386026930557584fda14f8cdc07c41d84d630b39)
1998-10-05revert 64-bit file support; it's hard-coded alreadyAlexandre Oliva1-34/+0
(This used to be commit f604fd1a8b34efb52531c57e68a3cf31319b9262)
1998-10-05added 64-bit file supportAlexandre Oliva1-0/+34
(This used to be commit 43ec91ac1fbf22f9a0150e1eadec5709a7d21050)
1998-10-05added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1-0/+3
(This used to be commit 2087e0ce89e113d3989deefdf79b22b2757e008b)
1998-10-05tests for readdir64Andrew Tridgell1-1/+1
(This used to be commit bdf02378c634e0d18f4f2de7a74b2f2fc5965e9a)
1998-10-05some tests for stat64() and friendsAndrew Tridgell1-0/+2
(This used to be commit 16e7b196344457218b4902a198e28751311973a7)
1998-10-04bin/cvsignore: deleted, so that bin can be removed from the repositoryAlexandre Oliva1-0/+3
.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 (This used to be commit 8f95ee8fc32d74f20cca489ecd3f7e34e773db2f)
1998-10-04more solaris 2.5 fixups. It now seems to be working pretty well.Andrew Tridgell1-1/+6
(This used to be commit c4e450817886b40474cebdfc50c0c16fb4646baf)
1998-10-04fixed some stuff for Linux that porting to Solaris brokeAndrew Tridgell1-2/+5
(This used to be commit ee349bb329498e6f5852c1bf21c48563d076dc88)
1998-10-04started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1-1/+7
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
1998-09-29get away with dummy and .dummy filesAlexandre Oliva1-8/+1
(This used to be commit 90a8a02484a0897b053fd6531b7fec5d23098b6f)
1998-09-28Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1-7/+8
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. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09)
1998-09-28Two changes in this ball...Michael Warfield1-0/+22
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. (This used to be commit 8a4730f61923577b0bd9e09ef1a00538f7dfb0de)
1998-09-28automated generation of .dummy files for each subdirectory;Alexandre Oliva1-5/+8
dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time (This used to be commit 237a8e5fe62d757c04b8207cbbee4df1470cfe4e)
1998-09-26Added Kerberos4 support patches from Johan Hedin <johanh@fusion.kth.se>Jeremy Allison1-0/+15
Jeremy. (This used to be commit 548634915f21f774b7efb06f138c8fb7bc089daa)
1998-09-25Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1-1/+18
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. (This used to be commit e8be306f23963ac00b1a383ebe0cc1421529fb02)
1998-09-24check whether system type is the same as stored in the cache (fullAlexandre Oliva1-8/+2
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 (This used to be commit 64cba1cc8e689bcde2dc124c511da086c33fa4a8)
1998-09-24automatically detect changes in the system type and exit, tellingAndrew Tridgell1-0/+8
the user to remove config.cache (This used to be commit f123172c42b1f9ac73e57856e4ee8715fdfb76cd)
1998-09-23First cut at kernel oplocks. This should have no effect unless runninJeremy Allison1-0/+9
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. (This used to be commit c3c5e13f85c97939746070132dad941e79c546fb)
1998-09-21replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1-0/+15
(This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
1998-09-21major autoconf clean-upAlexandre Oliva1-167/+208
fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
1998-09-18Now that Alexandre Oliva has explained the use of acconfig.h toJeremy Allison1-1/+0
me, I'm adding the HAVE_LIBREADLINE and other stuff correctly. Thanks Alexandre :-). Jeremy. (This used to be commit 89a4a73caf474e59f239f50ad6d93e5df66ae300)
1998-09-18configure configure.in include/config.h.in include/includes.hJeremy Allison1-1/+10
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. (This used to be commit f939efac9e6c45331b17e3d3aa6bc2235e886c1a)
1998-09-17configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1-0/+20
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. (This used to be commit c512b1b91fb7f2a7a93b9033a33e06d966daadb4)
1998-09-17configure configure.in: Added tests for fseek64 and ftell64.Jeremy Allison1-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. (This used to be commit c381d32e3dc23fe887408016cae821aceb30da2c)
1998-09-11Added ssize_t to configure code.Jeremy Allison1-0/+1
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. (This used to be commit 36544fe5476f7770bd5748574fc54be7b3ee4d4a)
1998-09-05added a configuration summary at the end of ./configure. It alsoAndrew Tridgell1-0/+5
aborts if essential functions are not available. (This used to be commit 5c7717f033f670f587b4a250d0a663cad30824e5)
1998-09-05some people are foolishly running ./configure from other than theAndrew Tridgell1-0/+6
source directory! This adds a new "trivial" test that makes sure that the autoconf tests are working. It aborts the configure run if not. (This used to be commit ead0338ad27f29f1abbbe9f6302d6bf633bf98b2)
1998-09-04Modified dev_t and ino_t code to be 64 bit clean (including changesJeremy Allison1-0/+14
to oplock break message passing). I think that smbd/nmbd are now inode and offset size independent (at least for 32 bit and 64 bit systems). Now to expose all this new functionality to NT clients..... Jeremy. (This used to be commit 5910d07bbf45a34d3c901461f74704c029a79474)
1998-09-04More 64 bit stuff - now the fcntl locks are 64 bit clean.Jeremy Allison1-1/+23
Nearly at the stage where I can expose the 64-bit-ness to the NT clients.... Jeremy. (This used to be commit 422f1dd45074c0e28203aca5952e57bbe56676b6)
1998-09-03Ok - this is the 64 bit widening check in. It changes the configureJeremy Allison1-2/+9
to check for stat64 and friends, and then changes much of Samba to use the data type SMB_OFF_T for file size information. stat/fstat/lstat/lseek/ftruncate have now become sys_stat etc. to hide the 64 bit calls if needed. Note that this still does not expose 64 bit functionality to the client, as the changes to the reply_xxx smb's are not yet done. This code change should make these changes possible. Still to do before full 64 bit-ness to the client: fcntl lock code. statfs code widening of dev_t and ino_t (now possible due to SMB_DEV_T and SMB_OFF_T types being in place). Let me know if wierd things happen after this check-in and I'll fix them :-). Jeremy. (This used to be commit 14500936c321d15995c963766aac67bf1f4e3824)
1998-08-31configure.in, configure: include/config.h.in: Added stropts and poll.Jeremy Allison1-1/+2
include/smb.h: Moved old typedefs of uint8 etc. into include/includes.h where all the other defines live (changed them from typedefs to defines). Other changes : changed from using uint32 to SMB_DEV_T and SMB_INO_T in preparation for moving to size independed (ie. 64 bit clean) device and inode access. Stat call wrapper comes next :-). Jeremy. (This used to be commit 3d9ec96de5e04e83abafe9c5d980bd39eee856ea)
1998-08-26oops - added /usr/include/rpc includes.Luke Leighton1-1/+2
(This used to be commit cdc38c276d8344127c9edf35f24754c098a90754)
1998-08-25added loads of pointless rpcsvc/ and rpc/ include files, all becauseLuke Leighton1-2/+2
rpcsvc/ypclnt.h wants a struct dom_binding. knock-on include effect under freebsd 2.1. (This used to be commit d1005b5692e41660a2a7230231b0591aa0773485)
1998-08-19added a test for a working setresuidAndrew Tridgell1-1/+10
(This used to be commit dbe333b590ef004ccbd31a14ad161d73139b2486)
1998-08-16added include of sys/resource.hAndrew Tridgell1-2/+3
(This used to be commit bf136b4fa8aeadcea8f65610148d46d093aba2cc)