--- lynx2.8.6dev.17/lynx2-8-6/aclocal.m4.ori 2006-01-22 17:16:14.000000000 -0800 +++ lynx2.8.6dev.17/lynx2-8-6/aclocal.m4 2006-01-26 22:27:06.000000000 -0800 @@ -256,14 +256,15 @@ AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in - /*) + [[\\/]*|?:[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) + if test -n "$PATH_SEPARATOR"; then PATHSEP="$PATH_SEPARATOR"; fi IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATHSEP}" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then + if test -x $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break --- lynx2.8.6dev.17/lynx2-8-6/src/LYCurses.c.ori 2006-01-22 17:16:14.000000000 -0800 +++ lynx2.8.6dev.17/lynx2-8-6/src/LYCurses.c 2006-01-27 00:45:26.000000000 -0800 @@ -811,7 +811,7 @@ * If newterm is not defined, assume a curses subset which * supports only initscr. --gil */ -#if defined(HAVE_NEWTERM) && defined(HAVE_DELSCREEN) && !(defined(NCURSES) && defined(HAVE_RESIZETERM)) +#if defined(HAVE_NEWTERM) && defined(HAVE_DELSCREEN) && !defined(PDCURSES) && !(defined(NCURSES) && defined(HAVE_RESIZETERM)) static SCREEN *LYscreen = NULL; #define LYDELSCR() { \