Replace some manual build tests with AC_CACHE_CHECK and AC_COMPILE_IFELSE.
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 12:43:37 +0000 (14:43 +0200)
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 13:09:38 +0000 (15:09 +0200)
commit89f492a7df542b04782aebeb126a39fa592bfa55
treec0f17665850c4d18f429ab3006682343476dd9f1
parentdaf3e8b97d09d85d51eac34b9d5acf4545d03a2d
Replace some manual build tests with AC_CACHE_CHECK and AC_COMPILE_IFELSE.

Instead of compiling the build tests manually, use autoconf
facilities, so that the results are cached between runs. Also avoid
linking when a simple compile test is enough.
configure.ac