configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the linking is what is interesting, not that ...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the linking
is what is interesting, not that it actually runs.
Fixes cross-compilation and fixes bug #558639.
This commit is contained in:
Sebastian Dröge 2008-10-31 18:39:37 +00:00
parent a1ed30d406
commit 89b5a74b86
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-10-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the linking
is what is interesting, not that it actually runs.
Fixes cross-compilation and fixes bug #558639.
2008-10-30 Michael Smith <msmith@songbirdnest.com>
* sys/qtwrapper/audiodecoders.c:

View file

@ -392,10 +392,11 @@ AG_GST_CHECK_FEATURE(APEXSINK, [AirPort Express Wireless sink], apexsink, [
# Basic test to check for compatible version and correct linking
# *does not* test for RSA - that comes later.
AC_TRY_RUN(
AC_TRY_COMPILE(
[
#include <string.h>
#include <openssl/rand.h>
],[
int main(void)
{
char a[2048];