> M4 1.4.4 and earlier have known bugs that interfere with correct autoconf > operation. We recommend upgrading to M4 1.4.5 or later (M4 is currently > at 1.4.10). While you are at it, you may also want to look at upgrading > to autoconf 2.61, although for this issue, the out-of-date m4 is most > likely the culprit. > I've tested on m4 1.4.8 - the same. > Always quote nested macro invocations. > > >> 2) [CHECK_KRB(5)] instead of CHECK_KRB(5) (in all cases) >> > > That's the only part that needs to be fixed. > OK. But without quoting it works in most cases. AFAIN, m4 do not require this. The bug appears only in above mentioned example. Even if you remove if test -z "$KRB[$1]_CONFIG" ; then AC_MSG_FAILURE(Kerberos [$1] not found) fi KRB5_CFLAGS=`$KRB[$1]_CONFIG --cflags` KRB5_LIBS=`$KRB[$1]_CONFIG --libs` CFLAGS="$CFLAGS $KRB[$1]_CFLAGS" LIBS="$LIBS $KRB[$1]_LIBS" from macro all became to work fine. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf