summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ae
blob: 1633ef03c5fb6842df369114e6dede260fa6efaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.1 2004/03/28 18:35:45 recht Exp $

--- Src/mkmakemod.sh.org	2004-02-15 05:50:17.000000000 +1100
+++ Src/mkmakemod.sh	2004-03-26 14:18:45.000000000 +1100
@@ -112,8 +112,7 @@
     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