From 7108038175406ab8927aa23986e4f94fc82f832f Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Tue, 27 Apr 2010 21:13:01 +0000 Subject: 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 --- main/editline/Makefile.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'main/editline/Makefile.in') 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 -- cgit v1.2.3