summaryrefslogtreecommitdiffstats
path: root/source/m4
Commit message (Collapse)AuthorAgeFilesLines
* s3 aclocal.m4: Fix iconv checks, clean up m4 codeKai Blin2010-01-131-27/+30
| | | | | | | | | | | | | | | | | The check for iconv requiring giconv.h and libgiconv as well as the check for iconv requiring biconv.h and libbiconv were using the wrong variable to check for previous successful test results. This caused the checks to always fall back to libbiconv on systems where that library was available. In the course of fixing this, I had to clean up the indentation in that piece of code, and I also rewrote/added some comments. Many thanks to Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> for the initial patch and diagnosis. (cherry picked from commit f5aff324cb9d965bbc75634596c3c40ffc588183) Fix bug #4832 (iconv library is not used). (cherry picked from commit a706038680ffcc3124b5e476810bffb1f7578c06)
* s3:configure: autodetect ctdb/cluster supportStefan Metzmacher2009-02-161-12/+0
| | | | | | | | | We need to make sure ctdb has transaction support and we autodetect ipv6 support. metze (cherry picked from commit 11163720e6f30e83f523c5009e1e60b5cf28cda6) (cherry picked from commit f87f4842cc0ffc62d76ee5350b94f7bda735aa71)
* i18n/l10n pam_winbindBo Yang2008-11-181-0/+19
| | | | (cherry picked from commit 1ec66e9db4b8b8c928d48aa3aa5c1cf618c722c1)
* build: fix bug #5590 by not linking in the static libs but the objects.Michael Adam2008-08-211-1/+1
| | | | | | Michael (cherry picked from commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a) (cherry picked from commit d6e32fdef7a321081de6cffa6e25efe0245c40ee)
* build: fall down to the same place when using an internal lib statically.Michael Adam2008-08-211-1/+1
| | | | | | Michael (cherry picked from commit 702c0bc04668117e3521d687b9b5a87fd7e0f1b1) (cherry picked from commit 8e19123bf0732974ce2df25cca4216b1bd17ca24)
* configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default ↵Michael Adam2008-08-211-2/+2
| | | | | | | | | | | with-fhs. This is what one actually wants: Shared/static libs in /usr/lib, shared modules and so on in /usr/lib/samba. Michael (cherry picked from commit 03de8c1955a85f2e3e9f947309e09023138a1591) (cherry picked from commit bbb3f6e9b5abdbe321ad0658c442d5bc6c3a4477)
* configure: use ${libdir} instead of \${LIBDIR}.Michael Adam2008-08-211-4/+4
| | | | | | | | | | Now after removing --with-libdir, the value of ${libdir} won't change anymore at that stage, so there is no need to have the variable expansion deferred to "make". Michael (cherry picked from commit 256977cf05cb4c4073ece1389a7e4939b18f5f13) (cherry picked from commit 38f4a77feafdd9c40e1cb670c5e0cd971f130706)
* configure: remove the --with-libdir parameter.Michael Adam2008-08-211-16/+0
| | | | | | | | | | This is redundant: use the autoconf-provided --libdir instead. This will also make the new distinction between libdir and modulesdir more visible. Michael (cherry picked from commit c1d53b7c767275b39dc8ecfcd5b6129ee2cabb6d) (cherry picked from commit fd2595b4cf18de08a3124be0080a2c28bdb130ba)
* configure: Add --with-modulesdir to accompany --with-libdir.Michael Adam2008-08-211-2/+21
| | | | | | | | | | | | | | | | | | | This starts the seplitting of libdir in to libdir and modulesdir. Our shared libs should go into libdir, the internal shared modules, codepages, and other stuff that was originally in libdir, should go into modulesdir. The idea behind this is, that in a typical installation, the shared (and static) libraries (as libtalloc, libsmbclient, libwbclient and others) should be put into /usr/lib, while the e.g. the vfs modules should reside in /usr/lib/samba. This is meant to ease the work of packagers and reduce the needs for manual interaction and workarounds. Michael (cherry picked from commit b17d1ff646e22c3e979224d119b283fc3af780a8) (cherry picked from commit 43a26e856aa39cd70d1428b554532ea6c3f2018c)
* Add --enable-picky-developerZach Loafman2008-07-221-0/+8
| | | | | | This adds an --enable-picky-developer option that will halt compilation on warnings. Yes, this could be handled by a direct Makefile change, but people should be encourage to do it!
* build: extend SMB_LIBRARY() to take a version as an optional second argumentMichael Adam2008-07-071-4/+7
| | | | | | This will allow transition away from library-versions in the next step. Michael
* build: extend SMB_LIBRARY() to optionally take default value.Michael Adam2008-07-071-1/+28
| | | | | | | | The default value defaults to "yes". If no is specified, an optional third argument contains the reason why building of the shared library is turned off by default. Michael
* build: slightly change and extend the logic of SMB_LIBRARY().Michael Adam2008-07-071-9/+21
| | | | | | | | | | Only call the install/uninstall targets (from make (un)install) for libraries configured with SMB_LIBRARY(), when the user did not set --with-libname=no. Make sure to always (at least) build the static version of the library. Michael
* init_shared_module -> init_samba_moduleVolker Lendecke2008-06-231-1/+1
|
* Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke2008-06-211-1/+1
|
* build: fix configure option --with-static-libs=libXYZMichael Adam2008-03-311-1/+1
| | | | | | | | | This should not prevent building but linking of shared lib for subsystem XYZ (example --with-static-libs=libtdb). m4 quotation is tricky... Michael
* configure: fix quotation in SMB_LIBRARY for help output.Michael Adam2008-03-071-2/+2
| | | | Michael
* configure: put swat-part of config into m4-include file of its own.Michael Adam2008-02-261-0/+27
| | | | Michael
* Move the definition of SMB_LIBRARY to aclocal.m4.Michael Adam2008-02-211-0/+67
| | | | Michael
* configure: Move assemblage of samba version strings to m4 include file.Michael Adam2008-02-201-0/+29
| | | | Michael
* configure: Move path (and debug) checks to an m4 include file check_path.m4.Michael Adam2008-02-191-0/+316
| | | | | | This is inspired by metze's check_path.m4 of Samba4. Michael
* Remove unused m4 macro files.Michael Adam2008-02-197-422/+0
| | | | | | | | | These files were added in aa14900f8291a017aa7fab2bbb9a6c79b12889b2 (automatic dependency tracking) in SAMBA_3_2, which was removed from configure.in in the git glue commit 5c6c8e1fe93f340005110a7833946191659d88ab. But apparently, the files were not removed by accident. Michael
* r23094: Update the iconv detection to handle cross-compiles better. If we areJames Peach2007-10-101-16/+0
| | | | | cross-compiling, we accept the first iconv library that we find (with a warning).
* r22441: Add automatic dependency tracking. The dependency generation isJames Peach2007-10-108-0/+1218
toolchain independent, but since there's no portable method for doing makefile includes, we can actually use the dependencies with GNU make. It's easy to add this for other makes, but I don't have any to test. This also moves as much m4 as possible into the m4 directory where no-one has to look at it. AFAICT, there's no way to hide depcomp in there too, which is unfortunate.