Changes the location of bison.simple after running bison on local
[findutils.git] / m4 / fnmatch.m4
blobd4a839379f775f3cb70c164ce0087aa87f10e1c4
1 #serial 3
3 dnl Determine whether to add fnmatch.o to LIBOBJS and to
4 dnl define fnmatch to rpl_fnmatch.
5 dnl
7 AC_DEFUN(jm_FUNC_FNMATCH,
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