~ubuntu-branches/ubuntu/hoary/findutils/hoary

« back to all changes in this revision

Viewing changes to m4/fnmatch.m4

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2003-10-26 13:44:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20031026134421-nrjr43wpcpd03m91
Tags: 4.1.20-3
Don't ship /usr/share/info/dir.gz, change Makefile.in to use install-info
test from new automake. The bug only applied to the autobuilt versions,
because I don't have /usr/sbin in $PATH, thanks to Santiago Vila.
(Closes: #217627)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#serial 3
2
 
 
3
 
dnl Determine whether to add fnmatch.o to LIBOBJS and to
4
 
dnl define fnmatch to rpl_fnmatch.
5
 
dnl
6
 
 
7
 
AC_DEFUN(jm_FUNC_FNMATCH,
8
 
[
9
 
  AC_REQUIRE([AM_GLIBC])
10
 
  AC_FUNC_FNMATCH
11
 
  if test $ac_cv_func_fnmatch_works = no \
12
 
      && test $ac_cv_gnu_library = no; then
13
 
    AC_LIBOBJ(fnmatch)
14
 
    AC_DEFINE_UNQUOTED(fnmatch, rpl_fnmatch,
15
 
      [Define to rpl_fnmatch if the replacement function should be used.])
16
 
  fi
17
 
])