lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] DJGPP patch for 2.8.6dev.18


From: Doug Kaufman
Subject: Re: [Lynx-dev] DJGPP patch for 2.8.6dev.18
Date: Tue, 25 Jul 2006 00:39:29 -0700 (PDT)

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.
                         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: address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]