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