summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ae
blob: a34aa2ab938d9db36f5b4bbae65a3c286f5c2c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ae,v 1.2 2008/12/21 16:53:31 uebayasi Exp $

--- Src/mkmakemod.sh.orig	2007-10-25 17:40:46.000000000 +0900
+++ Src/mkmakemod.sh
@@ -112,9 +112,7 @@ if $first_stage; then
     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