diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1998-11-22 06:46:27 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1998-11-22 06:46:27 +0000 |
commit | 695fbff68e97129065ec5060975cfd630c54248c (patch) | |
tree | 8a3b3b92026353d3e855adf5fd57906e85a7bd4f /m4/progtest.m4 | |
parent | a0216ebb9728c8de4def988fdb3b498db2cfe11a (diff) | |
download | grep-695fbff68e97129065ec5060975cfd630c54248c.tar.gz |
auto generated no need or them in the repository.
new directory doc enter.
support for DOS.
move in doc.
updated.
* doc/: New directory, grep.1, {e,f}grep.man move here
with a draft of grep.texi(base of sed.texi).
* tests/{ere,bre}.*: New files. The spencer2 test is split
in two ere/bre.
* config.hin: New, config.h.in rename to config.hin for OS
with limited file system aka DOS.
Diffstat (limited to 'm4/progtest.m4')
-rw-r--r-- | m4/progtest.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/progtest.m4 b/m4/progtest.m4 index 2482d4a9..fbc62ccc 100644 --- a/m4/progtest.m4 +++ b/m4/progtest.m4 @@ -1,5 +1,6 @@ # Search path for a program which passes the given test. # Ulrich Drepper <drepper@cygnus.com>, 1996. +# update to support dos # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License @@ -16,14 +17,14 @@ set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in - /*) + /*|[A-Z]:/*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 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 $ac_x $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break |