CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/09/05 16:58:02
Index: tests/testsuite.at =================================================================== RCS file: /sources/m4/m4/tests/testsuite.at,v retrieving revision 1.20 retrieving revision 1.21 diff -u -b -r1.20 -r1.21 --- tests/testsuite.at 25 Aug 2006 19:23:02 -0000 1.20 +++ tests/testsuite.at 5 Sep 2006 16:58:02 -0000 1.21 @@ -45,6 +45,17 @@ # We exercise m4. AT_TESTED([m4]) +# AT_CHECK_DYNAMIC_MODULE +# ----------------------- +# Add keyword `module' to the test, and skip the test if dynamic +# modules were disabled at configure time. +m4_define([AT_CHECK_DYNAMIC_MODULE], +[AT_KEYWORDS([module]) +AT_CHECK([if test "x$DYNAMIC_MODULES" = xno ; then + echo Dynamic module support not detected, skipping this test. + exit 77 +fi])]) + ## ----------- ## ## The suite. ## ## ----------- ##
