projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memcmp: Simplify autoconf macro.
[gnulib.git]
/
m4
/
isapipe.m4
diff --git
a/m4/isapipe.m4
b/m4/isapipe.m4
index
fc6f621
..
3f6ff91
100644
(file)
--- a/
m4/isapipe.m4
+++ b/
m4/isapipe.m4
@@
-1,6
+1,6
@@
# Test whether a file descriptor is a pipe.
# Test whether a file descriptor is a pipe.
-dnl Copyright (C) 2006, 2009-201
0
Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-201
1
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 This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@
-11,9
+11,11
@@
dnl Written by Paul Eggert.
AC_DEFUN([gl_ISAPIPE],
[
# OpenVMS has isapipe already, so check for it.
AC_DEFUN([gl_ISAPIPE],
[
# OpenVMS has isapipe already, so check for it.
- AC_REPLACE_FUNCS([isapipe])
- if test $ac_cv_func_isapipe = no; then
- gl_PREREQ_ISAPIPE
+ AC_CHECK_FUNCS([isapipe])
+ if test $ac_cv_func_isapipe = yes; then
+ HAVE_ISAPIPE=1
+ else
+ HAVE_ISAPIPE=0
fi
])
fi
])