123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- dnl Macros to check the presence of generic (non-typed) symbols.
- dnl Copyright (c) 2006-2007 Diego Pettenò <flameeyes@gmail.com>
- dnl Copyright (c) 2006-2007 xine project
- dnl
- dnl This program is free software; you can redistribute it and/or modify
- dnl it under the terms of the GNU General Public License as published by
- dnl the Free Software Foundation; either version 2, or (at your option)
- dnl any later version.
- dnl
- dnl This program is distributed in the hope that it will be useful,
- dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
- dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- dnl GNU General Public License for more details.
- dnl
- dnl You should have received a copy of the GNU General Public License
- dnl along with this program; if not, write to the Free Software
- dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- dnl 02110-1301, USA.
- dnl
- dnl As a special exception, the copyright owners of the
- dnl macro gives unlimited permission to copy, distribute and modify the
- dnl configure scripts that are the output of Autoconf when processing the
- dnl Macro. You need not follow the terms of the GNU General Public
- dnl License when using or distributing such scripts, even though portions
- dnl of the text of the Macro appear in them. The GNU General Public
- dnl License (GPL) does govern all other use of the material that
- dnl constitutes the Autoconf Macro.
- dnl
- dnl This special exception to the GPL applies to versions of the
- dnl Autoconf Macro released by this project. When you make and
- dnl distribute a modified version of the Autoconf Macro, you may extend
- dnl this special exception to the GPL to apply to your modified version as
- dnl well.
- dnl Check if the flag is supported by compiler
- dnl CC_CHECK_CFLAGS_SILENT(, ,)
- AC_DEFUN(,
- )
- dnl Check if the flag is supported by compiler (cacheable)
- dnl CC_CHECK_CFLAGS(, ,)
- AC_DEFUN(,
- )
- dnl CC_CHECK_CFLAG_APPEND(FLAG, , )
- dnl Check for CFLAG and appends them to CFLAGS if supported
- AC_DEFUN(,
- )
- dnl CC_CHECK_CFLAGS_APPEND(, , )
- AC_DEFUN(,
- )
- dnl Check if the flag is supported by linker (cacheable)
- dnl CC_CHECK_LDFLAGS(, ,)
- AC_DEFUN(,
- )
- dnl define the LDFLAGS_NOUNDEFINED variable with the correct value for
- dnl the current linker to avoid undefined references in a shared object.
- AC_DEFUN(,
- )
- dnl Check for a -Werror flag or equivalent. -Werror is the GCC
- dnl and ICC flag that tells the compiler to treat all the warnings
- dnl as fatal. We usually need this option to make sure that some
- dnl constructs (like attributes) are not simply ignored.
- dnl
- dnl Other compilers don't support -Werror per se, but they support
- dnl an equivalent flag:
- dnl - Sun Studio compiler supports -errwarn=%all
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
- AC_DEFUN(,
- )
|