From: Bruno Haible Date: Sun, 22 May 2011 16:23:06 +0000 (+0200) Subject: wcsncat: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f80cf31faabe6d851916140e797f77b8e2ccab46;p=pspp wcsncat: Move AC_LIBOBJ invocations to module description. * m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from here... * modules/wcsncat (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 7e95855822..23f1236a80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wcsncat: Move AC_LIBOBJ invocations to module description. + * m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from + here... + * modules/wcsncat (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcsncasecmp: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcsncat.m4 b/m4/wcsncat.m4 index 240752957a..7fb2d21f6b 100644 --- a/m4/wcsncat.m4 +++ b/m4/wcsncat.m4 @@ -1,4 +1,4 @@ -# wcsncat.m4 serial 1 +# wcsncat.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_WCSNCAT], AC_CHECK_FUNCS_ONCE([wcsncat]) if test $ac_cv_func_wcsncat = no; then HAVE_WCSNCAT=0 - AC_LIBOBJ([wcsncat]) fi ]) diff --git a/modules/wcsncat b/modules/wcsncat index 0bdc5103fb..a98a0881ea 100644 --- a/modules/wcsncat +++ b/modules/wcsncat @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSNCAT +if test $HAVE_WCSNCAT = 0; then + AC_LIBOBJ([wcsncat]) +fi gl_WCHAR_MODULE_INDICATOR([wcsncat]) Makefile.am: