diff options
Diffstat (limited to 'modules/tmpfile')
-rw-r--r-- | modules/tmpfile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/modules/tmpfile b/modules/tmpfile index 884f284f22..261189c657 100644 --- a/modules/tmpfile +++ b/modules/tmpfile @@ -15,17 +15,24 @@ tmpdir [test $REPLACE_TMPFILE = 1] configure.ac: gl_FUNC_TMPFILE -if test $REPLACE_TMPFILE = 1; then - AC_LIBOBJ([tmpfile]) +gl_CONDITIONAL([GL_COND_OBJ_TMPFILE], [test $REPLACE_TMPFILE = 1]) +AM_COND_IF([GL_COND_OBJ_TMPFILE], [ gl_PREREQ_TMPFILE -fi +]) gl_STDIO_MODULE_INDICATOR([tmpfile]) Makefile.am: +if GL_COND_OBJ_TMPFILE +lib_SOURCES += tmpfile.c +endif Include: <stdio.h> +Link: +$(GETRANDOM_LIB) +$(CLOCK_TIME_LIB) + License: LGPL |