*** configure.orig	Tue Nov 27 22:44:39 2001
--- configure	Mon Dec  3 22:12:31 2001
***************
*** 4134,4140 ****
  # Check for TCP wrapper support
  #--------------------------------------------------------------------
  
! with_libwrap=no
  # Check whether --with-libwrap or --without-libwrap was given.
  if test "${with_libwrap+set}" = set; then
    withval="$with_libwrap"
--- 4134,4140 ----
  # Check for TCP wrapper support
  #--------------------------------------------------------------------
  
! #with_libwrap=no
  # Check whether --with-libwrap or --without-libwrap was given.
  if test "${with_libwrap+set}" = set; then
    withval="$with_libwrap"
***************
*** 4179,4185 ****
  fi
  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!   LIBS="$LIBS -lwrap -lnsl"
        echo $ac_n "checking for TCP wrappers library -lwrap""... $ac_c" 1>&6
  echo "configure:4185: checking for TCP wrappers library -lwrap" >&5
        cat > conftest.$ac_ext <<EOF
--- 4179,4185 ----
  fi
  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!   LIBS="$LIBS -lwrap"
        echo $ac_n "checking for TCP wrappers library -lwrap""... $ac_c" 1>&6
  echo "configure:4185: checking for TCP wrappers library -lwrap" >&5
        cat > conftest.$ac_ext <<EOF
***************
*** 4206,4212 ****
  #define HAVE_LIBWRAP 1
  EOF
  
! 	WRAPLIBS="-L$with_libwrap/lib -lwrap -lnsl"
  else
    echo "configure: failed program was:" >&5
    cat conftest.$ac_ext >&5
--- 4206,4212 ----
  #define HAVE_LIBWRAP 1
  EOF
  
! 	WRAPLIBS="-L$with_libwrap/lib -lwrap"
  else
    echo "configure: failed program was:" >&5
    cat conftest.$ac_ext >&5
***************
*** 4327,4333 ****
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lmenu  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4333 "configure"
  #include "confdefs.h"
--- 4327,4333 ----
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lmenu -lcurses $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4333 "configure"
  #include "confdefs.h"
***************
*** 4368,4374 ****
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lform  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4374 "configure"
  #include "confdefs.h"
--- 4368,4374 ----
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lform -lcurses $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4374 "configure"
  #include "confdefs.h"
***************
*** 4409,4415 ****
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lpanel  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4415 "configure"
  #include "confdefs.h"
--- 4409,4415 ----
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lpanel -lcurses $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4415 "configure"
  #include "confdefs.h"
