diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-08-07 16:28:18 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-08-07 16:31:52 +0200 |
commit | 4a1dd8ad276013b9fef02ca189b06eeaa1d1bf74 (patch) | |
tree | baef1b5f771dced22f42e74aa6837ea74a658245 /Makefile.am | |
parent | 506fe60f6bb07d25ac9bd7852c6b6c01f759ce84 (diff) | |
download | libcanberra-4a1dd8ad276013b9fef02ca189b06eeaa1d1bf74.tar.gz |
Replace the CFLAGS-checking code with a common macro from xine-lib.
Instead of writing custom code to check for cflags checking, import a
copy of attributes.m4 from xine-lib's repository and use the
CC_CHECK_CFLAGS macro.
The advantage lies not only in being able to reduce the custom code in
configure.ac, but also in the fact that the CC_CHECK_CFLAGS macro
caches the results, making ./configure -C quite faster on second run.
Check for the CFLAGS for any compiler and not just GCC, if the
compiler does support the flag it is better to u se it anyway,
otherwise it will be skipped.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions