mirror of
https://github.com/tmux/tmux.git
synced 2024-11-19 19:08:50 +00:00
The HAVE_DIRFD check should be for dirfd() not /proc/$$/fd. Doh.
This commit is contained in:
parent
b8ce435a54
commit
d635d79042
10
configure.ac
10
configure.ac
@ -328,6 +328,7 @@ AM_CONDITIONAL(NO_GETOPT, [test "x$found_getopt" = xno])
|
|||||||
AC_CHECK_FUNCS(
|
AC_CHECK_FUNCS(
|
||||||
[ \
|
[ \
|
||||||
bzero \
|
bzero \
|
||||||
|
dirfd \
|
||||||
setproctitle \
|
setproctitle \
|
||||||
sysconf \
|
sysconf \
|
||||||
]
|
]
|
||||||
@ -401,15 +402,6 @@ else
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Look for /proc/$$/fd.
|
|
||||||
AC_MSG_CHECKING(for /proc/\$\$/fd)
|
|
||||||
if test -d /proc/$$/fd; then
|
|
||||||
AC_DEFINE(HAVE_DIRFD)
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Figure out the platform for osdep-*.c and forkpty-*.c.
|
# Figure out the platform for osdep-*.c and forkpty-*.c.
|
||||||
AC_MSG_CHECKING(platform)
|
AC_MSG_CHECKING(platform)
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
|
Loading…
Reference in New Issue
Block a user