summaryrefslogtreecommitdiff
path: root/m4/caca.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/caca.m4')
-rw-r--r--m4/caca.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/caca.m4 b/m4/caca.m4
index 5e8c27a19..884256fbe 100644
--- a/m4/caca.m4
+++ b/m4/caca.m4
@@ -108,7 +108,11 @@ int main ()
}
}
-],, no_caca=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+],, no_caca=yes,
+ AC_TRY_LINK([
+#include <stdio.h>
+#include <caca.h>
+], [ return 0; ],, no_caca=yes))
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"