Index: xpdf-0.92/configure.in
diff -c xpdf-0.92/configure.in:1.1 xpdf-0.92/configure.in:1.2
*** xpdf-0.92/configure.in:1.1	Fri May 18 14:56:10 2001
--- xpdf-0.92/configure.in	Mon May 21 10:39:36 2001
***************
*** 90,96 ****
    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>
--- 90,96 ----
    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>
***************
*** 100,106 ****
  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>
--- 100,108 ----
  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>
***************
*** 126,132 ****
        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])
--- 128,133 ----
