X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffreopen.m4;h=949609e62094ba3004f688ab33b14ca37d4ab892;hb=2f23fbb2ce253697930e8f769e13134f9be81363;hp=0149ebd65e161d9bf62511f8a6792f88859d64a0;hpb=86f87b4967587bcac4fae90ee86c6fce24e3a4f3;p=gnulib.git diff --git a/m4/freopen.m4 b/m4/freopen.m4 index 0149ebd65..949609e62 100644 --- a/m4/freopen.m4 +++ b/m4/freopen.m4 @@ -1,5 +1,5 @@ -# freopen.m4 serial 1 -dnl Copyright (C) 2007 Free Software Foundation, Inc. +# freopen.m4 serial 2 +dnl Copyright (C) 2007-2008 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. @@ -12,6 +12,13 @@ AC_DEFUN([gl_FUNC_FREOPEN], mingw* | pw*) REPLACE_FREOPEN=1 AC_LIBOBJ([freopen]) + gl_PREREQ_FREOPEN ;; esac ]) + +# Prerequisites of lib/freopen.c. +AC_DEFUN([gl_PREREQ_FREOPEN], +[ + AC_REQUIRE([AC_C_INLINE]) +])