summaryrefslogtreecommitdiff
path: root/source4/build/m4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19582: Support building both shared and static versions of libraries at the ↵Jelmer Vernooij1-7/+0
same time. The --enable-dso flag now specifies whether or not the Samba binaries themselves should be linked against the shared libraries. By default, all libraries will be built staticly. If supported, the shared variant of each library will also be built. If people think building both shared and static library versions in 'make all' is too time-inefficient, please let me know and I'll move the shared library bits to 'make everything'. (This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-0/+1
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>Stefan Metzmacher1-1/+1
and pass -bbigtoc also to the linker when building shared libs metze (This used to be commit 9c77de282107d28362497aff60fed81e77620a87)
2007-10-10r18974: we don't have the configure check that setsStefan Metzmacher1-5/+1
ac_cv_gnu_ld_no_default_allow_shlib_undefined and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3 I don't see a problem is always pass it explicit metze (This used to be commit 79db6bddc5fc1b97f0165348f72b6a2489b62be0)
2007-10-10r18936: hopefully fix the test for negative enum values. When a compilerAndrew Tridgell1-9/+3
truncates the enums, the test was passing. (This used to be commit c6216f7dbf68012fa8351dcae17fe4c7ab165b58)
2007-10-10r18749: Disable automatic dependencies by default (use ↵Jelmer Vernooij1-0/+5
--enable-automatic-dependencies to reenable). (This used to be commit 5506c404877434c403bbe3055c6dd6c32531c96d)
2007-10-10r18549: move gcc version check to libreplace and reorder the tests a bitStefan Metzmacher1-6/+0
for nicer output metze (This used to be commit 888a769af557d050d99df703ce5f651688c837c5)
2007-10-10r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher1-0/+2
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze (This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2-41/+0
libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher1-7/+0
- move AS_HELP_STRING replacement to libreplace metze (This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher2-18/+0
or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze (This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10r18500: move make related checks into its own fileStefan Metzmacher3-37/+44
metze (This used to be commit 6a6729fb7219ac7eb160b787827acdf1f7af7cc8)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher1-11/+1
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18366: check if we can link using the selected flagsStefan Metzmacher1-0/+6
metze (This used to be commit d905bb499d81ac4e2f00277ae77ce0a51bdc7474)
2007-10-10r18337: more -Ae tests in check_cc.m4Andrew Tridgell1-4/+0
honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10r18273: AC_PROG_LD_GNU needs LD defined alreadyStefan Metzmacher1-0/+2
metze (This used to be commit 6b3d27e93e7c00d1ab70d2c82e29b99b9f666228)
2007-10-10r18266: we should bail out in configure if C99 structs are not supportStefan Metzmacher1-0/+12
tridge: I think we should create macros in libreplace_macros.m4 and call them in check_cc.m4 instead of running the tests in libreplace.m4. Maybe the macros should remember if they're called and then they're skipped in libreplace.m4 inside samba4 metze (This used to be commit ce08bf12803869914b35c05e125070f267daf78c)
2007-10-10r18262: fix typosStefan Metzmacher1-13/+13
metze (This used to be commit acbd52009f8610df38f27adf6097cf7075b977fc)
2007-10-10r18261: print out the version of gccStefan Metzmacher1-0/+6
metze (This used to be commit 655e400127d828104718ab87a0bc118dbf1a471f)
2007-10-10r18221: moved more configure checks into lib/replace/Andrew Tridgell2-65/+0
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
2007-10-10r18219: move some more portability checks out of samba4 and info lib/replaceAndrew Tridgell1-100/+0
(This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)
2007-10-10r18210: - reenable autodependenciesStefan Metzmacher1-1/+0
- and add -MT $@ to the dependency generation to notice changes in depdendecies of header files you may need a 'make clean' or at least you need to remove heimdal_build/replace.hd metze (This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
2007-10-10r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCCStefan Metzmacher1-0/+1
- also specify USE_HOSTCC = YES on binaries that use HOSTCC I also disable autodependecies as this change let make run forever, I hopefully fix that tomorrow metze (This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
2007-10-10r18181: use:Stefan Metzmacher1-109/+101
CC and CFLAGS LD and LDFLAGS STLD and STLD_FLAGS SHLD and SHLD_FLAGS all controled by configure and import the values from samba3 which are more recent metze (This used to be commit 5e59153735102df6fae2eaaac6a7c3db86c95f8f)
2007-10-10r18179: - move CC specific stuff to check_cc.m4Stefan Metzmacher2-34/+102
- add some AC_DEFINES to rewrite.m4 (I'll remove them from check_ld.m4 soon) (I've also merged new values from samba3) metze (This used to be commit de0c8d1b1729daef984d5b44e0224481cf9e2164)
2007-10-10r18173: PICSUFFIX isn't used anymoreStefan Metzmacher1-13/+4
metze (This used to be commit 647f3b140c77a2a01ff0c9fadf45e080659844d1)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher2-37/+1
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18087: use m4_include() do notice missing filesStefan Metzmacher1-6/+6
metze (This used to be commit 77948d26f046ac2857260918bd01172bf2166e21)
2007-10-10r17904: we don't want warnings about unused parametersStefan Metzmacher1-1/+9
volker that one was for you:-) metze (This used to be commit d0aa78177d24877320bac2294328e0083f34e9a5)
2007-10-10r17890: add -Wc++-compat option to gcc but don't use it yetStefan Metzmacher1-0/+1
metze (This used to be commit 6b4f788c71a6d445ded522d89cd5425f9e2fb391)
2007-10-10r17793: add -Wmissing-prototypes, -Wmissing-declarations, ↵Stefan Metzmacher1-0/+3
-Wmissing-field-initializers gcc options, but don't enable them yet. we should step by step try to enable them, after removing the flood of warnings they would generate. metze (This used to be commit 40fb476a9cc53c757dcf07e879107c4572b8a1ee)
2007-10-10r17772: warn about unused macrosStefan Metzmacher1-0/+1
(only when defined in the .c file not in headers) metze (This used to be commit a6f22cd924ce040d6b3c31c9c483f1c256015f8d)
2007-10-10r17744: we explicit want to get warnings about declarations after statements:-)Stefan Metzmacher1-1/+1
metze (This used to be commit c3be1e18bcc050fe96be3f35e10ca643673749ca)
2007-10-10r17566: test if the compiler support inline, this resultsStefan Metzmacher1-0/+2
in #define inline if the compiler doesn't support it This hopefully fix the build on some hosts, however we should not start to use inline in our code this is more to not need to touch imported files from heimdal or popt. metze (This used to be commit 687d69af6228d159a0dfc59c44eb0a1349a51f2b)
2007-10-10r17565: expand the test for negative enum values, systems like Tru64Stefan Metzmacher1-2/+19
truncate the value to INT_MAX... So a AC_TRY_RUN test is needed here metze (This used to be commit dc0e22a52e3488a4cb9f17138389885183e90c34)
2007-10-10r17564: we don't need a AC_TRY_RUN to test the compiler warning optionsStefan Metzmacher1-1/+1
metze (This used to be commit ebade9dea58b58e34c6dfc39358ddb0b05d2b372)
2007-10-10r17531: fix whitespacesStefan Metzmacher1-1/+1
metze (This used to be commit e5f752a66bea40bc4441cff9c6023b2072dc1f6d)
2007-10-10r16341: newer autoconf versions export 'datarootdir',Stefan Metzmacher1-0/+2
fix a warning with old autoconf versions metze (This used to be commit 906c27caefa9802a72b6ea71e46e0725e445d189)
2007-10-10r15577: Make popt CFLAGS popt-specific rather then globalJelmer Vernooij1-1/+2
(This used to be commit 87233041ff6df94069f0d76f90aba22e275f83be)
2007-10-10r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.Jelmer Vernooij1-88/+2
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
2007-10-10r15405: remove define for STAT_ST_BLOCKSIZEStefan Metzmacher1-39/+39
as it's not used anywhere and it doesn't belong to check_ld.m4 metze (This used to be commit 86a9b17b3a1de0bd893a276597c9377e305ef535)
2007-10-10r15379: Fix shared library build's unresolved dependenciesJelmer Vernooij1-1/+1
(This used to be commit 0fafa2e59566f8f892d7dfd7dd33d0100b96a780)
2007-10-10r15321: Reduce the size of rewrite.m4 a bit moreJelmer Vernooij2-240/+197
(This used to be commit c83e4b166534278c335254aa8890a50635bbf1b7)
2007-10-10r15312: Fix dependency on gtksamba when GTK+ is not presentJelmer Vernooij1-4/+0
(This used to be commit 8f5e507ce3517bbbf06d3f9ec28d40b7158be1bc)
2007-10-10r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij1-2/+2
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-4/+0
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15280: - remove the 2nd check for __FUNCTION__Stefan Metzmacher1-7/+0
- fallback to __func__ if __FUNCTION__ isn't there metze (This used to be commit 6c5a2b08ca2f0db6b39808740a06ed165e8b9ade)
2007-10-10r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues ↵Jelmer Vernooij2-18/+8
with local (empty) libpopt.a overriding global one (This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)
2007-10-10r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's ↵Jelmer Vernooij1-1/+1
working again. (This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)
2007-10-10r15257: Look for headers before trying to use them in any tests. ThisJelmer Vernooij1-6/+1
should fix the OpenBSD build (This used to be commit 6172731af1f91d4e5f9d49284a179b0966ba19ef)