From 9e2fa9a1335d011129bc7fa63b52c6b099cd5654 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 17:04:09 +0200 Subject: [PATCH] tmpfile: Move AC_LIBOBJ invocations to module description. * m4/tmpfile.m4 (gl_FUNC_TMPFILE): Move AC_LIBOBJ and gl_PREREQ_TMPFILE invocations from here... * modules/tmpfile (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/tmpfile.m4 | 4 +--- modules/tmpfile | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f4ce70e69..08aa6a4a24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + tmpfile: Move AC_LIBOBJ invocations to module description. + * m4/tmpfile.m4 (gl_FUNC_TMPFILE): Move AC_LIBOBJ and gl_PREREQ_TMPFILE + invocations from here... + * modules/tmpfile (configure.ac): ... to here. + 2011-05-22 Bruno Haible times: Move AC_LIBOBJ invocations to module description. diff --git a/m4/tmpfile.m4 b/m4/tmpfile.m4 index 29198062ce..a0b8be72f0 100644 --- a/m4/tmpfile.m4 +++ b/m4/tmpfile.m4 @@ -1,4 +1,4 @@ -# tmpfile.m4 serial 1 +# tmpfile.m4 serial 2 # Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -31,8 +31,6 @@ choke me [gl_cv_func_tmpfile_unusable=no])]) if test $gl_cv_func_tmpfile_unusable = yes; then REPLACE_TMPFILE=1 - AC_LIBOBJ([tmpfile]) - gl_PREREQ_TMPFILE fi ]) diff --git a/modules/tmpfile b/modules/tmpfile index 6adf22a9de..d3a97fe896 100644 --- a/modules/tmpfile +++ b/modules/tmpfile @@ -13,6 +13,10 @@ tmpdir [test $REPLACE_TMPFILE = 1] configure.ac: gl_FUNC_TMPFILE +if test $REPLACE_TMPFILE = 1; then + AC_LIBOBJ([tmpfile]) + gl_PREREQ_TMPFILE +fi gl_STDIO_MODULE_INDICATOR([tmpfile]) Makefile.am: -- 2.30.2