1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- # SYNOPSIS
- #
- # MHD_FIND_ADD_CC_CFLAG(,
- # , , ...)
- #
- # DESCRIPTION
- #
- # This macro checks whether the specific compiler flags are supported.
- # The flags are checked one-by-one. The checking is stopped when the first
- # supported flag found.
- # The checks are performing by appending FLAGx-TO-TEST to the value of
- # VARIABLE-TO-EXTEND (CFLAGS if not specified), then prepending result to
- # CFLAGS (unless VARIABLE-TO-EXTEND is CFLAGS), and then performing compile
- # and link test. If test succeed without warnings, then the flag is added to
- # VARIABLE-TO-EXTEND and next flags are not checked. If compile-link cycle
- # cannot be performed without warning with all tested flags, no flag is
- # added to the VARIABLE-TO-EXTEND.
- #
- # Example usage:
- #
- # MHD_CHECK_CC_CFLAG(,
- # , , , )
- #
- # Note: Unlike others MHD_CHECK_*CC_CFLAG* macro, this macro uses another
- # order of parameters.
- #
- # LICENSE
- #
- # Copyright (c) 2022 Karlson2k (Evgeny Grin) <k2k@narod.ru>
- #
- # Copying and distribution of this file, with or without modification, are
- # permitted in any medium without royalty provided the copyright notice
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
- #serial 2
- AC_DEFUN(,
- )
- # SYNOPSIS
- #
- # _MHD_FIND_ADD_CC_XFLAG(,
- # , ,
- # ,
- # , , ...)
- #
- AC_DEFUN(,
- )dnl
- ])
- # SYNOPSIS
- #
- # _MHD_FIND_ADD_CC_XFLAG_BODY(,
- # ,
- # ,
- # , , ...)
- #
- m4_define(,
- )
|