Initial revision.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 06:52:13 +0000 (06:52 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 06:52:13 +0000 (06:52 +0000)
m4/fd-reopen.m4 [new file with mode: 0644]

diff --git a/m4/fd-reopen.m4 b/m4/fd-reopen.m4
new file mode 100644 (file)
index 0000000..2d299bd
--- /dev/null
@@ -0,0 +1,15 @@
+# Invoke open, but return either a desired file descriptor or -1.
+
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
+
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Written by Paul Eggert.
+
+AC_DEFUN([gl_FD_REOPEN],
+[
+  AC_LIBSOURCES([fd-reopen.c, fd-reopen.h])
+  AC_LIBOBJ([fd-reopen])
+])