@ai-ecoverse/wasix-autoconf 0.0.0-stage → 2.72.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/LICENSE +338 -0
  2. package/README.md +2 -2
  3. package/bin/autoconf +215 -0
  4. package/bin/autoheader +335 -0
  5. package/bin/autom4te +1174 -0
  6. package/bin/autoreconf +937 -0
  7. package/bin/autoscan +686 -0
  8. package/bin/autoupdate +1074 -0
  9. package/bin/ifnames +158 -0
  10. package/package.json +75 -4
  11. package/share/autoconf/Autom4te/C4che.pm +263 -0
  12. package/share/autoconf/Autom4te/ChannelDefs.pm +549 -0
  13. package/share/autoconf/Autom4te/Channels.pm +856 -0
  14. package/share/autoconf/Autom4te/Config.pm +43 -0
  15. package/share/autoconf/Autom4te/Configure_ac.pm +112 -0
  16. package/share/autoconf/Autom4te/FileUtils.pm +429 -0
  17. package/share/autoconf/Autom4te/General.pm +413 -0
  18. package/share/autoconf/Autom4te/Getopt.pm +99 -0
  19. package/share/autoconf/Autom4te/Request.pm +121 -0
  20. package/share/autoconf/Autom4te/XFile.pm +304 -0
  21. package/share/autoconf/INSTALL +368 -0
  22. package/share/autoconf/autoconf/autoconf.m4 +105 -0
  23. package/share/autoconf/autoconf/autoconf.m4f +15460 -0
  24. package/share/autoconf/autoconf/autoheader.m4 +78 -0
  25. package/share/autoconf/autoconf/autoscan.m4 +51 -0
  26. package/share/autoconf/autoconf/autotest.m4 +81 -0
  27. package/share/autoconf/autoconf/autoupdate.m4 +123 -0
  28. package/share/autoconf/autoconf/c.m4 +2794 -0
  29. package/share/autoconf/autoconf/erlang.m4 +270 -0
  30. package/share/autoconf/autoconf/fortran.m4 +1933 -0
  31. package/share/autoconf/autoconf/functions.m4 +2127 -0
  32. package/share/autoconf/autoconf/general.m4 +3374 -0
  33. package/share/autoconf/autoconf/go.m4 +177 -0
  34. package/share/autoconf/autoconf/headers.m4 +839 -0
  35. package/share/autoconf/autoconf/lang.m4 +730 -0
  36. package/share/autoconf/autoconf/libs.m4 +493 -0
  37. package/share/autoconf/autoconf/oldnames.m4 +92 -0
  38. package/share/autoconf/autoconf/programs.m4 +1015 -0
  39. package/share/autoconf/autoconf/specific.m4 +763 -0
  40. package/share/autoconf/autoconf/status.m4 +1787 -0
  41. package/share/autoconf/autoconf/trailer.m4 +4 -0
  42. package/share/autoconf/autoconf/types.m4 +1133 -0
  43. package/share/autoconf/autom4te.cfg +169 -0
  44. package/share/autoconf/autoscan/autoscan.list +264 -0
  45. package/share/autoconf/autotest/autotest.m4 +27 -0
  46. package/share/autoconf/autotest/autotest.m4f +3915 -0
  47. package/share/autoconf/autotest/general.m4 +2292 -0
  48. package/share/autoconf/autotest/specific.m4 +74 -0
  49. package/share/autoconf/build-aux/config.guess +1807 -0
  50. package/share/autoconf/build-aux/config.sub +1960 -0
  51. package/share/autoconf/build-aux/install-sh +541 -0
  52. package/share/autoconf/m4sugar/foreach.m4 +362 -0
  53. package/share/autoconf/m4sugar/m4sh.m4 +2217 -0
  54. package/share/autoconf/m4sugar/m4sh.m4f +2046 -0
  55. package/share/autoconf/m4sugar/m4sugar.m4 +3307 -0
  56. package/share/autoconf/m4sugar/m4sugar.m4f +868 -0
  57. package/share/autoconf/version.m4 +12 -0
@@ -0,0 +1,74 @@
1
+ # This file is part of Autoconf. -*- Autoconf -*-
2
+ # M4 macros used in running tests using third-party testing tools.
3
+ m4_define([_AT_COPYRIGHT_YEARS],
4
+ [Copyright (C) 2009-2017, 2020-2023 Free Software Foundation, Inc.])
5
+
6
+ # This file is part of Autoconf. This program is free
7
+ # software; you can redistribute it and/or modify it under the
8
+ # terms of the GNU General Public License as published by the
9
+ # Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # Under Section 7 of GPL version 3, you are granted additional
18
+ # permissions described in the Autoconf Configure Script Exception,
19
+ # version 3.0, as published by the Free Software Foundation.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # and a copy of the Autoconf Configure Script Exception along with
23
+ # this program; see the files COPYINGv3 and COPYING.EXCEPTION
24
+ # respectively. If not, see <https://www.gnu.org/licenses/>.
25
+
26
+
27
+ ## ------------------------ ##
28
+ ## Erlang EUnit unit tests. ##
29
+ ## ------------------------ ##
30
+
31
+ # AT_CHECK_EUNIT(MODULE, SPEC, [ERLFLAGS], [RUN-IF-FAIL], [RUN-IF-PASS])
32
+ # ----------------------------------------------------------------------
33
+ # Check that the EUnit test specification SPEC passes. The ERLFLAGS
34
+ # optional flags are passed to the Erlang interpreter command line to
35
+ # execute the test. The test is executed from an automatically
36
+ # generated Erlang module named MODULE. Each call to this macro should
37
+ # have a distinct MODULE name within each test group, to ease
38
+ # debugging.
39
+ # An Erlang/OTP version which contains the eunit library must be
40
+ # installed, in order to execute this macro in a test suite. The ERL,
41
+ # ERLC, and ERLCFLAGS variables must be defined in atconfig,
42
+ # typically by using the AC_ERLANG_PATH_ERL and AC_ERLANG_PATH_ERLC
43
+ # Autoconf macros.
44
+ _AT_DEFINE_SETUP([AT_CHECK_EUNIT],
45
+ [AT_SKIP_IF([test ! -f "$ERL" || test ! -f "$ERLC"])
46
+ ## A wrapper to EUnit, to exit the Erlang VM with the right exit code:
47
+ AT_DATA([$1.erl],
48
+ [[-module($1).
49
+ -export([test/0, test/1]).
50
+ test() -> test([]).
51
+ test(Options) ->
52
+ TestSpec = $2,
53
+ ReturnValue = case code:load_file(eunit) of
54
+ {module, _} -> case eunit:test(TestSpec, Options) of
55
+ ok -> "0\n"; %% test passes
56
+ _ -> "1\n" %% test fails
57
+ end;
58
+ _ -> "77\n" %% EUnit not found, test skipped
59
+ end,
60
+ file:write_file("$1.result", ReturnValue),
61
+ init:stop().
62
+ ]])
63
+ AT_CHECK(["$ERLC" $ERLCFLAGS -b beam $1.erl])
64
+ ## Make EUnit verbose when testsuite is verbose:
65
+ if test -z "$at_verbose"; then
66
+ at_eunit_options="verbose"
67
+ else
68
+ at_eunit_options=""
69
+ fi
70
+ AT_CHECK(["$ERL" $3 -s $1 test $at_eunit_options -noshell], [0], [ignore], [],
71
+ [$4], [$5])
72
+ AT_CAPTURE_FILE([$1.result])
73
+ AT_CHECK([test -f "$1.result" && (exit `cat "$1.result"`)])
74
+ ])