1# open.m4 serial 1 2dnl Copyright (C) 2007 Free Software Foundation, Inc. 3dnl This file is free software; the Free Software Foundation 4dnl gives unlimited permission to copy and/or distribute it, 5dnl with or without modifications, as long as this notice is preserved. 6 7AC_DEFUN([gl_FUNC_OPEN], 8[ 9 AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) 10 AC_REQUIRE([AC_CANONICAL_HOST]) 11 case "$host_os" in 12 mingw* | pw*) 13 REPLACE_OPEN=1 14 AC_LIBOBJ([open]) 15 ;; 16 esac 17]) 18