projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c030b0f
)
check for __fpending declaration
author
Jim Meyering
<jim@meyering.net>
Mon, 28 Aug 2000 14:53:10 +0000
(14:53 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 28 Aug 2000 14:53:10 +0000
(14:53 +0000)
m4/fpending.m4
patch
|
blob
|
history
diff --git
a/m4/fpending.m4
b/m4/fpending.m4
index b512f5d0bd1fbea49e8062ebb2ffa7395fa0b3be..a240f0ab2ff5f1b5df387cac88149af00ec2e40e 100644
(file)
--- a/
m4/fpending.m4
+++ b/
m4/fpending.m4
@@
-12,6
+12,12
@@
AC_DEFUN(jm_FUNC_FPENDING,
[
AC_CHECK_HEADERS(stdio_ext.h)
AC_REPLACE_FUNCS([__fpending])
+ fp_headers='
+# if HAVE_STDIO_EXT_H
+# include <stdio_ext.h>
+# endif
+'
+ AC_CHECK_DECLS([__fpending], , , $fp_headers)
if test $ac_cv_func___fpending = no; then
AC_CACHE_CHECK(
[how to determine the number of pending output bytes on a stream],