Set poll_LIBS = libpoll.a in Makefile.am so dependency tracking works

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2012-04-21 02:16:01 -04:00
parent 735dcd6ad5
commit 7fe9f29448
3 changed files with 8 additions and 5 deletions
-5
View File
@@ -304,11 +304,6 @@ if ( pollfds[ 0 ].revents & (POLLERR | POLLHUP | POLLNVAL) ) {
LIBS="$save_LIBS"
])
AM_CONDITIONAL([COND_THIRD_POLL], [test "x$ac_cv_poll_pty" = "xno"])
AM_COND_IF([COND_THIRD_POLL],
[
poll_CFLAGS="-I\$(top_srcdir)/third/poll"
poll_LIBS="\$(top_builddir)/third/poll/libpoll.a"
])
AC_MSG_CHECKING([whether pipe2(..., O_CLOEXEC) is supported])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE