# HG changeset patch # User Bruno Haible # Date 1304636993 -7200 # Node ID 5d583a346d6985632cf7271a2ecd14c3b43dee09 # Parent 9d2461ce0af78ba0fabc13bf19007232b34f6b64 btowc: Move AC_LIBOBJ invocations to module description. * m4/btowc.m4 (gl_FUNC_BTOWC): Move AC_LIBOBJ and gl_PREREQ_BTOWC invocations from here... * modules/btowc (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-05 Bruno Haible + + btowc: Move AC_LIBOBJ invocations to module description. + * m4/btowc.m4 (gl_FUNC_BTOWC): Move AC_LIBOBJ and gl_PREREQ_BTOWC + invocations from here... + * modules/btowc (configure.ac): ... to here. + 2011-05-21 Bruno Haible atexit: Move AC_LIBOBJ invocations to module description. diff --git a/m4/btowc.m4 b/m4/btowc.m4 --- a/m4/btowc.m4 +++ b/m4/btowc.m4 @@ -1,4 +1,4 @@ -# btowc.m4 serial 9 +# btowc.m4 serial 10 dnl Copyright (C) 2008-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, @@ -108,10 +108,6 @@ *) REPLACE_BTOWC=1 ;; esac fi - if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then - AC_LIBOBJ([btowc]) - gl_PREREQ_BTOWC - fi ]) # Prerequisites of lib/btowc.c. diff --git a/modules/btowc b/modules/btowc --- a/modules/btowc +++ b/modules/btowc @@ -12,6 +12,10 @@ configure.ac: gl_FUNC_BTOWC +if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + AC_LIBOBJ([btowc]) + gl_PREREQ_BTOWC +fi gl_WCHAR_MODULE_INDICATOR([btowc]) Makefile.am: