ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/m4/egrep.m4
Revision: 1.1
Committed: 2005-07-01T05:54:20Z (19 years ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-19, nigel-build-17, HEAD
Log Message:
Import m4 macros for external packages in case one would want to regenerate
a configure script without having those installed (e.g. on MacOS X).

File Contents

# Content
1 # AC_PROG_EGREP
2 # -------------
3 # This is predefined starting with Autoconf 2.54, so this conditional
4 # definition can be removed once we require Autoconf 2.54 or later.
5 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
6 [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
7 [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
8 then ac_cv_prog_egrep='grep -E'
9 else ac_cv_prog_egrep='egrep'
10 fi])
11 EGREP=$ac_cv_prog_egrep
12 AC_SUBST([EGREP])
13 ])])