From: Bruno Haible Date: Sun, 22 May 2011 16:26:24 +0000 (+0200) Subject: wcsncpy: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21e15bcd8b7b3d196a8ab0aca15422cce0f94ac;p=pspp wcsncpy: Move AC_LIBOBJ invocations to module description. * m4/wcsncpy.m4 (gl_FUNC_WCSNCPY): Move AC_LIBOBJ invocation from here... * modules/wcsncpy (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index aa2c4d291e..bb730623a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wcsncpy: Move AC_LIBOBJ invocations to module description. + * m4/wcsncpy.m4 (gl_FUNC_WCSNCPY): Move AC_LIBOBJ invocation from + here... + * modules/wcsncpy (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcsncmp: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcsncpy.m4 b/m4/wcsncpy.m4 index a284b4733a..1ed5289311 100644 --- a/m4/wcsncpy.m4 +++ b/m4/wcsncpy.m4 @@ -1,4 +1,4 @@ -# wcsncpy.m4 serial 1 +# wcsncpy.m4 serial 2 dnl Copyright (C) 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, @@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WCSNCPY], AC_CHECK_FUNCS_ONCE([wcsncpy]) if test $ac_cv_func_wcsncpy = no; then HAVE_WCSNCPY=0 - AC_LIBOBJ([wcsncpy]) fi ]) diff --git a/modules/wcsncpy b/modules/wcsncpy index e1c4996338..0ac9609f57 100644 --- a/modules/wcsncpy +++ b/modules/wcsncpy @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSNCPY +if test $HAVE_WCSNCPY = 0; then + AC_LIBOBJ([wcsncpy]) +fi gl_WCHAR_MODULE_INDICATOR([wcsncpy]) Makefile.am: