Fix libutil.h test under FreeBSD 7.x/8.x
This commit is contained in:
+2
-1
@@ -244,7 +244,8 @@ PKG_CHECK_MODULES([TINFO], [tinfo], ,
|
|||||||
AC_CHECK_DECL([forkpty],
|
AC_CHECK_DECL([forkpty],
|
||||||
[AC_DEFINE([FORKPTY_IN_LIBUTIL], [1],
|
[AC_DEFINE([FORKPTY_IN_LIBUTIL], [1],
|
||||||
[Define if libutil.h necessary for forkpty().])],
|
[Define if libutil.h necessary for forkpty().])],
|
||||||
, [[#include <libutil.h>]])
|
, [[#include <sys/types.h>
|
||||||
|
#include <libutil.h>]])
|
||||||
|
|
||||||
AC_ARG_VAR([poll_CFLAGS], [C compiler flags for poll])
|
AC_ARG_VAR([poll_CFLAGS], [C compiler flags for poll])
|
||||||
AC_ARG_VAR([poll_LIBS], [linker flags for poll])
|
AC_ARG_VAR([poll_LIBS], [linker flags for poll])
|
||||||
|
|||||||
Reference in New Issue
Block a user