diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-31 18:39:37 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-31 18:39:37 +0000 |
commit | 89b5a74b8677e0b58fea51941c7935a90ce8e987 (patch) | |
tree | 03d00e5c3d8281ac9f8751c8a2cdfa638d223511 | |
parent | a1ed30d406a02035b20a3deb2ddd1f67d811f726 (diff) | |
download | gst-plugins-bad-89b5a74b8677e0b58fea51941c7935a90ce8e987.tar.gz gst-plugins-bad-89b5a74b8677e0b58fea51941c7935a90ce8e987.tar.bz2 gst-plugins-bad-89b5a74b8677e0b58fea51941c7935a90ce8e987.zip |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -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]; |