Bob Friesenhahn wrote:
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
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen


Bingo. I confirm that this work. Thanks.



Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://autopoweroff.sourceforge.net mailto://[EMAIL PROTECTED] (Automatically poweroff home servers)




Reply via email to