X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fpoll.m4;h=5bfc33c6f122c5b15f0c1129540c3fd6467230c3;hb=76bd5cd5304484617bd8b15bfc8a59b0264482b8;hp=a23f504f135e80d7bfb388931fc2dbc1ae4f823e;hpb=8577bd357660986eaceacf6f8b0fd6870d2098b7;p=gnulib.git diff --git a/m4/poll.m4 b/m4/poll.m4 index a23f504f1..5bfc33c6f 100644 --- a/m4/poll.m4 +++ b/m4/poll.m4 @@ -1,4 +1,4 @@ -# poll.m4 serial 1 +# poll.m4 serial 2 dnl Copyright (c) 2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -9,9 +9,12 @@ dnl the same distribution terms as the rest of the program. AC_DEFUN([gl_FUNC_POLL], [ AC_CHECK_HEADERS(poll.h) - if test x$ac_cv_header_poll_h = xno; then - AC_CONFIG_LINKS([lib/poll.h:lib/poll_.h]) + if test "$ac_cv_header_poll_h" = no; then + POLL_H=poll.h + else + POLL_H= fi + AC_SUBST([POLL_H]) AC_REPLACE_FUNCS(poll) if test $ac_cv_func_poll = no; then