Hi, I need to to extract the value of ${datadir} so I can use it something like val=*extract ${datadir}* AC_CHECK_FILE([$val], [], [AC_MSG_ERROR([file $val needed])]) Cheers, Peter _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf