diff configure @ 5026:693b917ac916

DirectFB 0.9.9 support - patch by Aubin Paul <aubin@punknews.org>
author arpi
date Sun, 10 Mar 2002 15:47:01 +0000
parents f896676db962
children ef8a43b74075
line wrap: on
line diff
--- a/configure	Sun Mar 10 13:53:38 2002 +0000
+++ b/configure	Sun Mar 10 15:47:01 2002 +0000
@@ -1507,6 +1507,23 @@
 fi
 echores "$_directfb"
 
+echocheck "DirectFB >= 0.9.9"
+if test "$_directfb" = auto; then
+    _directfb=no
+    cat > $TMPC <<EOF
+#include <directfb.h>
+nt main(void) { IDirectFBEventBuffer *foo; return 0; }
+EOF
+  linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes
+fi
+if test "$_directfb" = yes ; then
+  _def_directfb='#define HAVE_DIRECTFB099 1'
+else
+  _def_directfb='#undef HAVE_DIRECTFB'
+fi
+echores "$_directfb"
+
+
 
 # Checking for localization ...
 echocheck "language"