* m4/getcwd.m4 (gl_FUNC_GETCWD): Move AC_LIBOBJ and gl_PREREQ_GETCWD
invocations from here...
* modules/getcwd (configure.ac): ... to here.
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getcwd: Move AC_LIBOBJ invocations to module description.
+ * m4/getcwd.m4 (gl_FUNC_GETCWD): Move AC_LIBOBJ and gl_PREREQ_GETCWD
+ invocations from here...
+ * modules/getcwd (configure.ac): ... to here.
+
2011-05-08 Bruno Haible <bruno@clisp.org>
getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_path_max,$gl_abort_bug in
*yes,yes,no) ;;
*)
- dnl Full replacement, overrides LGPL replacement.
- REPLACE_GETCWD=1
- AC_LIBOBJ([getcwd])
- gl_PREREQ_GETCWD;;
+ dnl Full replacement lib/getcwd.c, overrides LGPL replacement.
+ REPLACE_GETCWD=1;;
esac
])
configure.ac:
gl_FUNC_GETCWD
+if test $REPLACE_GETCWD = 1; then
+ AC_LIBOBJ([getcwd])
+ gl_PREREQ_GETCWD
+fi
gl_MODULE_INDICATOR([getcwd])
gl_UNISTD_MODULE_INDICATOR([getcwd])