<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Thu, 2011-09-08 at 16:44 +0200, Egbert Eich wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Should anyone ever desire to supply this file externally
it's location is specified in the pkg-config file.
Signed-off-by: Egbert Eich <<A HREF="mailto:eich@freedesktop.org">eich@freedesktop.org</A>>
---
xt.pc.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/xt.pc.in b/xt.pc.in
index 28ce24a..660b2a9 100644
--- a/xt.pc.in
+++ b/xt.pc.in
@@ -3,6 +3,7 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
appdefaultdir=@appdefaultdir@
+errordbdir=@ERRORDBDIR@
</PRE>
</BLOCKQUOTE>
This can only be done if you use AX_DEFINE_DIR. It does "flatten" the nested variables:
<BLOCKQUOTE>
<PRE>
prefix=/home/nadon/xorg/src/inst
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
</PRE>
</BLOCKQUOTE>
<BR>
However it is not recommended by Autoconf. The errordb path would be "hardcoded" at config time but the prefix can be changed at make time.<BR>
<BR>
Without using AX_DEFINE_DIR, you need:
<BLOCKQUOTE>
<PRE>
datarootdir=@datarootdir@
datadir=@datadir@
errordbdir=@ERRORDBDIR@
</PRE>
</BLOCKQUOTE>
<BR>
Which expands to:
<BLOCKQUOTE>
<PRE>
datarootdir=${prefix}/share
datadir=${datarootdir}
errordbdir=${datarootdir}/X11
</PRE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Name: Xt
Description: X Toolkit Library
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
You may also leave it as is and I can clean it later with appdefaultdir<BR>
<BR>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca><BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>