diff options
author | Bruno Haible <bruno@clisp.org> | 2007-10-07 04:39:17 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-10-07 04:39:17 +0200 |
commit | 5e6b92bb993a0e913877c495687556df918d7d86 (patch) | |
tree | 27ea905261f2f097a86387c92dd6286a4ce99d23 /m4/open.m4 | |
parent | 3868cf78cecd1c5dfba91fb9b6b26e4da33b1b37 (diff) | |
download | gnulib-5e6b92bb993a0e913877c495687556df918d7d86.tar.gz |
New module 'open'.
Diffstat (limited to 'm4/open.m4')
-rw-r--r-- | m4/open.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/open.m4 b/m4/open.m4 new file mode 100644 index 0000000000..90d528ac19 --- /dev/null +++ b/m4/open.m4 @@ -0,0 +1,17 @@ +# open.m4 serial 1 +dnl Copyright (C) 2007 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. + +AC_DEFUN([gl_FUNC_OPEN], +[ + AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + case "$host_os" in + mingw* | pw*) + REPLACE_OPEN=1 + AC_LIBOBJ([open]) + ;; + esac +]) |