summaryrefslogtreecommitdiff
path: root/m4/ftw.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-21 08:26:59 +0000
committerJim Meyering <jim@meyering.net>2003-01-21 08:26:59 +0000
commitf6cabef722922be09e58378ddb630d9aa60cfe34 (patch)
treee3a5abc7ce53ee15c3ac321575668e3b6f800e9d /m4/ftw.m4
parent24ad07391c57f53fd41db00c60380f2da20842a1 (diff)
downloadcoreutils-f6cabef722922be09e58378ddb630d9aa60cfe34.tar.xz
Link search.h to search_.h if we use our tsearch.c.
Diffstat (limited to 'm4/ftw.m4')
-rw-r--r--m4/ftw.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/ftw.m4 b/m4/ftw.m4
index f0fedd4b0..55c8a2786 100644
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -54,6 +54,9 @@ main ()
# Add tsearch.o IFF we have to use the replacement ftw.c.
if test -n "$need_tdestroy"; then
AC_LIBOBJ([tsearch])
+ # Link search.h to search_.h if we use the replacement tsearch.c.
+ AC_CONFIG_LINKS(
+ [$ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h])
fi
fi
])# AC_FUNC_FTW