summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_cc.m4
AgeCommit message (Collapse)AuthorFilesLines
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-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell1-39/+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-10r18500: move make related checks into its own fileStefan Metzmacher1-37/+0
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-10r18337: more -Ae tests in check_cc.m4Andrew Tridgell1-4/+0
honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
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-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 Tridgell1-55/+0
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
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-10r18179: - move CC specific stuff to check_cc.m4Stefan Metzmacher1-0/+43
- 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-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher1-8/+1
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
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-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-10r15236: Fix -MT detectionJelmer Vernooij1-1/+1
(This used to be commit 2cc0925280cbcefabfcf399f2c20453a02d8d679)
2007-10-10r15232: Look for CC flags, not C++ flags..Jelmer Vernooij1-1/+1
(This used to be commit fb5c0c1d85c802367871a1a306d4f8b4d01859b4)
2007-10-10r15231: Try to fix detection of ability of CC to generate dependenciesJelmer Vernooij1-2/+6
(This used to be commit 11353d4b47964b762a72ec0e55221811a5a3d550)
2007-10-10r15224: Check whether -MT is actually supported by the compiler before usingJelmer Vernooij1-1/+2
automatic dependencies (This used to be commit 6598efc6b302984d0b26b0c76a4b7107f5feba21)
2007-10-10r14621: Define HAVE_IMMEDIATE_STRUCTURES for those using Samba headers,Jelmer Vernooij1-0/+1
so people don't end up with different sizes for NTSTATUS... (This used to be commit 54962ce41a7ae72d1dc8cbb2d2cf9cd60a1ed683)
2007-10-10r14583: Enable automatic dependencies only if GNU make >= 3.81 is present.Jelmer Vernooij1-0/+31
(This used to be commit 2b22f1853306625a4c59763ef11965ac8900d4ff)
2007-10-10r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts hasJelmer Vernooij1-9/+0
a C compiler that doesn't support -c and -o together and it makes the build system more complicated. This also means the current handling of broken C compilers is most likely broken as it isn't tested. This detection can be readded when we stumble upon a C compiler that supports both C99 (or at least the parts of it we need) and also has broken -c/-o handling, which I think is unlikely to happen. (This used to be commit 7fd74cfbb90063c79994fb6691dbe456d9ad9efa)
2007-10-10r13967: change the standard visibility to "default" public againStefan Metzmacher1-1/+0
for modules, libraries and subsystems metze (This used to be commit 2d546c32801b12ba82596ccdf1521cba7bfff9f7)
2007-10-10r13917: fix detection of the visibility support,Stefan Metzmacher1-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)
2007-10-10r13902: Stricter checking for the -fvisibility flagJelmer Vernooij1-11/+18
Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
2007-10-10r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be usedJelmer Vernooij1-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)
2007-10-10r13847: Fix some portability issues with the visibility attribute.Jelmer Vernooij1-7/+9
(This used to be commit fe5eae0e983d1c8634dd9b7caf19cd103c641223)
2007-10-10r13243: Bring __FUNCTION__ checks across from Samba 3.James Peach1-0/+8
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
2007-10-10r13225: Enable full compiler warnings for developer mode on IRIX.James Peach1-3/+7
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
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-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 Metzmacher1-1/+32
- 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-10r10071: Configure checks for IRIX build environment. Test whether we canJames Peach1-13/+27
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-10r9494: Add ac-archive macro for checking GCC options. Use this to add toJames Peach1-2/+1
developer CFLAGS to handle different versions of GCC. (This used to be commit 850d073c8569c758a6998021ee033793425316c9)
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-10r8533: improve --help outputAndrew Tridgell1-1/+1
(This used to be commit 3dd6e2056678ccf5c4844d74410dbe0775db3c46)
2007-10-10r8532: this miight fix cross compilation for reactosAndrew Tridgell1-0/+4
(This used to be commit 810fa4f762458202adee3f2fd5b13e74eae7781f)
2007-10-10r7895: hopefully this will fix the popt build on solarisAndrew Tridgell1-0/+2
(This used to be commit 8f0b4ece48b6bf28891dc89e47ebffa81c431bd7)
2007-10-10r7425: configure check to see if a compiler can handle negative enum valuesStefan Metzmacher1-0/+14
if the compiler doesn't support it we pass --uint-enums to pidl metze (This used to be commit c52703c0a8adb4f64ec52e4bf602e9c17ef2c748)
2007-10-10r7274: Move m4 files to seperate dirJelmer Vernooij1-0/+89
(This used to be commit 0dda66f0e8e6ad37d731937af184a132bf3407b1)