view m4/open.m4 @ 10159:873cd96bbc65

Fix small mistake from 2008-06-01.
author Bruno Haible <bruno@clisp.org>
date Thu, 05 Jun 2008 00:56:52 +0200
parents ada4d73c37a6
children 270b7afb8fb7
line wrap: on
line source

# 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
])