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
This commit is contained in:
Jason Parker
2010-04-27 21:13:01 +00:00
parent 595245c0e0
commit 7108038175
3 changed files with 57 additions and 185 deletions

View File

@@ -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