+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ canonicalize-lgpl: Move AC_LIBOBJ invocations to module description.
+ * m4/canonicalize.m4 (gl_CANONICALIZE_LGPL): Move AC_LIBOBJ invocation
+ from here...
+ * modules/canonicalize-lgpl (configure.ac): ... to here.
+
2011-05-05 Bruno Haible <bruno@clisp.org>
calloc-posix, calloc-gnu: Move AC_LIBOBJs to module description.
-# canonicalize.m4 serial 21
+# canonicalize.m4 serial 22
dnl Copyright (C) 2003-2007, 2009-2011 Free Software Foundation, Inc.
AC_REQUIRE([gl_CANONICALIZE_LGPL_SEPARATE])
if test $ac_cv_func_canonicalize_file_name = no; then
HAVE_CANONICALIZE_FILE_NAME=0
- AC_LIBOBJ([canonicalize-lgpl])
if test $ac_cv_func_realpath = no; then
HAVE_REALPATH=0
elif test "$gl_cv_func_realpath_works" != yes; then
REPLACE_REALPATH=1
fi
elif test "$gl_cv_func_realpath_works" != yes; then
- AC_LIBOBJ([canonicalize-lgpl])
- REPLACE_REALPATH=1
REPLACE_CANONICALIZE_FILE_NAME=1
+ REPLACE_REALPATH=1
fi
])
configure.ac:
gl_CANONICALIZE_LGPL
+if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
+ AC_LIBOBJ([canonicalize-lgpl])
+fi
gl_MODULE_INDICATOR([canonicalize-lgpl])
gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
gl_STDLIB_MODULE_INDICATOR([realpath])