X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fobstack-printf-posix;h=df56087771dbfae2c43f6fcad8e45b2c9730d8e0;hb=c6f9e663d25b0980c51f609a3fe237deca168461;hp=eb7bef530fff9b0eff54d952517eb8e5617c6de2;hpb=b6ee20a97a58f1f4cadd3a292532cf2673f6b26a;p=gnulib.git diff --git a/modules/obstack-printf-posix b/modules/obstack-printf-posix index eb7bef530..df5608777 100644 --- a/modules/obstack-printf-posix +++ b/modules/obstack-printf-posix @@ -1,6 +1,12 @@ Description: POSIX formatted printing into an obstack. +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + Files: m4/obstack-printf.m4 m4/obstack-printf-posix.m4 @@ -14,6 +20,9 @@ extensions configure.ac: gl_FUNC_OBSTACK_PRINTF_POSIX +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi gl_STDIO_MODULE_INDICATOR([obstack-printf-posix]) Makefile.am: