From: Bruno Haible Date: Sun, 22 May 2011 16:27:48 +0000 (+0200) Subject: wcsnlen: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2781ebb50446222e92302eebb2ee79e024015e2b;p=pspp wcsnlen: Move AC_LIBOBJ invocations to module description. * m4/wcsnlen.m4 (gl_FUNC_WCSNLEN): Move AC_LIBOBJ invocation from here... * modules/wcsnlen (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index bb730623a7..f1c35cda90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wcsnlen: Move AC_LIBOBJ invocations to module description. + * m4/wcsnlen.m4 (gl_FUNC_WCSNLEN): Move AC_LIBOBJ invocation from + here... + * modules/wcsnlen (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcsncpy: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcsnlen.m4 b/m4/wcsnlen.m4 index dfa62e615d..975e5377e9 100644 --- a/m4/wcsnlen.m4 +++ b/m4/wcsnlen.m4 @@ -1,4 +1,4 @@ -# wcsnlen.m4 serial 1 +# wcsnlen.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_WCSNLEN], AC_CHECK_FUNCS_ONCE([wcsnlen]) if test $ac_cv_func_wcsnlen = no; then HAVE_WCSNLEN=0 - AC_LIBOBJ([wcsnlen]) fi ]) diff --git a/modules/wcsnlen b/modules/wcsnlen index 7ae8d886ad..42f9858cc1 100644 --- a/modules/wcsnlen +++ b/modules/wcsnlen @@ -11,6 +11,9 @@ wchar configure.ac: gl_FUNC_WCSNLEN +if test $HAVE_WCSNLEN = 0; then + AC_LIBOBJ([wcsnlen]) +fi gl_WCHAR_MODULE_INDICATOR([wcsnlen]) Makefile.am: