Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / tmpfile
index 6adf22a..e98a8ee 100644 (file)
@@ -7,12 +7,17 @@ m4/tmpfile.m4
 
 Depends-on:
 stdio
+largefile
 pathmax         [test $REPLACE_TMPFILE = 1]
 tempname        [test $REPLACE_TMPFILE = 1]
 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: