~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to macros/grep-check.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Autoconf macro to check for the existence of grep
 
2
dnl $Id: grep-check.m4,v 1.2 2002/02/14 18:02:04 jmarcus Exp $
 
3
 
 
4
AC_DEFUN([AC_PROG_GREP], [
 
5
AC_REQUIRE([AC_EXEEXT])dnl
 
6
test x$GREP = x && AC_PATH_PROG(GREP, grep$EXEEXT, grep$EXEEXT)
 
7
test x$GREP = x && AC_MSG_ERROR([no acceptable grep found in \$PATH])
 
8
])
 
9
 
 
10
AC_SUBST(GREP)