X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fisapipe.m4;h=2c94aef996f0031d11ac61ac84f2668daee75630;hb=da8054d48dc22e1c051db54049e005d51a006e69;hp=76402ff89a209b492ddcc7795af08dddc3fbb340;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/isapipe.m4 b/m4/isapipe.m4 index 76402ff89..2c94aef99 100644 --- a/m4/isapipe.m4 +++ b/m4/isapipe.m4 @@ -1,6 +1,6 @@ # Test whether a file descriptor is a pipe. -dnl Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. +dnl Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. 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_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 ])