diff options
-rw-r--r-- | m4/ftw.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ AC_DEFUN([AC_FUNC_FTW], AC_REQUIRE([AC_HEADER_DIRENT]) AC_CHECK_HEADERS(sys/param.h) AC_CHECK_DECLS([stpcpy]) - AC_CHECK_FUNC([tdestroy], , [need_tsearch=1]) + AC_CHECK_FUNC([tdestroy], , [need_tdestroy=1]) # The following test would fail prior to glibc-2.3.2, because `depth' # would be 2 rather than 4. @@ -46,7 +46,7 @@ main () if test $ac_cv_func_ftw_working = no; then AC_LIBOBJ([ftw]) # Add tsearch.o IFF we have to use the replacement ftw.c. - if test -n "$need_tsearch"; then + if test -n "$need_tdestroy"; then AC_LIBOBJ([tsearch]) fi fi |