X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffopen.m4;h=8f81a4a2440e6e4c647b9b59e8168b405079ad88;hb=17f87c3231d8808b8e873126abf15e6e8b9a0e67;hp=c1bbe8842128286c9316667625455db3710f709f;hpb=bf22d71aabc025f08e01ade3fd65a34eb8e823dd;p=gnulib.git diff --git a/m4/fopen.m4 b/m4/fopen.m4 index c1bbe8842..8f81a4a24 100644 --- a/m4/fopen.m4 +++ b/m4/fopen.m4 @@ -1,4 +1,4 @@ -# fopen.m4 serial 2 +# fopen.m4 serial 3 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, @@ -43,8 +43,15 @@ changequote([,])dnl [Define to 1 if fopen() fails to recognize a trailing slash.]) REPLACE_FOPEN=1 AC_LIBOBJ([fopen]) + gl_PREREQ_FOPEN ;; esac ;; esac ]) + +# Prerequisites of lib/fopen.c. +AC_DEFUN([gl_PREREQ_FOPEN], +[ + AC_REQUIRE([AC_C_INLINE]) +])