emacs-devel
[Top][All Lists]
Advanced

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

Re: PWD problem in emacs-21.1 configure


From: Richard Stallman
Subject: Re: PWD problem in emacs-21.1 configure
Date: Tue, 26 Feb 2002 22:50:51 -0700 (MST)

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* )



reply via email to

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