]> arthur.barton.de Git - netatalk.git/blob - macros/grep-check.m4
Merge branch 'develop' of netafp.com:git/netatalk into develop
[netatalk.git] / macros / grep-check.m4
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)