|
From: Ethan A M. <merritt@u.washington.edu> - 2006-06-18 00:18:44
|
On Saturday 17 June 2006 06:51 pm, you wrote: > I propose the following (assuming that /usr/lib/X11/app-defaults is the > default directory for this kind of stuff - I don't have such directory > on my machine, everything is in /usr/share/X11/app-defaults instead, > which makes more sense to me) : > > xresourcedir = $(libdir)/X11/app-defaults/Gnuplot > xresource_DATA = Gnuplot.app-defaults Did you actually try this and get it to work? I placed these lines in Makefile.am and nothing happened at all. Also, the autoconf documentation claims that it should be able to find the proper xresourcedir definition by itself if the lines AC_SUBST(LIBRARIES_FOR_X) AC_PATH_XTRA are placed in configure.in. But it doesn't. In fact, half the options I try from the autoconf manual don't work :-( <begin rant> I think I will give up on this, and leave it for some autoconf guru (Lars?) To truth is, I find the autoconf documentation impenetrable, and the design of the program itself hideous. Somebody should start over and write a better-designed autoconfiguration system. I guess gnu autoconf is better than nothing, but that's not saying much. It doesn't quite reach the level of horrible design achieved by the 'info' system, but I'd rather not touch either one of them if at all possible. <end rant> Anyhow, I've hard-coded the Makefile so that it passes "make distcheck", at least for me. It would be nice to have ./configure pick up XRESOURCEPATH from the environment, if defined, but I can't get that to work properly either. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |