summaryrefslogtreecommitdiffstats
path: root/irc/ircd-ru/files/patch-configure.in
blob: 96b47a5e1761a024343f15e9393889c101c521d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- configure.in.orig	25 Jun 2003 16:52:49 -0000	1.1.1.3.2.26
+++ configure.in	30 Jul 2003 12:52:16 -0000
@@ -912,14 +912,14 @@
 AC_SUBST(CONFIG_DO_DNSBL)
 AC_SUBST(DNSBL_SRC)
 
-grepresult=`echo 'a b' | egrep 'a\W+b'`
-if test "$grepresult" = "a b"; then
-INSTALL_GREP="egrep '#define\W+"
+awkresult=`echo 'a b' | awk '/a\W+b/ {print $0}'`
+if test "$awkresult" = "a b"; then
+AWKSP="\W+"
 else
-echo "poor grep implementation workaround enabled"
-INSTALL_GREP="grep '#define."
+echo "GNU awk implementation not available"
+AWKSP="."
 fi
-AC_SUBST(INSTALL_GREP)
+AC_SUBST(AWKSP)
 
 dnl don't add more of these unless it's critical.  Trying to get rid of them.
 AC_MSG_CHECKING(operating system)
OpenPOWER on IntegriCloud