aboutsummaryrefslogtreecommitdiff
path: root/irc/ircd-ru/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-ru/files/patch-configure.in')
-rw-r--r--irc/ircd-ru/files/patch-configure.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/ircd-ru/files/patch-configure.in b/irc/ircd-ru/files/patch-configure.in
new file mode 100644
index 000000000000..96b47a5e1761
--- /dev/null
+++ b/irc/ircd-ru/files/patch-configure.in
@@ -0,0 +1,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)