Commit graph

3 commits

Author SHA1 Message Date
Diego Elio 'Flameeyes' Pettenò
e61795ce53 Update attributes.m4 file from xine-lib. 2009-06-29 17:39:47 +02:00
Diego Elio 'Flameeyes' Pettenò
cad3dd2887 Make sure to set 'no' on the variable cached. 2009-03-05 13:59:53 +01:00
Diego 'Flameeyes' Pettenò
81969a73a4 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.
2008-08-08 15:09:37 +02:00