summaryrefslogtreecommitdiffstats
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Check if the linker has an option to refuse undefined references.Diego E. 'Flameeyes' Pettenò2008-11-191-0/+25
| | | | | This ensures that hte library will be built in a way that will not fail when --as-needed is used.
* Update attributes.m4 from lscube projects.Diego 'Flameeyes' Pettenò2008-10-281-0/+28
|
* Create an improved function search macro, and use it to look for res_query.Diego 'Flameeyes' Pettenò2008-10-281-0/+82
| | | | | | | | | | 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.
* Split out the lynx documentation generation autoconf code to an m4 macro.Diego 'Flameeyes' Pettenò2008-08-261-0/+24
| | | | | 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.
* Fix CC_CHECK_CFLAGS when used in a for loop.Diego 'Flameeyes' Pettenò2008-08-261-4/+4
| | | | Use eval to make sure the correct variable name is tested.
* Replace the CFLAGS-checking code with a common macro from xine-lib.Diego 'Flameeyes' Pettenò2008-08-261-0/+258
| | | | | | | | | | | | | | 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.
* Ignore the m4 macro files added over by libtoolize --copy.Diego 'Flameeyes' Pettenò2008-08-261-0/+5
|
* Move ACX_PTHREAD macro from acinclude.m4 to m4/ directory.Diego 'Flameeyes' Pettenò2008-08-261-0/+199
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.