bug-autoconf
[Top][All Lists]
Advanced

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

autoconf + X appres files


From: Werner LEMBERG
Subject: autoconf + X appres files
Date: Mon, 31 May 2004 17:39:31 +0200 (CEST)

I'm converting gxditview (part of groff) from an Imakefile to a normal
Makefile, based on autoconf.  Everything works fine except how and
where to install the default application resource file,
`GXditview.ad'.

AC_PATH_X doesn't help since, according to the documentation, it sets
the `x_libraries' variable only if the compiler doesn't search those
directories by default.

The `logical' place to install the resource file is apparently
/usr/X11/lib/X11/app-defaults (where `/usr/X11/lib' is dependent on
the X11 installation), but I'm not happy with it since it completely
ignores the --prefix value.  While there are environment variables
like XUSERFILESEARCHPATH and XAPPRESDIR I'm not sure whether those are
regularly used.

Any help and advice is greatly appreciated.  Ideally, autoconf should
provide some helper functions (or some information in the manual how
to handle this situation).


    Werner




reply via email to

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