Re: AC_PATH_XTRA and -rpath

2006-08-25 Thread Ralf Wildenhues
Sorry for reviving a slightly old thread... * Paul Eggert wrote on Mon, Jul 17, 2006 at 11:41:13PM CEST: > Patrick Welche <[EMAIL PROTECTED]> writes: > > > so the -R made it, and all is well :-) > > > > I can't check the opposite though: do systems that don't want rpath get > > one now? > > Yes,

Re: AC_PATH_XTRA and -rpath

2006-08-04 Thread Patrick Welche
On Fri, Aug 04, 2006 at 12:18:11AM +, Harlan Stenn wrote: > I thought he was ssaying that if /bin/ls uses RPATH then configure > should use RPATH, too. That's right - the question was how to know whether or not a system uses rpath without reinventing libtool. In fact choosing some binary we kn

Re: AC_PATH_XTRA and -rpath

2006-08-03 Thread Harlan Stenn
I thought he was ssaying that if /bin/ls uses RPATH then configure should use RPATH, too. H -- > Patrick Welche <[EMAIL PROTECTED]> writes: > > On Thu, Jul 20, 2006 at 07:03:27PM -0700, Russ Allbery wrote: > > >> Adding -R for system X libraries is always the wrong thing to do on > >> Debian syst

Re: AC_PATH_XTRA and -rpath

2006-08-03 Thread Russ Allbery
Patrick Welche <[EMAIL PROTECTED]> writes: > On Thu, Jul 20, 2006 at 07:03:27PM -0700, Russ Allbery wrote: >> Adding -R for system X libraries is always the wrong thing to do on >> Debian systems and will break multiarch builds. I really don't think >> this is the right solution. > How about som

Re: AC_PATH_XTRA and -rpath

2006-08-03 Thread Patrick Welche
On Thu, Jul 20, 2006 at 07:03:27PM -0700, Russ Allbery wrote: > Paul Eggert <[EMAIL PROTECTED]> writes: > > "Peter O'Gorman" <[EMAIL PROTECTED]> writes: > > >> This patch will now add -R to X_LIBS for all systems. > > > It's not supposed to. It's supposed to try -R, and add it only if it > > wor

Re: AC_PATH_XTRA and -rpath

2006-07-21 Thread Albert Chin
On Fri, Jul 21, 2006 at 01:13:01AM +0900, Peter O'Gorman wrote: > On Thu, 2006-07-20 at 08:55 -0700, Paul Eggert wrote: > > "Peter O'Gorman" <[EMAIL PROTECTED]> writes: > > > > > This patch will now add -R to X_LIBS for all systems. > > > > It's not supposed to. It's supposed to try -R, and add

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Russ Allbery
Paul Eggert <[EMAIL PROTECTED]> writes: > "Peter O'Gorman" <[EMAIL PROTECTED]> writes: >> This patch will now add -R to X_LIBS for all systems. > It's not supposed to. It's supposed to try -R, and add it only if it > worked. Adding -R for system X libraries is always the wrong thing to do on De

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 15:39 -0700, Paul Eggert wrote: > "Peter O'Gorman" <[EMAIL PROTECTED]> writes: > > > see http://pogma.com/misc/autoscrewup.txt for the transcript. > > Thanks for checking this. Please bear with me, as I can't easily > test this directly. How about the following further pat

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Paul Eggert
"Peter O'Gorman" <[EMAIL PROTECTED]> writes: > see http://pogma.com/misc/autoscrewup.txt for the transcript. Thanks for checking this. Please bear with me, as I can't easily test this directly. How about the following further patch, which I just now installed? 2006-07-20 Paul Eggert <[EMAIL

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 08:55 -0700, Paul Eggert wrote: > "Peter O'Gorman" <[EMAIL PROTECTED]> writes: > > > This patch will now add -R to X_LIBS for all systems. > > It's not supposed to. It's supposed to try -R, and add it only if it > worked. > > > I tried just > > now on Mac OS X to see the r

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Paul Eggert
"Peter O'Gorman" <[EMAIL PROTECTED]> writes: > This patch will now add -R to X_LIBS for all systems. It's not supposed to. It's supposed to try -R, and add it only if it worked. > I tried just > now on Mac OS X to see the result: powerpc-apple-darwin8-gcc-4.0.1: > unrecognized option '-R/usr/X1

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Mon, 2006-07-17 at 14:41 -0700, Paul Eggert wrote: > Patrick Welche <[EMAIL PROTECTED]> writes: > > > so the -R made it, and all is well :-) > > > > I can't check the opposite though: do systems that don't want rpath get > > one now? > > Yes, they probably do. Perhaps the libtool guys can chi

Re: AC_PATH_XTRA and -rpath

2006-07-19 Thread Patrick Welche
On Wed, Jul 19, 2006 at 12:26:36PM -0500, Albert Chin wrote: > On Mon, Jul 17, 2006 at 09:49:20PM +0100, Patrick Welche wrote: > > X_CFLAGS = -I/usr/X11R6/include > > X_EXTRA_LIBS = > > X_LIBS = -L/usr/X11R6/lib -R/usr/X11R6/lib > > X_PRE_LIBS = -lSM -lICE > > > > so the -R made it, and all is

Re: AC_PATH_XTRA and -rpath

2006-07-19 Thread Albert Chin
On Mon, Jul 17, 2006 at 09:49:20PM +0100, Patrick Welche wrote: > X_CFLAGS = -I/usr/X11R6/include > X_EXTRA_LIBS = > X_LIBS = -L/usr/X11R6/lib -R/usr/X11R6/lib > X_PRE_LIBS = -lSM -lICE > > so the -R made it, and all is well :-) I thought you wanted -Wl,-rpath,/usr/X11R6/lib though? -- albe

Re: AC_PATH_XTRA and -rpath

2006-07-18 Thread Patrick Welche
On Mon, Jul 17, 2006 at 06:54:16PM -0400, Braden McDaniel wrote: > Quoting Paul Eggert <[EMAIL PROTECTED]>: > > > Patrick Welche <[EMAIL PROTECTED]> writes: > > > > > so the -R made it, and all is well :-) > > > > > > I can't check the opposite though: do systems that don't want rpath get > > > on

Re: AC_PATH_XTRA and -rpath

2006-07-17 Thread Braden McDaniel
Quoting Paul Eggert <[EMAIL PROTECTED]>: > Patrick Welche <[EMAIL PROTECTED]> writes: > > > so the -R made it, and all is well :-) > > > > I can't check the opposite though: do systems that don't want rpath get > > one now? > > Yes, they probably do. Perhaps the libtool guys can chime in on > whe

Re: AC_PATH_XTRA and -rpath

2006-07-17 Thread Paul Eggert
Patrick Welche <[EMAIL PROTECTED]> writes: > so the -R made it, and all is well :-) > > I can't check the opposite though: do systems that don't want rpath get > one now? Yes, they probably do. Perhaps the libtool guys can chime in on whether the patch was a good idea.

Re: AC_PATH_XTRA and -rpath

2006-07-17 Thread Patrick Welche
On Mon, Jul 17, 2006 at 10:36:17AM -0700, Paul Eggert wrote: > Thanks for reporting that. Does the following patch to Autoconf 2.60 > fix the bug for you? I've installed it into Autoconf CVS (for 2.61) > but I'd like you to verify that it actually works on NetBSD. > > 2006-07-17 Paul Eggert <[

Re: AC_PATH_XTRA and -rpath

2006-07-17 Thread Paul Eggert
Thanks for reporting that. Does the following patch to Autoconf 2.60 fix the bug for you? I've installed it into Autoconf CVS (for 2.61) but I'd like you to verify that it actually works on NetBSD. 2006-07-17 Paul Eggert <[EMAIL PROTECTED]> * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do th