mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-15 01:14:12 +02:00
19 lines
458 B
Plaintext
19 lines
458 B
Plaintext
#serial 2
|
|
|
|
dnl Determine whether to add fnmatch.o to LIBOBJS and to
|
|
dnl define fnmatch to rpl_fnmatch.
|
|
dnl
|
|
|
|
AC_DEFUN(jm_FUNC_FNMATCH,
|
|
[
|
|
AC_REQUIRE([AM_GLIBC])
|
|
AC_FUNC_FNMATCH
|
|
if test $ac_cv_func_fnmatch_works = no \
|
|
&& test $ac_cv_gnu_library = no; then
|
|
AC_SUBST(LIBOBJS)
|
|
LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
|
|
AC_DEFINE_UNQUOTED(fnmatch, rpl_fnmatch,
|
|
[Define to rpl_fnmatch if the replacement function should be used.])
|
|
fi
|
|
])
|