Hi Tim, > > You can use m4_pattern_forbid([AX_]) to guard against such mistakes. > > Well, I might be too stubborn for this. Adding it results in > > configure:20848: error: possibly undefined macro: INTMAX_MAX > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure:20849: error: possibly undefined macro: UINTMAX_MAX > configure:21088: error: possibly undefined macro: UINTMAX_WIDTH > configure:37291: error: possibly undefined macro: > gl_cv_test_INT32_MAX_LT_INTMAX_MAX > configure:37343: error: possibly undefined macro: > gl_cv_test_INT64_MAX_EQ_LONG_MAX > configure:37397: error: possibly undefined macro: > gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX > configure:37449: error: possibly undefined macro: > gl_cv_test_UINT64_MAX_EQ_ULONG_MAX > configure:43624: error: possibly undefined macro: RE_SYNTAX_GREP > configure:43677: error: possibly undefined macro: RE_SYNTAX_EGREP > configure:43692: error: possibly undefined macro: RE_SYNTAX_POSIX_EGREP > configure:43762: error: possibly undefined macro: RE_SYNTAX_EMACS > configure:43782: error: possibly undefined macro: RE_SYNTAX_POSIX_BASIC > configure:46332: error: possibly undefined macro: PRIdMAX_probe > configure:51179: error: possibly undefined macro: > _AX_CODE_COVERAGE_GCOV_PROG_WITH > configure:51271: error: possibly undefined macro: AX_CHECK_GNU_MAKE_HEADLINE > autoreconf: error: /usr/bin/autoconf failed with exit status: 1 > > I would not like to end up with lots of m4_pattern_allow lines. > Any idea ?
OK, I am not infallible, as you can see. How about m4_pattern_forbid([^_?AX_]) Bruno
