diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-07 16:17:08 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-07 16:17:08 +0000 |
commit | 6be3ca4fb0d0f9a1361d45dfc094f0a7a85b27b4 (patch) | |
tree | 0ac88b7103cacfa0e05c22a8e814b134549ea5f6 /configure.ac | |
parent | 3186014010acbda9f8e3568a1e8076130212f600 (diff) |
Add configure option to set the build's app-default dir, and put the result
in the xt.pc file for applications to use.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index af40370..cde938f 100644 --- a/configure.ac +++ b/configure.ac @@ -56,7 +56,7 @@ if test "x$XKB" = "xyes" ; then fi # Replaces XFileSearchPathDefault from Imake configs -XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S' +XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S' AC_ARG_WITH(xfile-search-path, AC_HELP_STRING([--with-xfile-search-path=<path>], @@ -64,6 +64,13 @@ AC_ARG_WITH(xfile-search-path, [XFILESEARCHPATHDEFAULT="$withval"], []) AC_SUBST([XFILESEARCHPATHDEFAULT]) +AC_ARG_WITH(appdefaultdir, + AC_HELP_STRING([--with-appdefaultdir=<path>], + [Set app-default directory (default: ${datadir}/X11/app-defaults)]), + [appdefaultdir="$withval"], + [appdefaultdir=${datadir}/X11/app-defaults]) +AC_SUBST([appdefaultdir]) + # Replacement for Imake ToolkitStringsABIOptions, controls string tables # generated by util/string.list in StringDefs.h & Shell.h case $host_os in |