1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

wcscpy: Move AC_LIBOBJ invocations to module description.

* m4/wcscpy.m4 (gl_FUNC_WCSCPY): Move AC_LIBOBJ invocation from here...
* modules/wcscpy (configure.ac): ... to here.
This commit is contained in:
Bruno Haible
2011-05-22 18:13:29 +02:00
parent 978552f6a1
commit ad6475fc3a
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2011-05-22 Bruno Haible <bruno@clisp.org>
wcscpy: Move AC_LIBOBJ invocations to module description.
* m4/wcscpy.m4 (gl_FUNC_WCSCPY): Move AC_LIBOBJ invocation from here...
* modules/wcscpy (configure.ac): ... to here.
2011-05-22 Bruno Haible <bruno@clisp.org> 2011-05-22 Bruno Haible <bruno@clisp.org>
wcscoll: Move AC_LIBOBJ invocations to module description. wcscoll: Move AC_LIBOBJ invocations to module description.

View File

@@ -1,4 +1,4 @@
# wcscpy.m4 serial 1 # wcscpy.m4 serial 2
dnl Copyright (C) 2011 Free Software Foundation, Inc. dnl Copyright (C) 2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it, dnl gives unlimited permission to copy and/or distribute it,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WCSCPY],
AC_CHECK_FUNCS_ONCE([wcscpy]) AC_CHECK_FUNCS_ONCE([wcscpy])
if test $ac_cv_func_wcscpy = no; then if test $ac_cv_func_wcscpy = no; then
HAVE_WCSCPY=0 HAVE_WCSCPY=0
AC_LIBOBJ([wcscpy])
fi fi
]) ])

View File

@@ -17,6 +17,9 @@ wchar
configure.ac: configure.ac:
gl_FUNC_WCSCPY gl_FUNC_WCSCPY
if test $HAVE_WCSCPY = 0; then
AC_LIBOBJ([wcscpy])
fi
gl_WCHAR_MODULE_INDICATOR([wcscpy]) gl_WCHAR_MODULE_INDICATOR([wcscpy])
Makefile.am: Makefile.am: