summaryrefslogtreecommitdiff
path: root/m4/fnmatch.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fnmatch.m4')
-rw-r--r--m4/fnmatch.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4
index 85e40ddaa..c560fd2fa 100644
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -10,6 +10,7 @@ AC_DEFUN(jm_FUNC_FNMATCH,
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.])