summaryrefslogtreecommitdiffstats
path: root/source3/configure
Commit message (Collapse)AuthorAgeFilesLines
* 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 (This used to be commit 64cba1cc8e689bcde2dc124c511da086c33fa4a8)
* automatically detect changes in the system type and exit, tellingAndrew Tridgell1998-09-241-296/+309
| | | | | the user to remove config.cache (This used to be commit f123172c42b1f9ac73e57856e4ee8715fdfb76cd)
* 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. (This used to be commit c3c5e13f85c97939746070132dad941e79c546fb)
* replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1998-09-211-64/+107
| | | | (This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
* major autoconf clean-upAlexandre Oliva1998-09-211-575/+776
| | | | | fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
* 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. (This used to be commit 89a4a73caf474e59f239f50ad6d93e5df66ae300)
* 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. (This used to be commit f939efac9e6c45331b17e3d3aa6bc2235e886c1a)
* 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. (This used to be commit c512b1b91fb7f2a7a93b9033a33e06d966daadb4)
* 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. (This used to be commit 9c8ecd994d43ec64f46ef54e608acb651a9d67e1)
* 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. (This used to be commit 36544fe5476f7770bd5748574fc54be7b3ee4d4a)
* added a configuration summary at the end of ./configure. It alsoAndrew Tridgell1998-09-051-0/+22
| | | | | aborts if essential functions are not available. (This used to be commit 5c7717f033f670f587b4a250d0a663cad30824e5)
* some people are foolishly running ./configure from other than theAndrew Tridgell1998-09-051-53/+76
| | | | | | 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)
* Modified dev_t and ino_t code to be 64 bit clean (including changesJeremy Allison1998-09-041-69/+123
| | | | | | | | | | | 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)
* More 64 bit stuff - now the fcntl locks are 64 bit clean.Jeremy Allison1998-09-041-70/+113
| | | | | | | Nearly at the stage where I can expose the 64-bit-ness to the NT clients.... Jeremy. (This used to be commit 422f1dd45074c0e28203aca5952e57bbe56676b6)
* Ok - this is the 64 bit widening check in. It changes the configureJeremy Allison1998-09-031-71/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* configure.in, configure: include/config.h.in: Added stropts and poll.Jeremy Allison1998-08-311-191/+271
| | | | | | | | | | | | 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)
* added loads of pointless rpcsvc/ and rpc/ include files, all becauseLuke Leighton1998-08-251-4/+4
| | | | | | rpcsvc/ypclnt.h wants a struct dom_binding. knock-on include effect under freebsd 2.1. (This used to be commit d1005b5692e41660a2a7230231b0591aa0773485)
* added a test for a working setresuidAndrew Tridgell1998-08-191-135/+164
| | | | (This used to be commit dbe333b590ef004ccbd31a14ad161d73139b2486)
* added include of sys/resource.hAndrew Tridgell1998-08-161-187/+227
| | | | (This used to be commit bf136b4fa8aeadcea8f65610148d46d093aba2cc)
* moved the printing related files to a separate printing/ directory.Andrew Tridgell1998-08-151-2/+2
| | | | (This used to be commit d933a47be6fa7b5f161179fa11244aaba1051160)
* configure: Changes for extra headers.Jeremy Allison1998-08-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure.in: Source for header changes. client/clitar.c: Fixed isXXX macros & debugs for gcc pedantic compile. include/config.h.in: Added MEMSET, BZERO, MEMORY, RPCSVC_YPCLNT, STRINGS headers. include/includes.h: Headers for the above. include/smb.h: Made SIGNAL_CAST POSIX by default void (*)(int). lib/access.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/charset.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/debug.c: Fixed signal functs. lib/kanji.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/smbrun.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/util.c: Fixed isXXX macros & debugs for gcc pedantic compile. libsmb/namequery.c: Fixed isXXX macros & debugs for gcc pedantic compile. locking/shmem.c: Fixed isXXX macros & debugs for gcc pedantic compile. locking/shmem_sysv.c: Fixed error messages in sysV stuff. nmbd/asyncdns.c: Fixed signal functs. nmbd/nmbd.c: Fixed isXXX macros & debugs for gcc pedantic compile. passdb/passdb.c: Fixed isXXX macros & debugs for gcc pedantic compile. passdb/smbpassfile.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/chgpasswd.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/ipc.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/nttrans.c: Fixed fsp code path. smbd/password.c: fixed HAVE_YP_GET_DEFAULT_DOMAIN problem. smbd/printing.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/reply.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/server.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/trans2.c: Fixed core dump bug. smbd/uid.c: Fixed isXXX macros & debugs for gcc pedantic compile. Jeremy. (This used to be commit 1b9cbcd02e575dc0a95fa589f720df30a4acc46b)
* this is the bug change to using connection_struct* instead of cnum.Andrew Tridgell1998-08-141-246/+298
| | | | | | | | | Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep. (This used to be commit c7ee025ead4a85b6fa44a832047b878451845fb6)
* the autoconf scripts are now converted to the new directory structureAndrew Tridgell1998-08-091-11/+13
| | | | | now the Makefile ..... (This used to be commit 4fae7f129e46930960831af0da28496f9766f6ae)
* we have to have the test for -lsocket before the test for someAndrew Tridgell1998-08-081-309/+309
| | | | | | functions (notably innetgr) to ensure we don't replace them if they are in -lsocket (This used to be commit d1212048903fff8725e501001ac84b019c21b939)
* added --with-nisplus-home optionAndrew Tridgell1998-08-081-243/+271
| | | | (This used to be commit 70000c21909a154344b489e8aa18a5868ff52865)
* added test for getpwanam().Andrew Tridgell1998-07-311-73/+96
| | | | (This used to be commit 4eb28f7148f61a215ca644cbe704a4e8dbd83a77)
* added HAVE_FUNCTION_MACRO testAndrew Tridgell1998-07-301-70/+93
| | | | (This used to be commit cae580ccc397ea33fdb24a777bdedef6e8271244)
* fixed sin_len test for FreeBSDAndrew Tridgell1998-07-301-71/+72
| | | | (This used to be commit 15b666a0cebb994b6ed96c75716946afdbfa2861)
* test for a broken inet_ntoa and replace it if necessary (forAndrew Tridgell1998-07-291-43/+76
| | | | | IRIX+gcc-2.8.1) (This used to be commit ddffbcbcb1284b6ead5f7f7b6665ba2456c0071a)
* get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell1998-07-291-43/+68
| | | | | | time test instead. This also allows us to get rid of the igroups element of a couple of structures. (This used to be commit 8b25fe734166b76ceebf8d9543c706ebe0fddc96)
* hopefully permissions are right nowAndrew Tridgell1998-07-291-0/+4791
| | | | (This used to be commit e7b6e8ef618029e6b2c372afcbf3f158217b04bd)
* still trying to get permissions right - CVS doesn't commit permissions ↵Andrew Tridgell1998-07-291-4792/+0
| | | | | | changes it seems (This used to be commit 0cf6529341aa8023137222c94b0895ff555b8791)
* checkin configure again in order to get permissions rightAndrew Tridgell1998-07-291-0/+1
| | | | (This used to be commit e16c467303884277c8e6acb6bffe01a27c5e853f)
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-291-0/+4791
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)