1 dnl ######################################################################
2 dnl Expand the value of a CPP macro into a printable integer number.
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_INT],
8 # we are looking for a regexp of an integer (must not start with 0 --- those
26 # error no such option $2
29 }], value=`./conftest dummy 2>>config.log`, value="notfound", value="notfound")
33 if test "$value" = notfound
42 dnl ======================================================================