From 9876241d34923c7babfe1a72e911e7fa2480c85c Mon Sep 17 00:00:00 2001
From: Sonny Karlsson <ksonny@lotrax.org>
Date: Tue, 3 Jul 2012 18:31:32 +0200
Subject: [PATCH] configure: Ignore plugins without Makefile.

---
 configure |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 1d00525..d9c97a3 100755
--- a/configure
+++ b/configure
@@ -466,6 +466,10 @@ create_makefile_plugins()
         disabled=`echo $disabled_plugins | grep -w $plugin_dir`
         disabled=$?
 
+        if test ! -e $plugin_dir/Makefile -a ! -e $plugin_dir/Makefile.in ; then
+                continue
+        fi
+
         comment="    "
 	if test -e $plugin_dir/DISABLED || [ $disabled -eq 0 ] ; then
             if [ $enabled -eq 1 ] ; then
-- 
1.7.10.4

