summaryrefslogtreecommitdiff
path: root/m4/fd-reopen.m4
blob: 8eb6dc48b7b0bb54fbec245afc3e0fc567fafb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Invoke open, but return either a desired file descriptor or -1.

dnl Copyright (C) 2005, 2009-2012 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])
])