[Top][All Lists]

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

Re: Cygwin List O' Issues...[make install DESTDIR=]

From: Charles Wilson
Subject: Re: Cygwin List O' Issues...[make install DESTDIR=]
Date: Thu, 31 Oct 2002 03:27:45 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Tim Van Holder wrote:

On Thu, 2002-10-31 at 05:38, Charles Wilson wrote:

Charles Wilson wrote:

@@ -2243,6 +2254,14 @@
              elif test "$hardcode_minus_L" = yes; then
+               # Try looking first in the location we're being installed to.
+               if test -n "$inst_prefix_dir"; then
+                 case "$libdir" in
+                   [\/]*)

This should use [\\/].  IIRC some versions of bash have a bug in their
matching that causes them not to match a backslash if it is not doubled.

okay, but ...

Also, since this is probably an 'is_absolute' check, it should really be
[\\/]* | ?:[\\/]* )  (cfr the File System Conventions chapter in
the autoconf manual's portability section).

This part won't work. It's possible we need a separate case for A:style paths. Because the rest of the patch does:

+ add_dir="-L$inst_prefix_dir$libdir $add_dir"

E.g. prepend the inst_prefix. But A:/inst_prefix/A:/usr/lib is NOT a valid path; for A:style paths you'd need to strip the drive specifier from $libdir before prepending $inst_prefix...

Help solicited...


reply via email to

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