autoconf-patches
[Top][All Lists]
Advanced

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

[PATCH CVS] skip OS/2 system install


From: Ilya Zakharevich
Subject: [PATCH CVS] skip OS/2 system install
Date: Thu, 30 Jan 2003 15:27:03 -0800
User-agent: Mutt/1.4i

This patch should make search for install program skip the
x:\OS\INSTALL\install.exe program.  But I'm not sure that I put a
correct number of \\ in the file.  The number-of-\\ below works inside
configure script; mayb they need to be duplicated (twice?) inside m4
files?  I cannot check it now - autoconf will not build itself yet.

Enjoy,
Ilya

--- ./lib/autoconf/programs.m4-pre      Thu Oct 31 05:15:02 2002
+++ ./lib/autoconf/programs.m4  Thu Jan 30 15:22:24 2003
@@ -307,6 +307,7 @@ AC_DEFUN([AC_PROG_INSTALL],
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
 # ./install, which can be erroneously created by make from ./install.sh.
 AC_MSG_CHECKING([for a BSD-compatible install])
 if test -z "$INSTALL"; then
@@ -316,6 +317,7 @@ AC_CACHE_VAL(ac_cv_path_install,
 case $as_dir/ in
   ./ | .// | /[cC]/* | \
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+  |?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   /usr/ucb/* ) ;;
   *)
     # OSF1 and SCO ODT 3.0 have their own names for install.




reply via email to

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