ddd
[Top][All Lists]
Advanced

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

Re: ddd-3.3.9-test2 is released re: HP-UX 11.0


From: Arnaud Desitter
Subject: Re: ddd-3.3.9-test2 is released re: HP-UX 11.0
Date: Thu, 20 May 2004 09:55:12 +0100

Hi Tim,

You may well be right but, as this code is only executed on HP-UX, only
testing will tell us if it works. On Linux and Solaris, "test -f" test the 
existence of the target of the link.

Regards,
 
----- Original Message ----- 
From: "Tim Mooney" <address@hidden>
Newsgroups: gmane.comp.debugging.ddd.general
Sent: Wednesday, May 19, 2004 10:54 PM
Subject: Re: ddd-3.3.9-test2 is released re: HP-UX 11.0


> In regard to: Re: ddd-3.3.9-test2 is released re: HP-UX 11.0, Arnaud...:
> 
> >> My standard location for libXm.a is
> >>
> >> /usr/lib/Motif2.1
> >>
> >
> > Ok. I have checked in yet another patch to configure.ac:
> >
> > case "$host_os" in
> > hpux10.20|hpux11.00|hpux11.11)
> >  for file in "/usr/lib/libXm.a /usr/lib/Motif1.2_R6/libXm.a";
> >  do
> >   if test -f "$file"; then
> 
> I don't have easy access to any version of HP-UX right now, but based on
> my experience with `test -f' on other commercial UNIX platforms, my guess
> is that will return false for symlinks.  I think I recall Tom mentioning
> in a previous email that /usr/lib/libXm.a is a symlink.
> 
> You might be able to get away with something like
> 
>   if test -f "$file" || test -h "$file" ; then
> 
> as `-h' often means "symlink".  `-L' is also common, but I don't recall
> which is standard.
> 
> Tim
> -- 
> Tim Mooney                              address@hidden
> Information Technology Services         (701) 231-1076 (Voice)
> Room 242-J6, IACC Building              (701) 231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164




reply via email to

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