summaryrefslogtreecommitdiff
path: root/main/editline/Makefile.in
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2010-04-27 21:13:01 +0000
committerJason Parker <jparker@digium.com>2010-04-27 21:13:01 +0000
commit7108038175406ab8927aa23986e4f94fc82f832f (patch)
tree39eab6e623f562e08214d32c7a7da221fd59ba66 /main/editline/Makefile.in
parent595245c0e02cd27e44f614814d4292902747abe3 (diff)
Add gar to the check for AR for those silly OSes (Solaris) that don't have ar.
autoconf2.13 couldn't handle AC_PROG_GREP, so I removed it. This is fine, since we don't need to use anything that the configure script doesn't. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/editline/Makefile.in')
-rw-r--r--main/editline/Makefile.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/editline/Makefile.in b/main/editline/Makefile.in
index 4b5b6dd2e..112b68b64 100644
--- a/main/editline/Makefile.in
+++ b/main/editline/Makefile.in
@@ -2,11 +2,9 @@
# Generic Makefile for libedit.
#
-GREP=@GREP@
-
OSTYPE=$(shell uname -s)
define cyg_subst_sys
- if uname -s | ${GREP} -qi cygwin; then \
+ if uname -s | grep -i cygwin > /dev/null; then \
cat $@ | sed -e s/"sys\.h"/"config.h"/g > $@.copy; \
mv --force $@.copy $@; \
fi