summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-01-17 17:29:38 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-05-01 23:55:59 +0100
commit3e3faacf89dc7cc41e4897c170882bcc4a502569 (patch)
tree74a7a5735925085682c53ed0752dac921341a133
parente1bf2aa184f83ff9fd5b7850c460129100ac6d1a (diff)
sid: Fix cross-compilation by using AC_TRY_LINK instead of AC_TRY_RUN
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917899
-rw-r--r--m4/gst-sid.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/m4/gst-sid.m4 b/m4/gst-sid.m4
index 8ae28772..3ba8a38c 100644
--- a/m4/gst-sid.m4
+++ b/m4/gst-sid.m4
@@ -16,13 +16,9 @@ if test $HAVE_SIDPLAY = "yes"; then
LIBS="-lsidplay"
- AC_TRY_RUN([
- #include <sidplay/player.h>
- int main()
- { sidTune tune = sidTune(0); }
- ],
+ AC_TRY_LINK([#include <sidplay/player.h>],
+ [sidTune tune = sidTune(0);],
HAVE_SIDPLAY="yes",
- HAVE_SIDPLAY="no",
HAVE_SIDPLAY="no")
LIBS="$ac_libs_safe"