diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-09-23 12:35:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-09-23 12:35:08 +0000 |
commit | d635d790420a53d2e1b306e7e691dfa2e86e148d (patch) | |
tree | 0a71eddc6157f5722d98074217dbfc2c66331c18 | |
parent | b8ce435a5413e25f1b88b024f7273f3cefd4d4d0 (diff) | |
download | rtmux-d635d790420a53d2e1b306e7e691dfa2e86e148d.tar.gz rtmux-d635d790420a53d2e1b306e7e691dfa2e86e148d.tar.bz2 rtmux-d635d790420a53d2e1b306e7e691dfa2e86e148d.zip |
The HAVE_DIRFD check should be for dirfd() not /proc/$$/fd. Doh.
-rw-r--r-- | configure.ac | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 883ff11b..651806de 100644 --- a/configure.ac +++ b/configure.ac @@ -328,6 +328,7 @@ AM_CONDITIONAL(NO_GETOPT, [test "x$found_getopt" = xno]) AC_CHECK_FUNCS( [ \ bzero \ + dirfd \ setproctitle \ sysconf \ ] @@ -401,15 +402,6 @@ else AC_MSG_RESULT(no) 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. AC_MSG_CHECKING(platform) case "$host_os" in |