| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This ensures that hte library will be built in a way that will not
fail when --as-needed is used.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of using AC_SEARCH_LIBS or AC_CHECK_LIB, create a new macro to
search for function in different libraries; this is needed since the
function name might just be a (preprocessor) macro for another symbol.
The new macro is released under GPL2 (or later) + exception, and
allows to provide a custom source code to use to test for the
function.
|
|
|
|
|
| |
As many 0pointer projects use the same code, move it out on its own
macro, and use that. The macro can then be shared across projects.
|
|
|
|
| |
Use eval to make sure the correct variable name is tested.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
Make this change because recent versions of libtool (2.2 series) copy
over their m4 macro files if an m4/ directory is present, and because
futher m4/ macro files might be added too.
Also make sure the macro directory is announced to autoconf and is
picked up by aclocal.
|