* m4/tsearch.m4 (gl_FUNC_TSEARCH): Move AC_LIBOBJ and gl_PREREQ_TSEARCH
invocations from here...
* modules/tsearch (configure.ac): ... to here.
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
+ tsearch: Move AC_LIBOBJ invocations to module description.
+ * m4/tsearch.m4 (gl_FUNC_TSEARCH): Move AC_LIBOBJ and gl_PREREQ_TSEARCH
+ invocations from here...
+ * modules/tsearch (configure.ac): ... to here.
+
2011-05-22 Bruno Haible <bruno@clisp.org>
towctrans: Move AC_LIBOBJ invocations to module description.
-# tsearch.m4 serial 5
+# tsearch.m4 serial 6
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
case "$gl_cv_func_tdelete_works" in
*no)
REPLACE_TSEARCH=1
- AC_LIBOBJ([tsearch])
- gl_PREREQ_TSEARCH
;;
esac
else
HAVE_TSEARCH=0
- AC_LIBOBJ([tsearch])
- gl_PREREQ_TSEARCH
fi
])
configure.ac:
gl_FUNC_TSEARCH
+if test $HAVE_TSEARCH = 0 || test $REPLACE_TSEARCH = 1; then
+ AC_LIBOBJ([tsearch])
+ gl_PREREQ_TSEARCH
+fi
gl_SEARCH_MODULE_INDICATOR([tsearch])
Makefile.am: