* m4/rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH):
[gnulib.git] / m4 / close-stream.m4
index 93f4d9a..9daed9e 100644 (file)
@@ -1,3 +1,4 @@
+#serial 2
 dnl Copyright (C) 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -5,8 +6,9 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_CLOSE_STREAM],
 [
-  AC_LIBSOURCES([close-stream.c, close-stream.h])
   AC_LIBOBJ([close-stream])
+  AC_DEFINE([GNULIB_CLOSE_STREAM], [1],
+    [Define to 1 when using the gnulib close-stream module.])
 
   dnl Prerequisites of lib/close-stream.c.
   :