I'm curious if there is a way to make autoconf expand variables completely. Take the following example: CP_PREFIX = /usr/local CP_LIBDIR = $CP_PREFIX/lib CP_PKGLIBDIR = $CP_LIBDIR/$PACKAGE AC_SUBST(CP_PREFIX) AC_SUBST(CP_LIBDIR) AC_SUBST(CP_PKGLIBDIR) Now, using this, I have this in one of my files (not a Makefile): ...@CP_PREFIX@... ...@CP_LIBDIR@... ...@CP_PKGLIBDIR@... And when configure parses this file, those get substituted with: .../usr/local... ...$CP_PREFIX/lib... ...$CP_LIBDIR/package/... But what I want is this: .../usr/local... .../usr/local/lib... .../usr/local/lib/package... If you try this in a regular shell script, this happens. Is there a way to make autoconf do this as well? Thanks! -- -Ti Leggett [EMAIL PROTECTED] [EMAIL PROTECTED]
