summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index b1acf18c60..e84d27f3dc 100755
--- a/configure
+++ b/configure
@@ -4172,6 +4172,9 @@ if test "$_caca" = auto ; then
if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then
cat > $TMPC << EOF
#include <caca.h>
+#ifdef CACA_API_VERSION_1
+ #include <caca0.h>
+#endif
int main(void) { (void) caca_init(); return 0; }
EOF
cc_check `caca-config --libs` && _caca=yes