summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2003-10-17Add configure test for krb5_keytab_entry keyblock vs key member. Bug #636.Tim Potter1-0/+9
(This used to be commit 3daefe9d17fb2c7b1c4d21593465e6788555b0fb)
2003-10-14Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone toTim Potter1-28/+23
the trouble of detecting what the PIC suffix should actually be. Change PICFLAG in configure.in to PICFLAGS for consistency. Patches from Joachim Schmitz <schmitz@hp.com> for bug 574. (This used to be commit ecfbc5f5295c64d1ba553356dd09f65e9b5d1ccb)
2003-10-09We need to make sure that the files that contain the static_init_$subsystem;Jelmer Vernooij1-6/+6
macro get recompiled after configure has ran. This was done by touching the source file. This patch changes it to removing the object file, so that you don't need write-access to the source directory. (This used to be commit 1a95f5c9a9ad10046c481b7d3ad4e15a77e23144)
2003-10-09Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij1-3/+3
Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
2003-10-09Refuse to configure if --with-expsam=$BACKEND was used but no librariesJelmer Vernooij1-2/+2
were found for $BACKEND (This used to be commit 76229085dbc76942b9b83604ea820a433fad4b0f)
2003-10-03Explicitly initialise the value of AR for vendor makes that don't doTim Potter1-0/+2
this (HPUX 11). Currently it's initialised to 'ar' but this may have to be changed if any systems pop up that have archivers that aren't named 'ar'. Closes bug #552. (This used to be commit 6aada3bd3e08abedc4c043d1ceb667ca73f8cd62)
2003-10-01save and restore CFLAGS before/after AC_PROG_CC; this macro seems to ↵Gerald Carter1-0/+9
overwrite the CFLAGS variable (This used to be commit dbf7fc4feb7f9c7cb720ce2dcbc8bb16badfe1f2)
2003-09-30when we don't have a working iconv library we must default to using only ↵Andrew Tridgell1-1/+1
builtin charsets. Defaulting to CP850 when we have just determined that it doesn't work just guarantees that Samba won't work at all (in fact it just seg faults at startup). This fixes Samba on AIX, and I expect on a bunch of other platforms. (This used to be commit 9635a28181525e5e8cfb8ef77642446a0a4ba280)
2003-09-26don't write to static pointers; patch from AnthonyGerald Carter1-1/+1
(This used to be commit 5840cbe5f6207471ccd3d518a6aee91d84e24a1f)
2003-09-18Change error message displayed when --without-libiconv is used asTim Potter1-1/+1
an argument to configure. Closes bug 468. (This used to be commit 6957ecd25f1d98e045c7a44caf03887e60715b6b)
2003-09-14Fix for typo in darwin detection.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8a57f1a72c88cde233b126d468183c52c2598420)
2003-09-13Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !Jeremy Allison1-1/+28
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Also add MacOSX/Darwin configure fixes. Jerry - can we put this in 3.0 release ? :-). Jeremy. (This used to be commit f23acb4ca5feac8ad2acfa1baf7df31283aba3ea)
2003-09-10Back out --with-good-getgrouplist patchAlexander Bokovoy1-21/+2
(This used to be commit 424b13823b666c122f43d63098cec3e54b4fa353)
2003-09-10Now that CAN-2003-0689 is published officially, we need to make possibleAlexander Bokovoy1-2/+21
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2. Unfortunately, we can't detect correctness of getgrouplist() functioning in portable way so this is left up to developer/packager. This patch adds --with-good-getgrouplist[=no] switch to configure which packagers on Linux platforms could use to specify in their own builds if they now that glibc on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc is vulnerable and perform our version check. ** This patch does not change default behaviour in Samba 3.0 -- by default we are not vulnerable on glibc as we are not using getgrouplist() See http://www.securityfocus.com/bid/8477 for vulnerability description. Right now there are following Linux vendors released glibc updates for CAN-2003-0689: RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc (This used to be commit e53622c114e0368515c50b357567fcdd0b95979e)
2003-09-08Set PICFLAG="-fPIC" for gcc under HPUX.Tim Potter1-0/+2
(This used to be commit 7f2533207ee46fa968cf1fd31ac0cd89e1fb0bb1)
2003-09-08Rename FOOLIBS to FOO_LIBS to be consistent with the rest of theTim Potter1-17/+17
library variable names. (This used to be commit 9b0b0256a8bb93482fad4032902a4ab6d1e99e23)
2003-09-07Nobody complained on the team-list, so commit it ...Volker Lendecke1-0/+16
This implements some kind of improved AFS support for Samba on Linux with OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile into secrets.tdb with 'net afskey'. If this is done, on each tree connect smbd creates a Kerberos V4 ticket suitable for use by the AFS client and gives it to the kernel via the AFS syscall. This is meant to be very light-weight, so I did not link in a whole lot of libraries to be more platform-independent using the ka_SetToken function call. Volker (This used to be commit 5775690ee8e17d3e98355b5147e4aed47e8dc213)
2003-09-04Produce an error if --with-pam_smbpass is specified and we can'tTim Potter1-3/+7
find libpam or security/pam_appl.h Also change the warnings when we can't do --with-pam_smbpass when is was requested to errors. (This used to be commit fe3fb58623c27472d54722b780af43c3e272abaf)
2003-09-04Produce an error if --with-pam is specified but no PAM headers can beTim Potter1-0/+7
found. (This used to be commit dc43c2dd1b4cd02e996fe10f1684a6571b2fd3de)
2003-09-02Disable rc4-hmac on broken heimdal setups. Pre-0.7 heimdal (or at least upJim McDonough1-2/+10
to a very recent snapshot) has arcfour-hmac code that doesn't work with windows. Love suggested detecting it via the existence of KEYTYPE_ARCFOUR_56 which only exists in working versions. (This used to be commit e039a61e51c50a1999ed8e375c4d5df8b622e310)
2003-09-02Check for support for in-memory keytabs, which are needed to make heimdalJim McDonough1-0/+22
work properly. MIT does not support them, so this check will be used to decide whether to use them. First part of fixing bug #372. (This used to be commit 85737fc9371d8208f3dd55d408958e357c48266e)
2003-09-02Fix for bug 261. Create a configure #define for FreeBSD and a check inTim Potter1-1/+5
nsswitch/pam_winbind.h so we can compile properly on this platform. (This used to be commit 75411005fcab7ecf31940c5f7b87fd407166f98a)
2003-08-28Refactor charset plugins a bit and add CP437 module.Alexander Bokovoy1-2/+3
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file with three charset tables. Full source code for such modules can be generated by source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly to follow our data types and structure. (This used to be commit 37042c7bc0f349370e93e4bed37d8fa371013247)
2003-08-27Fix bug 327 (again and I think for the last time). Make sure thatGerald Carter1-0/+2
pam_smbpass.so will load ok. Had to move some functions around to work around dependency problems (hence the new passdb/lookup_sid.c) Also make sure that libsmbclient.a is built and installed when we support shared libraries. (This used to be commit 780055f4422f11fb0524ac1f003cdc5f317f8b19)
2003-08-27Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, butJim McDonough1-0/+12
in heimdal it is an enum. Thanks to Guenther Deschner (gd@suse.de). With this join will work, but without a keytab, cifs connections will still fail with heimdal. Fix to come later. (This used to be commit d30bef4c37e8203c273eb3852215a89348bece7a)
2003-08-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy1-1/+2
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-27fix bug 230; make sure to set #define SYSV for solaris; do this outside of ↵Gerald Carter1-1/+9
the checks for shared library support (move the IRIX define as well) (This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2)
2003-08-27Fix typo in configure.in for libsmbclientAlexander Bokovoy1-1/+1
(This used to be commit 302da352a2f7f23c39ab97076505b5297ffdbe8d)
2003-08-27Undo SYSV define for Solaris. Things are more complicated than theyTim Potter1-1/+0
appear. (-: I've closed bug 355 as a duplicate of bug 230 which is still a going concern. (This used to be commit dfb5050b7732836ade12beba27a88c5e8c1a1b95)
2003-08-27Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fixTim Potter1-0/+1
vendor supplied lp printing (bug #355). For some reason this is not being set in Samba 3. In Samba 2.2 the SYSV define was only set from include/includes.h in a haphazard fashion. It's probably better to explicitly define it on a per-operating system basis anyway. (This used to be commit e653e13f45c3fa3c2cac792d78e47a2ee0df2b5a)
2003-08-26Fix for #150.Alexander Bokovoy1-1/+2
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime. 1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5 2. Make CP850 charset module shared and build it by default Should fix Solaris run-time (This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-22* Fix for bug 290:Gerald Carter1-1/+5
smbadduser must obeys the paths from configure options * Try to get libsmbclient files installed during 'make install' Still one outstanding problem with static lib. INSTALLCLIENTCMD_A is not getting set correctly. (This used to be commit 50ab28bd2524187b851732176553382fb811a051)
2003-08-21define SYSV for IRIXHerb Lewis1-0/+1
(This used to be commit f4e47012ff9704d85e017bfbc0b13030e8f5dee8)
2003-08-15Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on ↵Alexander Bokovoy1-0/+3
the platform. This allows to compile and complain about it at runtime (This used to be commit b6fa581955de36e044a41c6ce857743c7e3c9b7f)
2003-08-15Do not cache iconv checks because we are looking for it now in different ↵Alexander Bokovoy1-2/+2
places and negative result does not mean we don't have iconv unless we checked everything (This used to be commit d46f8325f2edad28870d7a5c45674bdb52ac08e4)
2003-08-15Fix charset detection code in configure.Alexander Bokovoy1-17/+52
Now we are: 1. Try to find correct name for default character sets for the platform 2. Use DEFAULT_{DOS|DISPLAY|UNIX}_CHARSET defines set during configure phase as defaults This should fix CP850 problem on Solaris (at least) because it actually has IBM850 which is the same but under different name (This used to be commit 836b9fffa0eadc818019ba36ed764e97d4f9a801)
2003-08-15Remove accidently added SMB_MODULE_PROVIDES() linesJelmer Vernooij1-5/+0
(This used to be commit 071850f87ac1c54cbb9786b5d443f6067c923663)
2003-08-15Remove nasty hack in modules system. We don't recompile files anymoreJelmer Vernooij1-7/+12
after the Makefile changes. (This used to be commit 104f62272d75e9d89ab330b620011b337eb2a435)
2003-08-14get rid of IRIX test as it is wrong.Herb Lewis1-4/+1
(This used to be commit a93fa23c17c9f69de224cdd5471916eda3cd4fec)
2003-08-14Attempt at fixing bug #283. There however is no solution.Gerald Carter1-1/+2
There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain. (This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
2003-08-14Small fix to include existing CPPFLAGS when looking for iconv.Richard Sharpe1-1/+1
(This used to be commit 772bb41a9d321c7f7377af01d1583c73fccb1e08)
2003-08-14Try to honor predefined CPPFLAGS when finding correct iconv flagsAlexander Bokovoy1-0/+3
(This used to be commit ee362ce47596a90f60b0dd3b414503547863e01b)
2003-08-14Small tweaks to configure.in to support Irix and to remove the changingRichard Sharpe1-4/+10
of LIBS where we don't need to change them, and to ensure that if --with-iconv was specified we only search the list of locations specified. (This used to be commit c2274274a6cec7aed5ba5fee72e529ff3e0c71e0)
2003-08-14A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,Richard Sharpe1-1/+1
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be much the same as 8859. (This used to be commit 02e3d779f150f99e777007a50b58861c8921925b)
2003-08-13Test for CP850 and reorder the tests, looking for ASCII, then CP850,Richard Sharpe1-2/+5
then IBM850 and lastly ISO-8859-1. (This used to be commit df8ff3f6b54aca4e43459d4275c88b90508c961a)
2003-08-13This is an intermediate commit ... we check for three different charsetsRichard Sharpe1-3/+11
in an iconv_open to be more robust. However, what we really want to do is find the name for something like CP850, which can be IBM850 on Solaris, and we might want to also check for ISO-8859-1. So, this commit adds a macro to aclocal.m4 that can check for a specific charset. (This used to be commit 81dc28ca82b94d1bc42f96273f6cefac6ca1848c)
2003-08-13Hoist the code for checking whether or not iconv actually works up into theRichard Sharpe1-23/+26
loop that looks for iconv, because we might have more than one version of iconv available and the first version might not work like we want, so we have to keep looking. We have yet to look for other character conversions as well, but for now, let's see what the build farm makes of the changes. (This used to be commit 13be2ca51a6125a6de22fa7afb88ba0688f23ab8)
2003-08-12Add vfs_readonly module which allows to enforce periodic read-only limit on ↵Alexander Bokovoy1-1/+2
a share based on a specified start and end dates according to date(1) format (This used to be commit 8b263c2fda89ff6aa2dc3a60460c5d46cf0814c6)
2003-08-11Improve MySQL library detection, add support for MySQL 4Jelmer Vernooij1-1/+1
(This used to be commit 90cbc4361e86d591e38c80092612edaa3875ea67)
2003-08-01add tests for IRIX attr functionsHerb Lewis1-1/+3
(This used to be commit ea57a57db036de6245ff44cd953dae3b482b4744)