Mercurial > hg > octave-jordi > gnulib-hg
annotate m4/freopen.m4 @ 18079:4c948fd76734 default tip master
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Mon, 24 Aug 2015 06:09:19 -0700 |
parents | ab58d4870664 |
children |
rev | line source |
---|---|
17826
68470530f583
freopen: workaround freopen() on OS/2 kLIBC
KO Myung-Hun <komh78@gmail.com>
parents:
17587
diff
changeset
|
1 # freopen.m4 serial 5 |
17848 | 2 dnl Copyright (C) 2007-2015 Free Software Foundation, Inc. |
9301
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 AC_DEFUN([gl_FUNC_FREOPEN], |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 [ |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 AC_REQUIRE([gl_STDIO_H_DEFAULTS]) |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 AC_REQUIRE([AC_CANONICAL_HOST]) |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 case "$host_os" in |
17826
68470530f583
freopen: workaround freopen() on OS/2 kLIBC
KO Myung-Hun <komh78@gmail.com>
parents:
17587
diff
changeset
|
12 mingw* | pw* | os2*) |
9301
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 REPLACE_FREOPEN=1 |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 ;; |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 esac |
98e1721b4e40
New modules 'fopen' and 'freopen'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 ]) |
10532
81789aaf2d0b
Override freopen more carefully.
Bruno Haible <bruno@clisp.org>
parents:
9301
diff
changeset
|
17 |
81789aaf2d0b
Override freopen more carefully.
Bruno Haible <bruno@clisp.org>
parents:
9301
diff
changeset
|
18 # Prerequisites of lib/freopen.c. |
17185
dd46d4e6beea
dup, execute, fatal-signal, etc.: no 'static inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
16201
diff
changeset
|
19 AC_DEFUN([gl_PREREQ_FREOPEN], [:]) |