~ubuntu-branches/ubuntu/vivid/basilisk2/vivid

« back to all changes in this revision

Viewing changes to src/Unix/m4/egrep.m4

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-03-06 19:33:01 UTC
  • mfrom: (2.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080306193301-cc2ofn705nfsq3y0
Tags: 0.9.20070407-4
* Update copyright-check cdbs snippet to parse licensecheck using perl:
  + No longer randomly drops newlines
  + More compact hint file (and ordered more like wiki-proposed new copyright
    syntax).
  + No longer ignore files without copyright.
* Update copyright_hints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
])])