diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2005-11-08 20:18:36 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2005-11-08 20:18:36 +0000 |
commit | 3c2de6e117f10e76720765001f9377f1625faf76 (patch) | |
tree | 9a3073aaba08cde0d7342999810a009f42b344e9 /m4/vorbis.m4 | |
parent | 04da2c6d70f1117df73442f3bb1b5633dcea5f06 (diff) | |
download | xine-lib-3c2de6e117f10e76720765001f9377f1625faf76.tar.gz xine-lib-3c2de6e117f10e76720765001f9377f1625faf76.tar.bz2 |
*BUGFIX*
Fixed libraries detection for cross-compiling.
CVS patchset: 7796
CVS date: 2005/11/08 20:18:36
Diffstat (limited to 'm4/vorbis.m4')
-rw-r--r-- | m4/vorbis.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/vorbis.m4 b/m4/vorbis.m4 index cefa28980..12dd5bedc 100644 --- a/m4/vorbis.m4 +++ b/m4/vorbis.m4 @@ -47,7 +47,11 @@ int main () return 0; } -],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +],, no_vorbis=yes, + AC_TRY_LINK([ +#include <stdio.h> +#include <vorbis/codec.h> +], [ return 0; ],, no_vorbis=yes)) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi |