remove hardcoded -lutil

AC_SEARCH_LIBS prepends the found library already.
This commit is contained in:
François Revol
2017-07-17 15:52:54 +02:00
committed by Amadeusz Sławiński
parent f91a705879
commit 469be1421b

View File

@@ -76,7 +76,6 @@ dnl
AC_CHECK_HEADERS(pty.h util.h libutil.h)
AC_SEARCH_LIBS([openpty], [util openpty], [
AC_DEFINE(HAVE_OPENPTY)
LIBS="$LIBS -lutil"
], [
AC_MSG_ERROR([unable to find openpty() function])
])