summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_cc.m4
AgeCommit message (Collapse)AuthorFilesLines
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)