freopen: Move AC_LIBOBJ invocations to module description.
[gnulib.git] / modules / freopen
index 5c556e4..8704c04 100644 (file)
@@ -10,6 +10,10 @@ stdio
 
 configure.ac:
 gl_FUNC_FREOPEN
+if test $REPLACE_FREOPEN = 1; then
+  AC_LIBOBJ([freopen])
+  gl_PREREQ_FREOPEN
+fi
 gl_STDIO_MODULE_INDICATOR([freopen])
 
 Makefile.am: