1 dnl ######################################################################
2 dnl Expand the value of a CPP macro into a printable string.
3 dnl Takes: header, macro, [action-if-found, [action-if-not-found]]
4 dnl It runs the header through CPP looking for a match between the macro
5 dnl and a string pattern, and if sucessful, it prints the string value out.
6 AC_DEFUN([AMU_EXPAND_CPP_STRING],
8 # we are looking for a regexp of a string
24 # error no such option $2
27 }], value=`./conftest dummy 2>>config.log`, value="notfound", value="notfound")
31 if test "$value" = notfound
40 dnl ======================================================================