]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Link search.h to search_.h if we use our tsearch.c.
authorJim Meyering <jim@meyering.net>
Tue, 21 Jan 2003 08:26:59 +0000 (08:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 21 Jan 2003 08:26:59 +0000 (08:26 +0000)
m4/ftw.m4

index f0fedd4b0e50573a3537c9ae6af3c0d9631f3e85..55c8a2786b23588e96d13f6b8b621054ef63333a 100644 (file)
--- 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