summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6eb7d259..04a9e644 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/configure.ac b/configure.ac
index 7c983ad9..732ae31d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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];