summaryrefslogtreecommitdiff
path: root/shells/zsh-current/patches/patch-ae
blob: 857b6cfd4bccf5b4a242ba169ff02185e653730a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.1 2006/03/11 13:20:15 uebayasi Exp $

--- Src/mkmakemod.sh.orig	2005-08-09 18:55:18.000000000 +0900
+++ Src/mkmakemod.sh
@@ -112,8 +112,7 @@ if $first_stage; then
     module_list="${bin_mods}${dyn_mods}"
 
     # check both 2.13 and 2.50 syntax
-    if 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