21 |
# We need a recent Autotest. |
# We need a recent Autotest. |
22 |
m4_version_prereq([2.52c]) |
m4_version_prereq([2.52c]) |
23 |
|
|
24 |
# AT_CHECK_M4(FLAGS, [EXIT-STATUS], [STDOUT], [STDERR]) |
# AT_CHECK_M4(ARGS, [EXIT-STATUS], [STDOUT], [STDERR]) |
25 |
# ----------------------------------------------------- |
# ---------------------------------------------------- |
26 |
# Hide the impact of libtool on program_invocation_name, and hide |
# Hide the impact of libtool on program_invocation_name, and hide |
27 |
# the differences of paths when src != build. |
# the differences of paths when src != build. |
28 |
m4_define([AT_CHECK_M4], |
m4_define([AT_CHECK_M4], |
29 |
[AT_CHECK([m4 -b -d $1], |
[AT_CHECK([m4 -b -d $1], [$2], [$3], [$4]) |
30 |
[$2], [$3], [$4]) |
]) |
31 |
|
|
32 |
|
|
33 |
|
# AT_CHECK_M4_FILTER(TITLE, INPUT, [STDOUT], [STDERR]) |
34 |
|
# ---------------------------------------------------- |
35 |
|
# Hide the impact of libtool on program_invocation_name, and hide |
36 |
|
# the differences of paths when src != build. |
37 |
|
m4_define([AT_CHECK_M4_FILTER], |
38 |
|
[AT_SETUP([$1]) |
39 |
|
AT_DATA([[in.m4]], [$2]) |
40 |
|
AT_CHECK_M4([[in.m4]], 0, [$4], [$5]) |
41 |
|
AT_CLEANUP |
42 |
]) |
]) |
43 |
|
|
44 |
|
|
56 |
# Hand crafted tests. |
# Hand crafted tests. |
57 |
m4_include([others.at]) |
m4_include([others.at]) |
58 |
|
|
59 |
|
# Torturing the modules support. |
60 |
|
m4_include([modules.at]) |
61 |
|
|
62 |
# From the documention. |
# From the documention. |
63 |
m4_include([generated.at]) |
m4_include([generated.at]) |