summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2003-03-15String handling parinoia fixes.Andrew Bartlett1-1/+1
This patch enables the compile-time checking of strings assable by means of sizeof(). (Original code had the configure check reversed). This is extended to all safe_strcpy() users, push_string and pull_string, as well as the cli and srv derivitives. There is an attempt to cap strings at the end of the cli buffer, and clobber_region() of the speified length (when not -1 :-). Becouse of the way they are declared, the 'overmalloc a string' users of safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips some of the checks). This whole ball of mud worked fine, until I pulled out my 'fix' for our statcache. When jeremy fixes that, we should be able to get back to testing this stuff. This patch also includes a 'marker' of the last caller to clobber_region (ie, the function that called pstrcpy() that called clobber_region) to assist in debugging problems that may have smashed the stack. This is printed at smb_panic() time. (Original idea and patch by metze). It also removes some unsused functions, and #if 0's some others that are unused but probably should be used in the near future. For now, this patch gives us some confidence on one class of trivial parsing error in our code. Andrew Bartlett (This used to be commit 31f4827acc2a2f00399a5528fc83a0dae5cebaf4)
2003-03-13In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,Martin Pool1-1/+4
etc. So check for that as well as the old names. (This used to be commit 1ffa4d75b75979b8abb409634212ce43a0826467)
2003-03-10Check for valgrind.hMartin Pool1-0/+1
(This used to be commit 0ece70d631bf095bf9c8819180b6c59990159cd0)
2003-03-05Add a test for a useful property of the compiler - we can get link-timeAndrew Bartlett1-0/+18
failures for some compile-time properties this way. Andrew Bartlett (This used to be commit ce618624b7df797e228f8ef0f19820b318c62ae9)
2003-02-26Add -Wwrite-strings to our --enable-developer settings.Andrew Bartlett1-2/+2
We have compiled relitivly 'clean' with this setting since I did a massive cleanup last month. This should help us stay that way. Andrew Bartlett (This used to be commit 284479bf388f5e39d9be78eeb1ac6cdd001fb8df)
2003-02-24Patch from Luke Howard to add mutual kerberos authentication, and SMB sessionAndrew Bartlett1-0/+16
keys for kerberos authentication. Andrew Bartlett (This used to be commit 8b798f03dbbdd670ff9af4eb46f7b0845c611e0f)
2003-02-22Fixes from Paul Green and vorlon@debian.org for building shared librariesAndrew Bartlett1-32/+35
(make it possible to build both shared and static) and -lcrypt handling. (This used to be commit 30510f50077fd157664c127ac0182ce26843d43f)
2003-02-19Improve detection of iconv(3) for various platforms. M4 code is similar to ↵Alexander Bokovoy1-17/+43
what I use in Midgard for past few years, modified for Samba needs. (This used to be commit 747d2d70a9eb4d9222d7b63e5fcec269eda76672)
2003-02-19Add support for detecting method of listing encryption types (MIT v Heimdal)Jim McDonough1-0/+3
(This used to be commit 48dcf5b97f2d53617c41237e09369ec678ab65e9)
2003-02-18Patch from vorlon@debian.org to split out our -lacl dependency to only smbdAndrew Bartlett1-4/+11
and vfstest. (This used to be commit bcbc2213230e95d732a774b5aee67295fba4380b)
2003-02-17People were being tripped up by the fact that we havn't updated acconfig.hAndrew Bartlett1-0/+3
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the newer autotools in configure.in Andrew Bartlett (This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)
2003-02-15Third-party configuration scripts may produce undesirable additions to ↵Alexander Bokovoy1-0/+8
CFLAGS/CPPFLAGS and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS. While the latter isn't dangerous, passing system include directory through -I lead to change of its status in CPP from system to user-defined in many cases. This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT. (This used to be commit 643172ac1a9b53823d704690eb03120074bbef78)
2003-02-15When checking for tgetent, include libtinfo from recent Ncurses as wellAlexander Bokovoy1-1/+1
(This used to be commit c88a5b1abaaee9aea3ece5677fce8b79bcd00552)
2003-02-15Add support for krb5-config from recent MIT and Heimdal. And fallback to ↵Alexander Bokovoy1-1/+16
traditional guessing only if krb5-config was not found. (This used to be commit ca27334ba0f2ffbe0fd2a18ef5edf644d4e52190)
2003-02-12Fixes for HPUX only having limited POSIX lock range from Michael Steffens ↵Jeremy Allison1-2/+2
<michael.steffens@hp.com> Jeremy. (This used to be commit ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
2003-02-10As metze mentioned, this is the proper way to find perl...Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit f364921864bf4c33580c432f0d328c7ffc48a7df)
2003-02-04Try to allow old and new heimdal installsJim McDonough1-5/+14
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)
2003-02-03Try to get build working on systems with krb runtime but not devel libs.Jim McDonough1-2/+2
Let's not assume that because one dir exists the whole shebang is there... (This used to be commit 44fd5c827537bd14c2220f62f5e44190247ae556)
2003-02-01NetBSD also supports dynamic libsJelmer Vernooij1-1/+1
(This used to be commit dbb29495e7cd94b4ad07efd656d021d9551f5eb6)
2003-01-30Fix kerberos compile after the tpot massicre :-).Jeremy Allison1-6/+26
Jeremy (This used to be commit d63849db6d02b1a9430072e6e15a67e1c526e5e7)
2003-01-30Straus VOS detection patches from Paul GreenGerald Carter1-0/+24
(This used to be commit 726181537db6bdd299fd9256a5e6def6b4b8ae33)
2003-01-28patch from Paul Green to only build libsmbclient.so on platforms that ↵Gerald Carter1-10/+21
support shared libraries (This used to be commit f739a7263d9da6edc2ecba5b942253c22f7cb3f8)
2003-01-27One more try to fix the GNU Make dependencyRichard Sharpe1-16/+51
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)
2003-01-24Commit just a little more infrastructure for HAVE_GETDIRENTRIESRichard Sharpe1-1/+1
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
2003-01-21More fixes getting us closer to full Heimdal compile....Jeremy Allison1-0/+15
Jeremy. (This used to be commit 193cc4f4fc876c66e97ea6b82bae431d0247c1fa)
2003-01-19Merge in more of the SuSE patches for Heimdal. These changes show howJeremy Allison1-0/+4
to add a function without an explicit #ifdef HEIMDAL which I'm trying to avoid. Jeremy. (This used to be commit 77aeb262ef7c7cd3d206afe2d5445caaca943dfd)
2003-01-17Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough1-1/+54
for instructions. (This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
2003-01-16More Heimdal changes. Still not compiling with Heimdal yet...Jeremy Allison1-1/+1
Jeremy. (This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)
2003-01-16Fist part of fixes to make us compile with Heimdal. Don't explicitlyJeremy Allison1-1/+7
detect for now, I still have vague hopes of hiding the differences between MIT and Heimdal with a compatibility layer.... Jeremy. (This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)
2003-01-15Fix bug where the existence of config.cache would cause functions likeMartin Pool1-14/+3
yp_get_default_domain to be misdetected. According to the autoconf manual we need to check for libraries before looking for functions in them. (This used to be commit 468c487df42c6fc25d1862f36995b3d9a78902ff)
2003-01-15IRIX uses libns_winbind.so instead of libnss_winbind.soHerb Lewis1-1/+8
(This used to be commit 50adb8cc1074e9bedac365a92db96c5f01f30223)
2003-01-13Fix typo in comment.Martin Pool1-1/+1
(This used to be commit 26660f939f0e0650d54631bf8243b22f32b64132)
2002-12-27For some reason, the configure tests for sendfile support in FreeBSDRichard Sharpe1-6/+7
were broken. This works for 4.3 and 4.6.2. (This used to be commit 91e2d21bd1401ca874c59f4d93f8b429c38b642d)
2002-12-04Remove FILE_MACRO as __FILE__ is ANSI C.Tim Potter1-7/+0
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
2002-12-04Make sure we have a default st_blocksize.Jeremy Allison1-12/+15
Jeremy. (This used to be commit 9cf56dc97733589d5591990b44c883c7c61d1ea2)
2002-12-04Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison1-4/+17
Jeremy. (This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-12-03Defaulting python breaks the clean target it python isn't installed.Tim Potter1-6/+3
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)
2002-12-03Fixes for EXEEXT - must use \$ signs when you want an actual $ sign toTim Potter1-4/+4
be used. (This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)
2002-12-01Patch from Paul Green to detect exe extensions, needed for Stratus VOS.Andrew Bartlett1-6/+9
Andrew Bartlett (This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)
2002-11-29Fix up smbwrapper target.Tim Potter1-0/+2
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)
2002-11-27merging changes from SAMBA_3_0 relating to RPM packagingGerald Carter1-8/+6
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)
2002-11-22Here's a bit of a cleanup of the {configure,Makefile}.in files. I'veTim Potter1-40/+21
now combined all the ad-hoc AC_SUBST variables into three generalised ones: EXTRA_BIN_PROGS Additional programs to install in ${prefix}/sbin EXTRA_SBIN_PROGS Additional programs to install in ${prefix}/bin EXTRA_ALL_TARGETS Additional targets to build by default SHLIB_PROGS Shared library objects (pam, winbind) to build We also build some extra stuff by default: the python extensions (if --with-python specified), smbmount related binaries (if --with-smbmount specified), and the samba torture suite. The idea behind this is to have everything that is configured built by default to detect breakage as soon as possible when people make low level changes. (This used to be commit d6dfe3ea69d4672339559389c6fb16e78a9152b0)
2002-11-21If you don't specify --with-python, we assume "python" anyhow, becauseMartin Pool1-1/+11
the extensions are not built until you specifically "make python_ext". (This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)
2002-11-15Remove the assumption that all Solaris has -lsendfile.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
2002-11-15patch from aedil@alchar.org to correctly detect solaris workshop CC's abilityAndrew Bartlett1-3/+10
to build shared libs (but not with .po suffix). Andrew Bartlett (This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)
2002-11-15Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'Jelmer Vernooij1-4/+4
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)
2002-11-15When testing for /usr/include/heimdal, don't include /usr/heimdal/includeAndrew Bartlett1-2/+2
instead :-) (This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)
2002-11-13small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij1-0/+1
exist (e.g. in SuSE 8.1) (by metze) (This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
2002-11-13Only add modules/pdb_xml.so and modules/pdb_mysql.so to the 'modules' target ifJelmer Vernooij1-3/+4
the libs they depend on are available (This used to be commit 018a44055d6a8435528279523567f9a86b2f3069)
2002-11-13Don't build Makefile.in in examples/VFS/Jelmer Vernooij1-1/+1
(This used to be commit 98cb778cb7d48dd545b5dcf395567defd0198f86)