From: Jim Meyering Date: Tue, 21 Jan 2003 08:26:59 +0000 (+0000) Subject: Link search.h to search_.h if we use our tsearch.c. X-Git-Tag: v4.5.5~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6cabef722922be09e58378ddb630d9aa60cfe34;p=thirdparty%2Fcoreutils.git Link search.h to search_.h if we use our tsearch.c. --- diff --git a/m4/ftw.m4 b/m4/ftw.m4 index f0fedd4b0e..55c8a2786b 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