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  <[EMAIL PROTECTED]>
> 
>       * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space after
>       -R regardless of host.  Patrick Welche reports that a space after -R
>       is also required for NetBSD 3.99.

Not quite what I reported, NetBSD doesn't need the space, it needs a -rpath.
Before, there was neither -rpath nor -R. Your patch makes things better
though!

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... no

and

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 can't check the opposite though: do systems that don't want rpath get
one now?

Cheers,

Patrick


Reply via email to