On Tue, 25 Jul 2006, Doug Kaufman wrote:

On Mon, 24 Jul 2006, Thomas Dickey wrote:

On Sun, 23 Jul 2006, Doug Kaufman wrote:

This is a minor patch for two items that affect portability to DJGPP.

The first is a change to aclocal.m4 from "test -f" to "test -x". This

but "test -x" isn't portable.

Sorry. I didn't realize that it wasn't portable. How is this for a
substitute? This also works OK for DJGPP.

that looks better (thanks)

                        Doug


--- lynx2.8.6dev.18/aclocal.m4.ori      2006-07-12 21:28:58.000000000 -0800
+++ lynx2.8.6dev.18/aclocal.m4  2006-07-25 00:29:26.000000000 -0800
@@ -264,9 +264,9 @@
  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 -f $ac_dir/$ac_word$ac_exeext; then
      if [$3]; then
-       ac_cv_path_$1="$ac_dir/$ac_word"
+       ac_cv_path_$1="$ac_dir/$ac_word$ac_exeext"
        break
      fi
    fi
--
Doug Kaufman
Internet: [EMAIL PROTECTED]



_______________________________________________
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to