> But it doesn't solve the problem. E.g.: > > Libraries: @libdir@ > > results in: > > Libraries: ${exec_prefix}/lib
Grrr. It seems that the expansion is normally done by make, not sh. Your "eval" way of doing things is good, it can even be repeated like echo `eval eval eval echo ${libdir}` to get deeper levels of expansion. LISP and Scheme would be so simple for something like this... Andras =========================================================================== Major Andras e-mail: and...@users.sourceforge.net www: http://andras.webhop.org/ ===========================================================================