[Top][All Lists]

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

Re: Problem with symlinks and VPATH Builds

From: Paul Eggert
Subject: Re: Problem with symlinks and VPATH Builds
Date: Tue, 23 Jul 2002 13:31:50 -0700 (PDT)

> From: "Mark D. Roth" <address@hidden>
> Date: Sun, 21 Jul 2002 13:08:51 -0500

> We might be able to compensate for this by trying
> /bin/pwd, but only using the result if it exists successfully.

I'd rather try $PWD, then pwd, and fall back on /bin/pwd only if the
other two methods don't work.  That way, the names will be nicer.

But I still don't see why /bin/pwd is necessary.

> > <>
> > I could not reproduce the problem with autoconf 2.53 and Solaris 8
> > sparc, so I think there may be something else going on here.
> Try "ksh -x /tmp/doit".

I don't observe any problem with ksh either.  Here's what I get:

446-sic $ type ksh
ksh is hashed (/usr/bin/ksh)
447-sic $ uname -a
SunOS 5.8 Generic_108528-15 sun4u sparc 
448-sic $ ksh -x /tmp/doit
+ set -o emacs
+ alias dirs=echo $PWD $OLDPWD
+ alias hi=fc -l -10
+ :
+ PS1=!-${HOSTNAME%%.*} \$ 
+ R=/tmp
+ cd /tmp
+ rm -fr projects usr
+ mkdir -p projects/encap-src/psg/common
+ mkdir -p projects/encap-src/psg/sparc-solaris8
+ mkdir -p usr/local
+ ln -s /tmp/projects/encap-src/psg/sparc-solaris8 usr/local/src
+ cd projects/encap-src/psg/common
+ mkdir dummy-0.1
+ cd dummy-0.1
+ touch dummy.c
+ cat
+ 1> 0< /tmp/sh2890.1
+ autoconf
+ autoheader
autoheader: `' is created
+ cd usr/local/src
+ mkdir dummy-0.1
+ cd dummy-0.1
+ ../../common/dummy-0.1/configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
449-sic $ 

reply via email to

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