diff options
Diffstat (limited to 'm4/speex.m4')
-rw-r--r-- | m4/speex.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/speex.m4 b/m4/speex.m4 index a39e1dd6a..5e763a946 100644 --- a/m4/speex.m4 +++ b/m4/speex.m4 @@ -45,7 +45,11 @@ int main () return 0; } -],, no_speex=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +],, no_speex=yes, + AC_TRY_LINK([ +#include <stdio.h> +#include <speex.h> +], [ return 0; ],, no_speex=yes)) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi |