Index: xpdf-0.91/configure.in
diff -c xpdf-0.91/configure.in:1.1 xpdf-0.91/configure.in:1.2
*** xpdf-0.91/configure.in:1.1	Thu Sep 14 10:00:46 2000
--- xpdf-0.91/configure.in	Fri Sep 15 14:39:32 2000
***************
*** 87,93 ****
    AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
  fi
  
! dnl ##### Look for header that defines select() and fd_set.
  AC_MSG_CHECKING([select() and fd_set in sys/select.h and sys/bsdtypes.h])
  AC_TRY_COMPILE([#include <stdlib.h>
  #include <stddef.h>
--- 87,93 ----
    AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
  fi
  
! dnl ##### Look for select() and fd_set in standard places.
  AC_MSG_CHECKING([select() and fd_set in sys/select.h and sys/bsdtypes.h])
  AC_TRY_COMPILE([#include <stdlib.h>
  #include <stddef.h>
***************
*** 97,103 ****
  select(0, NULL, NULL, NULL, NULL);], xpdf_ok=yes, xpdf_ok=no)
  if test $xpdf_ok = yes; then
    AC_MSG_RESULT([not needed])
! else
    AC_TRY_COMPILE([#include <stdlib.h>
  #include <stddef.h>
  #include <unistd.h>
--- 97,105 ----
  select(0, NULL, NULL, NULL, NULL);], xpdf_ok=yes, xpdf_ok=no)
  if test $xpdf_ok = yes; then
    AC_MSG_RESULT([not needed])
! fi
! 
! dnl ##### Look for header that defines select() and fd_set.
    AC_TRY_COMPILE([#include <stdlib.h>
  #include <stddef.h>
  #include <unistd.h>
***************
*** 123,129 ****
        AC_MSG_RESULT([problem])
      fi
    fi
- fi
  
  dnl ##### Look for header that defines FD_ZERO.
  AC_MSG_CHECKING([FD_ZERO and strings.h or bstring.h])
--- 125,130 ----
