summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ftw.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/ftw.m4 b/m4/ftw.m4
index 63da5dabb..7a2f7c28c 100644
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -49,8 +49,7 @@ main ()
[ac_cv_func_ftw_working=no])])
if test $ac_cv_func_ftw_working = no; then
AC_LIBOBJ([ftw])
- AC_DEFINE(ftw, rpl_ftw,
- [Define to rpl_ftw if the replacement function should be used.])
+ AC_CONFIG_LINKS([$ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h])
# Add tsearch.o IFF we have to use the replacement ftw.c.
if test -n "$need_tdestroy"; then
AC_LIBOBJ([tsearch])