summaryrefslogtreecommitdiff
path: root/m4/ax_append_compile_flags.m4
Commit message (Collapse)AuthorAgeFilesLines
* all-permissive for macros from Guido Draheim / Maarten BosmansGuido Draheim2018-07-221-26/+5
|
* switch gnu.org sites to httpsMike Frysinger2017-02-081-5/+5
|
* AX_APPEND_COMPILE_FLAGS, AX_APPEND_LINK_FLAGS: Optional INPUT argMarkus Armbruster2015-11-231-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Behaves exactly like the optional INPUT argument of AX_CHECK_COMPILE_FLAG, AX_CHECK_LINK_FLAG. Motivation: I'd like to add -fstack-protector-strong. The obvious solution is AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong]). Unfortunately, some ports of the GNU toolchain reportedly pass this test, then fail to link. That's because the compiler accepts the flag, duly emits references to helper code in libc (on my system: ___stack_chk_guard()), but libc doesn't provide, and linking fails. The new argument lets me cover this failure mode: AX_APPEND_LINK_FLAGS([-fstack-protector-strong], [], [], [AC_LANG_SOURCE([[ int main(int argc, char *argv[]) { char arr[64], *dst = arr, *src = argv[0]; while ((*dst++ = *src++)) ; } ]])]) Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
* AX_REQUIRE_DEFINED: new helper for requiring macros existMike Frysinger2014-01-151-3/+3
| | | | | | | | | | In cases where we want to require that a macro exists, but not call it, introduce a new AX_REQUIRE_DEFINED helper. The existing AC_REQUIRE macro will call its argument and does not allow for passing of additional args to the macro. Once we have this in place, cut a few callers over to it to fix bugs where they'd accidentally call other helpers w/out any flags.
* AC_REQUIRE AX_APPEND_FLAG when appropriate.Mike Frysinger2012-06-181-2/+4
| | | | | | A bunch of m4 files use AX_APPEND_FLAG, but don't AC_REQUIRE, which can lead to runtime errors instead of compile time errors when the macro is missing.
* Updated serial numbers, and re-formatted the macro to be consistent with the ↵Peter Simons2011-07-081-5/+6
| | | | rest of the archive.
* ax_append_flag: Split file into one macro per fileMaarten Bosmans2011-07-021-0/+62
|
* remove m4 submoduleDustin J. Mitchell2009-08-011-6/+0
|
* m4: update reference to macro branchPeter Simons2009-08-011-5/+5
|
* m4: update reference to macro branchPeter Simons2009-07-311-7/+5
|
* m4: update reference to macro branchPeter Simons2009-07-301-5/+7
|
* m4: update reference to macro branchPeter Simons2009-07-271-5/+5
|
* Avoid non-ASCII characters in m4 files.Peter Simons2009-07-271-7/+5
|
* m4: update reference to macro branchPeter Simons2009-07-221-7/+6
|
* m4: update reference to macro branchPeter Simons2009-07-211-5/+8
|
* m4: update reference to macro branchPeter Simons2009-07-211-7/+5
|
* m4: update reference to macro branchPeter Simons2009-07-211-6/+6
|
* m4: update reference to macro branchPeter Simons2009-07-201-5/+7
|
* m4: update reference to macro branchPeter Simons2009-07-191-7/+5
|
* m4: update reference to macro branchPeter Simons2009-07-171-6/+6
|
* m4: update reference to macro branchPeter Simons2009-06-231-12/+6
|
* m4: update reference to macro branchPeter Simons2009-06-221-6/+12
|
* m4: update reference to macro branchPeter Simons2009-06-161-5/+7
|
* m4: update reference to macro branchPeter Simons2009-06-101-7/+5
|
* m4: update reference to macro branchPeter Simons2009-06-101-6/+6
|
* m4: update reference to macro branchPeter Simons2009-06-051-7/+6
|
* maint: added initial version of the toolchainPeter Simons2009-05-051-0/+9
The build process requires python, the python StringTemplate module, and preferably SCons. A make-based build exists, but it is really slow and awkward, compared to the SConstruct file.