forked from firehol/firehol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ax_need_egrep.m4
29 lines (27 loc) · 868 Bytes
/
ax_need_egrep.m4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SYNOPSIS
#
# AX_NEED_EGREP
#
# DESCRIPTION
#
# Check if an egrep implementation is available. Bail-out if not found.
#
# This work is heavily based upon ax_need_awk.m4 script by
# Francesco Salvestrini <[email protected]>, here
# http://www.gnu.org/software/autoconf-archive/ax_need_awk.html
#
# LICENSE
#
# Copyright (c) 2015 Phil Whineray <[email protected]>
# Copyright (c) 2009 Francesco Salvestrini <[email protected]>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
AC_DEFUN([AX_NEED_EGREP],[
AC_REQUIRE([AC_PROG_EGREP])
AS_IF([test "x$EGREP" = "x"],[
AC_MSG_ERROR([cannot find egrep, bailing out])
])
])