unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: PWD problem in emacs-21.1 configure
       [not found] <20020226141451.A35087@king.cts.com>
@ 2002-02-27  5:50 ` Richard Stallman
  2002-02-27 12:35   ` Keith Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-02-27  5:50 UTC (permalink / raw)
  Cc: emacs-devel, kst

I can't see what motivated the change from `pwd` to ${PWD},
so I changed that back, and added more explanation in case
we encounter some other problem with this method.

Does this change make it work again?

Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.284
retrieving revision 1.285
diff -c -c -r1.284 -r1.285
*** configure.in	27 Jan 2002 10:03:14 -0000	1.284
--- configure.in	27 Feb 2002 03:53:03 -0000	1.285
***************
*** 114,120 ****
    . )
      ## We may be able to use the $PWD environment variable to make this
      ## absolute.  But sometimes PWD is inaccurate.
!     if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".${PWD}"  ;
      then
        srcdir="$PWD"
      else
--- 114,123 ----
    . )
      ## We may be able to use the $PWD environment variable to make this
      ## absolute.  But sometimes PWD is inaccurate.
!     ## Note: we used to use ${PWD} at the end instead of `pwd`,
!     ## but that tested only for a well-formed and valid PWD,
!     ## it did not object when PWD was well-formed and valid but just wrong.
!     if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`"  ;
      then
        srcdir="$PWD"
      else
***************
*** 354,359 ****
--- 357,367 ----
      ## We'll use the catch-all code at the bottom to guess the
      ## operating system.
    ;;
+ 
+   ## Compaq Nonstop
+   mips-compaq-nonstopux* )
+     machine=nonstopux opsys=nonstopux
+     ;;
  
    ## Convex
    *-convex-bsd* | *-convex-convexos* )

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PWD problem in emacs-21.1 configure
  2002-02-27  5:50 ` PWD problem in emacs-21.1 configure Richard Stallman
@ 2002-02-27 12:35   ` Keith Thompson
  2002-02-28  4:08     ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Thompson @ 2002-02-27 12:35 UTC (permalink / raw)
  Cc: emacs-devel, Keith Thompson

On Tue, Feb 26, 2002 at 10:50:51PM -0700, Richard Stallman wrote:
> I can't see what motivated the change from `pwd` to ${PWD},
> so I changed that back, and added more explanation in case
> we encounter some other problem with this method.
> 
> Does this change make it work again?
> 
[snip patch for configure.in]

Yes, thanks, that does it.

I patched configure.in, ran autoconf (version 2.13) to build configure,
then ran "configure", "make", and "make install" (using an older version
of my Perl build script that doesn't unset $PWD).  The result was a
working emacs installation.

-- 
Keith Thompson (The_Other_Keith) kst@cts.com  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center           <*>  <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PWD problem in emacs-21.1 configure
  2002-02-27 12:35   ` Keith Thompson
@ 2002-02-28  4:08     ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-02-28  4:08 UTC (permalink / raw)
  Cc: emacs-devel, kst

Thanks.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-28  4:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20020226141451.A35087@king.cts.com>
2002-02-27  5:50 ` PWD problem in emacs-21.1 configure Richard Stallman
2002-02-27 12:35   ` Keith Thompson
2002-02-28  4:08     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).