whats the correct way to have autoconf add the -Wl.-R/usr/X11R6/lib stuff thats needed? I've tried AC_PATH_XTRA which gives me the -I/usr/X11R6/include for compiling and -L/usr/X11R6/lib for linking, but I don't get the -Wl,-R/usr/X11R6/lib part which I need so that the program can find the X libraries at run time.
Thanks -Dan