autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH CVS] skip OS/2 system install


From: Akim Demaille
Subject: Re: [PATCH CVS] skip OS/2 system install
Date: Fri, 28 Mar 2003 17:04:20 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

| 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.
| 

Fine.  Please, provide a version with a ChangeLog, and then apply it.

In the long term, I think that a complete rewrite of this macro would
be most useful (i.e., actually checking the features we want, instead
of this hardwired list of names).




reply via email to

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