$NetBSD: patch-ae,v 1.2 2007/09/21 05:24:43 uebayasi Exp $

--- Src/mkmakemod.sh.orig	2006-05-27 13:49:53.000000000 -0400
+++ Src/mkmakemod.sh	2007-04-28 15:00:56.000000000 -0400
@@ -112,9 +112,7 @@
     module_list="${bin_mods}${dyn_mods}"
 
     # check 2.13, 2.50, and 2.60 syntaxes
-    if grep '%@D@%D%' config.status >/dev/null ||
-       grep ',@D@,D,' config.status >/dev/null ||
-       grep ',@D@,|#_!!_#|D,' config.status >/dev/null; then
+    if grep '^#[ \t]*define[ \t][ \t]*DYNAMIC[ \t]' config.h >/dev/null; then
 	is_dynamic=true
     else
 	is_dynamic=false
