[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to reflect variables like "sysconfdir" in an executable.
From: |
Bob Friesenhahn |
Subject: |
Re: How to reflect variables like "sysconfdir" in an executable. |
Date: |
Sun, 15 Feb 2004 17:28:27 -0600 (CST) |
On Sun, 15 Feb 2004, Hans Deragon wrote:
>
> Thanks. It almost works. The problem is that it substitute "@datadir@" with
> "${prefix}/share". That is not right. ${prefix} must be expanded. Python
> does not understand ${prefix}. Any suggestions? In should be something like
> "/usr/share" in my script.
Do something like
eval "eval DATA_DIR=$datadir"
AC_SUBST(DATA_DIR)
and then use
@DATA_DIR@
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen