summaryrefslogtreecommitdiffstats
path: root/source4/build/m4
Commit message (Collapse)AuthorAgeFilesLines
...
* r13917: fix detection of the visibility support,Stefan Metzmacher2007-10-101-7/+14
| | | | | | | | as we don't use #pragma for the build don't use it for the configure test and use -fvisibility=hidden in CFLAGS in the configure test metze (This used to be commit a0c543c0d6440627da594611fbff3ef1ab0d4251)
* r13902: Stricter checking for the -fvisibility flagJelmer Vernooij2007-10-101-11/+18
| | | | | Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
* r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be usedJelmer Vernooij2007-10-101-20/+12
| | | | | | | to not export symbols when building shared libraries. Symbols that have to be available to users of the library can be explicitly exported by prepending them with _PUBLIC_ in the C source. (This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
* r13847: Fix some portability issues with the visibility attribute.Jelmer Vernooij2007-10-101-7/+9
| | | | (This used to be commit fe5eae0e983d1c8634dd9b7caf19cd103c641223)
* r13269: ${prefix} is a special case in the autoconf/build system, and shouldAndrew Bartlett2007-10-101-2/+2
| | | | | | | be escaped as \${prefix}, otherwise it evaluates too early as "NONE". Andrew Bartlett (This used to be commit 6b42029de99011986c1fa7bfd5833dbbbf476206)
* r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix theJames Peach2007-10-101-0/+12
| | | | | build on NetBSD. (This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
* r13249: Check for alloca.h. popt needs this.James Peach2007-10-101-0/+1
| | | | (This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
* r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach2007-10-101-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)
* r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett2007-10-101-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)
* r13243: Bring __FUNCTION__ checks across from Samba 3.James Peach2007-10-101-0/+8
| | | | (This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
* r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. FixJames Peach2007-10-101-0/+5
| | | | | from Brad Hards <bradh@frogmouth.net>. (This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
* r13225: Enable full compiler warnings for developer mode on IRIX.James Peach2007-10-101-3/+7
| | | | (This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
* r13163: as we don't import the raw magic configure vars forStefan Metzmacher2007-10-101-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)
* r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett2007-10-101-51/+6
| | | | | Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
* r13152: Jelmer assures me that this won't break anything, but does make itAndrew Bartlett2007-10-101-7/+9
| | | | | | | much clearer where things go. Andrew Bartlett (This used to be commit 655076d51b9213a8dba348c10c044f27709b61c6)
* r13071: Work around a really annoying compiler warning where header fileJames Peach2007-10-101-0/+21
| | | | | ordering causes MIN and MAX to be redefined. (This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)
* r12836: use: -fvisibility=hidden ↵Stefan Metzmacher2007-10-101-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)
* r12805: merge from samba3Stefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit e6dff57793c302f8537274a628dba8ab01a2fed8)
* r12615: prepare building with ../samba4/source/configure ↵Stefan Metzmacher2007-10-101-2/+11
| | | | | | | --srcdir=../samba4/source/ metze (This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
* r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij2007-10-101-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)
* r12379: export the detected perlStefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit abfb04764637bff2c752675441046130628bad65)
* r12301: FHS 2.2 says that /var/cache/* contains only cached data, which can ↵Stefan Metzmacher2007-10-101-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)
* r12266: add --with-libdir option to overwrite the result that is set by ↵Stefan Metzmacher2007-10-101-0/+13
| | | | | | | --with-fhs=yes/no metze (This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)
* r11481: Disable pre-linking on VMSJelmer Vernooij2007-10-101-0/+5
| | | | (This used to be commit 2b3ad67b5d53e8c63d81e9fe4ef237c5c927d595)
* r11382: Require number of required M4 macrosJelmer Vernooij2007-10-101-29/+4
| | | | | | Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
* r11304: Add support back in for loading shared modules (not used yet)Jelmer Vernooij2007-10-101-9/+0
| | | | (This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
* r11299: Try to fix build on Stratos VOS (doesn't support ld -r)Jelmer Vernooij2007-10-101-0/+4
| | | | (This used to be commit 65c71bf354612a589049753d854e154482957573)
* r11184: Remove test that checks whether ftruncate() needs root, because I can'tJelmer Vernooij2007-10-101-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)
* r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell2007-10-101-1/+0
| | | | | type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
* r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
* r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij2007-10-101-9/+1
| | | | | for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
* r10456: More SCons fixes:Jelmer Vernooij2007-10-101-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)
* r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij2007-10-101-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)
* r10393: More type checking in sconsJelmer Vernooij2007-10-102-7/+0
| | | | | Remove unused file (This used to be commit a9e71ab5d1ed8b34f158ff0e89dd67ec785b9829)
* r10287: Compile compilers for build host. This fixes some bits ofJelmer Vernooij2007-10-101-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)
* r10283: Eliminate some more use of autoconf substitution variables.Jelmer Vernooij2007-10-101-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)
* r10077: - move gcc option checks to check_cc.m4Stefan Metzmacher2007-10-102-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)
* r10076: this macro was moved to build/m4/smb_cc_featues.m4Stefan Metzmacher2007-10-101-18/+0
| | | | | metze (This used to be commit cd444bd6f0743cd5ba1d2b137c2411d3088ff6f0)
* r10075: fix warning with autoconf 2.59 on SuSE 9.3Stefan Metzmacher2007-10-101-2/+2
| | | | | | | (don't use m4_regexp: use regexp or m4_bregexp) metze (This used to be commit 89149c06c9319a9ab1e1b411af3e931afa8035aa)
* r10071: Configure checks for IRIX build environment. Test whether we canJames Peach2007-10-106-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)
* r10041: Add 'gcov' make target. RunJelmer Vernooij2007-10-101-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)
* r9939: Add configure check for yapp.James Peach2007-10-101-0/+2
| | | | (This used to be commit 0300f2329c71429e43ed18e6f411985a76e5aad5)
* r9587: Fix SWAT data dir for --with-fhsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)
* r9494: Add ac-archive macro for checking GCC options. Use this to add toJames Peach2007-10-103-4/+200
| | | | | developer CFLAGS to handle different versions of GCC. (This used to be commit 850d073c8569c758a6998021ee033793425316c9)
* r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell2007-10-101-1/+1
| | | | | | McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
* r9148: remove the aix stuff it didn't fix the buildStefan Metzmacher2007-10-101-8/+0
| | | | | metze (This used to be commit ff01807d731980ecc38264d6923f54cfae460878)
* r9108: try to get aix building...Stefan Metzmacher2007-10-101-0/+8
| | | | | metze (This used to be commit b5277c62f2e82bb2f3fd5a091e82680deab03c77)
* r9063: - don't pollute the global $LIBS variable with -ldlStefan Metzmacher2007-10-101-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)
* r8966: Simplify the makefile generation system a bit.Jelmer Vernooij2007-10-101-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)
* r8868: add comfigure check for c99 struct initialization,Stefan Metzmacher2007-10-101-0/+21
| | | | | | | which is required for samba4 metze (This used to be commit 3d4fdb70935b4bde1c34a293e5d5a3000151c116)