summaryrefslogtreecommitdiff
path: root/source4/build/m4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13847: Fix some portability issues with the visibility attribute.Jelmer Vernooij1-7/+9
(This used to be commit fe5eae0e983d1c8634dd9b7caf19cd103c641223)
2007-10-10r13269: ${prefix} is a special case in the autoconf/build system, and shouldAndrew Bartlett1-2/+2
be escaped as \${prefix}, otherwise it evaluates too early as "NONE". Andrew Bartlett (This used to be commit 6b42029de99011986c1fa7bfd5833dbbbf476206)
2007-10-10r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix theJames Peach1-0/+12
build on NetBSD. (This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
2007-10-10r13249: Check for alloca.h. popt needs this.James Peach1-0/+1
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
2007-10-10r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach1-21/+0
included from other headers. In this case, undeffing MIN and MAX is a really bad idea because the subsequent include of sys/param.h will do nothing because of its include guards. (This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-0/+19
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13243: Bring __FUNCTION__ checks across from Samba 3.James Peach1-0/+8
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
2007-10-10r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. FixJames Peach1-0/+5
from Brad Hards <bradh@frogmouth.net>. (This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
2007-10-10r13225: Enable full compiler warnings for developer mode on IRIX.James Peach1-3/+7
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
2007-10-10r13163: as we don't import the raw magic configure vars forStefan Metzmacher1-11/+12
libdir, datadir, sysconfdir,localstatedir into our Makefile we need to expand them in configure I'll maybe rework this later but for now this works metze (This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett1-51/+6
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13152: Jelmer assures me that this won't break anything, but does make itAndrew Bartlett1-7/+9
much clearer where things go. Andrew Bartlett (This used to be commit 655076d51b9213a8dba348c10c044f27709b61c6)
2007-10-10r13071: Work around a really annoying compiler warning where header fileJames Peach1-0/+21
ordering causes MIN and MAX to be redefined. (This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)
2007-10-10r12836: use: -fvisibility=hidden ↵Stefan Metzmacher1-0/+19
-D_PUBLIC_="__attribute__((visibility(\"default\")))" if the compiler supports it, this will cause that modules can only access public functions (gcc 4 supports this) metze (This used to be commit bcf4c362556b8168fc0b63af5708e4a78c7b93fb)
2007-10-10r12805: merge from samba3Stefan Metzmacher1-2/+2
metze (This used to be commit e6dff57793c302f8537274a628dba8ab01a2fed8)
2007-10-10r12615: prepare building with ../samba4/source/configure ↵Stefan Metzmacher1-2/+11
--srcdir=../samba4/source/ metze (This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-5/+4
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r12379: export the detected perlStefan Metzmacher1-0/+1
metze (This used to be commit abfb04764637bff2c752675441046130628bad65)
2007-10-10r12301: FHS 2.2 says that /var/cache/* contains only cached data, which can ↵Stefan Metzmacher1-1/+1
we removed without losing data, we should keep our databases under /var/lib/* should I merge this to samba3 too? metze (This used to be commit 82f5a0462e51e9e59d8d1ed402762d08cfca20fe)
2007-10-10r12266: add --with-libdir option to overwrite the result that is set by ↵Stefan Metzmacher1-0/+13
--with-fhs=yes/no metze (This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)
2007-10-10r11481: Disable pre-linking on VMSJelmer Vernooij1-0/+5
(This used to be commit 2b3ad67b5d53e8c63d81e9fe4ef237c5c927d595)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij1-29/+4
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11304: Add support back in for loading shared modules (not used yet)Jelmer Vernooij1-9/+0
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
2007-10-10r11299: Try to fix build on Stratos VOS (doesn't support ld -r)Jelmer Vernooij1-0/+4
(This used to be commit 65c71bf354612a589049753d854e154482957573)
2007-10-10r11184: Remove test that checks whether ftruncate() needs root, because I can'tJelmer Vernooij1-7/+0
find the file it tries to use (build/tests/ftruncroot.c) and the value it defines is not used anywhere. (This used to be commit 97bbf4a46035becaee50d242364146e3529cf631)
2007-10-10r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell1-1/+0
type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-1/+0
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij1-9/+1
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij1-4/+1
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-93/+7
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10393: More type checking in sconsJelmer Vernooij2-7/+0
Remove unused file (This used to be commit a9e71ab5d1ed8b34f158ff0e89dd67ec785b9829)
2007-10-10r10287: Compile compilers for build host. This fixes some bits ofJelmer Vernooij1-3/+11
the mingw32 build (it now fails on missing inet_aton / in_addr definitions). Find sane default for HOSTCC (This used to be commit 1a833690b8fd9a22169882c41704d24f2d52b2d9)
2007-10-10r10283: Eliminate some more use of autoconf substitution variables.Jelmer Vernooij1-2/+2
Add makefile rule for '.ho' files (compiled with host compiler). This does not allow for cross-compiling yet as that requires a HOSTLD as well. (This used to be commit c675ba0ee437ade4abe839a2fb193b9e3a98a3de)
2007-10-10r10077: - move gcc option checks to check_cc.m4Stefan Metzmacher2-29/+44
- only use -g if supported - don't allow AC_PROG_C and friends to autoset the CFLAGS (we don't want -g -02 by default..., maybe a configure option for -OX could be useful...) metze (This used to be commit f3e0bf022f6a1d5de0d21eb7be3ec97f526fe631)
2007-10-10r10076: this macro was moved to build/m4/smb_cc_featues.m4Stefan Metzmacher1-18/+0
metze (This used to be commit cd444bd6f0743cd5ba1d2b137c2411d3088ff6f0)
2007-10-10r10075: fix warning with autoconf 2.59 on SuSE 9.3Stefan Metzmacher1-2/+2
(don't use m4_regexp: use regexp or m4_bregexp) metze (This used to be commit 89149c06c9319a9ab1e1b411af3e931afa8035aa)
2007-10-10r10071: Configure checks for IRIX build environment. Test whether we canJames Peach6-16/+243
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find a common perl that is more modern than /usr/bin/perl. (This used to be commit 82fab8b747bf68d8548c6f0f2f4bff98bd428d22)
2007-10-10r10041: Add 'gcov' make target. RunJelmer Vernooij1-0/+2
'make clean gcov' to generate a set of files describing the test coverage of the Samba 4 code. (This used to be commit 72bb84add469ad4f027ddbd8d73bb846b0609fa2)
2007-10-10r9939: Add configure check for yapp.James Peach1-0/+2
(This used to be commit 0300f2329c71429e43ed18e6f411985a76e5aad5)
2007-10-10r9587: Fix SWAT data dir for --with-fhsJelmer Vernooij1-1/+1
(This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)
2007-10-10r9494: Add ac-archive macro for checking GCC options. Use this to add toJames Peach3-4/+200
developer CFLAGS to handle different versions of GCC. (This used to be commit 850d073c8569c758a6998021ee033793425316c9)
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell1-1/+1
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r9148: remove the aix stuff it didn't fix the buildStefan Metzmacher1-8/+0
metze (This used to be commit ff01807d731980ecc38264d6923f54cfae460878)
2007-10-10r9108: try to get aix building...Stefan Metzmacher1-0/+8
metze (This used to be commit b5277c62f2e82bb2f3fd5a091e82680deab03c77)
2007-10-10r9063: - don't pollute the global $LIBS variable with -ldlStefan Metzmacher1-159/+7
- -lresolve seems to not being needed any more (it's actually not used, and the build farm seem to happy with it) - move socket and netif configure test to seperate files - don't pollute the global $LIBS variable with -lsocket ... - actually make use of the -lsocket when needed (should fix the solaris build) metze (This used to be commit adebd56be6f62323d56b6666ca0e02f85a33438e)
2007-10-10r8966: Simplify the makefile generation system a bit.Jelmer Vernooij1-0/+1
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm) Add INSTALLDIR keyword to .mk files (This used to be commit ce0935112b846486cf705ec69f12350be9c4c89d)
2007-10-10r8868: add comfigure check for c99 struct initialization,Stefan Metzmacher1-0/+21
which is required for samba4 metze (This used to be commit 3d4fdb70935b4bde1c34a293e5d5a3000151c116)
2007-10-10r8853: fixed path to smb.confAndrew Tridgell1-1/+1
Jelmer, is this what you intended? (This used to be commit e2251823fecea8d35913739d83abb8cf29d785f2)
2007-10-10r8832: Automatically rebuilding C files if headers change (in developer mode)Jelmer Vernooij1-0/+1
(This used to be commit bb02e1dccb058e31cf33aaac954708276090a9ec)
2007-10-10r8826: Make configure generate config.mk files (with the external librariesJelmer Vernooij5-224/+43
that were found) and a config.pm file (with all substitution variables) (This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)