CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 07/01/13 13:55:37
Index: tests/testsuite.at =================================================================== RCS file: /sources/m4/m4/tests/testsuite.at,v retrieving revision 1.26 retrieving revision 1.27 diff -u -b -r1.26 -r1.27 --- tests/testsuite.at 6 Oct 2006 18:24:32 -0000 1.26 +++ tests/testsuite.at 13 Jan 2007 13:55:37 -0000 1.27 @@ -1,7 +1,7 @@ # Process with autom4te to create an -*- Autotest -*- test suite. # Test suite for GNU M4. -# Copyright (C) 2001, 2006 Free Software Foundation, Inc. +# Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -117,6 +117,17 @@ exit 77 fi])]) +# AT_CHECK_GMP +# ----------------------- +# Add keyword `gmp' to the test, and skip the test if the use of GMP +# was disabled at configure time. +m4_define([AT_CHECK_GMP], +[AT_KEYWORDS([gmp]) +AT_CHECK([if test "x$USE_GMP" = xno ; then + echo libgmp support not detected, skipping this test. + exit 77 +fi])]) + ## ----------- ## ## The suite. ## ## ----------- ##
