]> git.draconx.ca Git - dxcommon.git/blobdiff - snippet/autotest.mk
DX_PROG_AUTOTEST: Modernize.
[dxcommon.git] / snippet / autotest.mk
index 5b3764bbaa82b2624c276c6293669e6a6c8cea5d..4e02f0be045fd0defa28fd62e0618ffe04f8b627 100644 (file)
@@ -1,21 +1,18 @@
-# Copyright © 2015,2019-2022 Nick Bowler
+# Copyright © 2015,2019-2023 Nick Bowler
 #
 # Automake fragment to hook up a basic Autotest test suite into the
 # build.  It is expected that a testsuite.at file exists in $(srcdir).
 # The testsuite will be output to $(builddir)/testsuite.
 #
 # The DX_AUTOMAKE_COMPAT macro must be expanded by configure.ac to
-# provide necessary substitutions.  If DX_PROG_AUTOTEST is used, this
-# will be included automatically.
+# provide necessary substitutions.
 #
 # You must define the AUTOTEST variable to the Autotest program (normally,
-# this is autom4te -l autotest).  The DX_PROG_AUTOTEST macro can be used
-# to set this automatically.  You must also define the HAVE_AUTOTEST Automake
-# conditional which controls whether the testsuite-generating rules are
-# enabled.  If DX_PROG_AUTOTEST is used, this may be set like:
+# this is autom4te -l autotest).  You must also define the HAVE_AUTOTEST
+# Automake conditional which controls whether the testsuite-generating
+# rules are enabled (that is, if Autotest is available and works).
 #
-#   DX_PROG_AUTOTEST
-#   AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"])
+# The DX_PROG_AUTOTEST_AM macro may be used to set all of the above.
 #
 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
 # This is free software: you are free to do what the fuck you want to.