2
0

local.at 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. # M4 macros used in building Autoconf test suites. -*- Autotest -*-
  2. # Copyright (C) 2000-2012 Free Software Foundation, Inc.
  3. # This program is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation, either version 3 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. m4_version_prereq([2.57])
  16. # Used in many tests.
  17. m4_pattern_allow([^AS_EXIT$])
  18. m4_pattern_allow([^m4_(define|shift)$])
  19. # Programs this package provides
  20. AT_TESTED([autom4te autoconf autoheader autoupdate autoreconf ifnames])
  21. # Enable colored test output.
  22. AT_COLOR_TESTS
  23. ## ---------------- ##
  24. ## Utility macros. ##
  25. ## ---------------- ##
  26. # AT_CMP(FILE-1, FILE-2)
  27. # ----------------------
  28. # Check FILE-1 and FILE-2 for equality, like `cmp FILE-1 FILE-2'.
  29. m4_define([AT_CMP],
  30. [m4_ifval([$2],, [m4_fatal([AT_CMP takes two arguments.])])[]dnl
  31. AT_CHECK([$at_diff "$1" "$2"])
  32. ])# AT_CMP
  33. ## ---------------- ##
  34. ## Testing syntax. ##
  35. ## ---------------- ##
  36. # AT_CHECK_SHELL_SYNTAX(PROGRAM)
  37. # ------------------------------
  38. # If the shell handles `-n' well, use it to check the syntax of PROGRAM;
  39. # otherwise, do nothing. ksh93 -n also spits outs loads of warnings
  40. # about older constructs, but we don't care about the warnings.
  41. m4_define([AT_CHECK_SHELL_SYNTAX],
  42. [AT_SKIP_IF([test "$ac_cv_sh_n_works" != yes])
  43. AT_CHECK([/bin/sh -n $1], [], [], [ignore])])
  44. m4_define([AT_CHECK_PERL_SYNTAX],
  45. [AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c "$abs_top_builddir"/bin/$1],
  46. 0, [], [ignore])])
  47. ## ------------------ ##
  48. ## Testing autom4te. ##
  49. ## ------------------ ##
  50. # AT_CHECK_M4(COMMAND, [EXIT-STATUS = 0], STDOUT, STDERR)
  51. # -------------------------------------------------------
  52. # If stderr is specified, normalize the observed stderr.
  53. # This (using GNU M4 1.4.6)
  54. #
  55. # /usr/local/bin/m4:script.4s:1: cannot open `foo': No such file or directory
  56. # autom4te: /usr/local/bin/m4 failed with exit status: 1
  57. #
  58. # or this (GNU M4 1.4.11)
  59. #
  60. # /usr/local/bin/m4:script.4s:1: include: cannot open `foo': No such file or directory
  61. # autom4te: /usr/local/bin/m4 failed with exit status: 1
  62. #
  63. # or this (GNU M4 1.4 installed as gm4)
  64. #
  65. # script.4s:1: /usr/local/bin/gm4: Cannot open foo: No such file or directory
  66. # autom4te: /usr/local/bin/gm4 failed with exit status: 1
  67. #
  68. # or this (GNU M4 1.4.13 installed as m4-1.4.13):
  69. #
  70. # /usr/bin/m4-1.4.13:script.4s:1: include: cannot open `foo': No such file or directory
  71. # autom4te: /usr/bin/m4-1.4.13 failed with exit status: 1
  72. #
  73. # becomes
  74. #
  75. # m4:script.4s:1: cannot open `foo': No such file or directory
  76. # autom4te: m4 failed with exit status: 1
  77. #
  78. # We use the following sed patterns:
  79. #
  80. # (m4): ?(file): ?(line):
  81. # or (file): ?(line): ?(m4):
  82. # to m4:(file):(line):
  83. #
  84. # and
  85. # m4:(file):(line): Cannot open foo:
  86. # or m4:(file):(line): include: cannot open `foo':
  87. # to m4:(file):(line): cannot open `foo':
  88. #
  89. # and
  90. # autom4te: [^ ]m4
  91. # or autom4te: [^ ]m4.exe
  92. # to autom4te: m4
  93. #
  94. # Moreover, DJGPP error messages include the error code in brackets;
  95. # remove the error code during normalization.
  96. #
  97. m4_define([AT_CHECK_M4],
  98. [AT_CHECK([$1], [$2], [$3],
  99. m4_case([$4], [], [], [ignore], [ignore], [stderr]))
  100. m4_case([$4], [], [], [ignore], [],
  101. [AT_CHECK([[sed 's/^[^:]*m4[-.ex0-9]*: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
  102. s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4[-.ex0-9]*: /m4:\1\2 /
  103. s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
  104. s/: include:\( cannot open\)/:\1/
  105. s/^autom4te: [^ ]*m4[.ex]* /autom4te: m4 /
  106. s/ (E[A-Z]*)$//
  107. ' stderr >&2]], [0], [], [$4])])
  108. ])
  109. # AT_CHECK_AUTOM4TE(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
  110. # -----------------------------------------------------------
  111. m4_define([AT_CHECK_AUTOM4TE],
  112. [AT_CHECK_M4([autom4te $1], [$2], [$3], [$4])])
  113. ## ----------------- ##
  114. ## Testing M4sugar. ##
  115. ## ----------------- ##
  116. # AT_DATA_M4SUGAR(FILE-NAME, CONTENTS)
  117. # ------------------------------------
  118. # Escape the invalid tokens with @&t@.
  119. m4_define([AT_DATA_M4SUGAR],
  120. [AT_DATA([$1],
  121. [m4_bpatsubst([$2], [\(@.\)\(.@\)\|\(m4\)\(_\)\|\(d\)\(nl\)],
  122. [\1\3\5@&t@\2\4\6])])])
  123. # AT_CHECK_M4SUGAR(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
  124. # ----------------------------------------------------------
  125. m4_define([AT_CHECK_M4SUGAR],
  126. [AT_KEYWORDS([m4sugar])
  127. AT_CHECK_AUTOM4TE([--language=m4sugar script.4s -o script $1],
  128. [$2], [$3], [$4])])
  129. ## -------------- ##
  130. ## Testing M4sh. ##
  131. ## -------------- ##
  132. # AT_DATA_M4SH(FILE-NAME, CONTENTS)
  133. # ---------------------------------
  134. # Escape the invalid tokens with @&t@.
  135. m4_define([AT_DATA_M4SH],
  136. [AT_DATA([$1],
  137. [m4_bpatsubst([$2], [\(@.\)\(.@\)\|\(m4\|AS\)\(_\)\|\(d\)\(nl\)],
  138. [\1\3\5@&t@\2\4\6])])])
  139. # AT_CHECK_M4SH(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
  140. # -------------------------------------------------------
  141. m4_define([AT_CHECK_M4SH],
  142. [AT_CHECK_AUTOM4TE([--language=m4sh script.as -o script $1],
  143. [$2], [$3], [$4])])
  144. ## ------------------ ##
  145. ## Testing Autoconf. ##
  146. ## ------------------ ##
  147. # AT_DATA_AUTOCONF(FILE-NAME, CONTENTS)
  148. # -------------------------------------
  149. # Escape the invalid tokens with @&t@.
  150. m4_define([AT_DATA_AUTOCONF],
  151. [AT_DATA([$1],
  152. [m4_bpatsubst([$2], [\(@.\)\(.@\)\|\(m4\|AS\|AC\)\(_\)\|\(d\)\(nl\)],
  153. [\1\3\5@&t@\2\4\6])])])
  154. # AT_CONFIGURE_AC(BODY)
  155. # ---------------------
  156. # Create a full configure.ac running BODY, with a config header set up,
  157. # AC_OUTPUT, and environment checking hooks.
  158. m4_define([AT_CONFIGURE_AC],
  159. [AT_DATA([configure.ac],
  160. [[AC_INIT
  161. AC_CONFIG_HEADERS(config.h:config.hin)
  162. AC_STATE_SAVE(before)]
  163. $1
  164. [AC_OUTPUT
  165. AC_STATE_SAVE(after)
  166. ]])
  167. cp "$abs_top_srcdir/build-aux/install-sh" \
  168. "$abs_top_srcdir/build-aux/config.guess" \
  169. "$abs_top_srcdir/build-aux/config.sub" .
  170. cp "$abs_top_srcdir/tests/statesave.m4" aclocal.m4
  171. ])# AT_CONFIGURE_AC
  172. # AT_CHECK_AUTOCONF(ARGS, [EXIT-STATUS = 0], STDOUT, STDERR)
  173. # ----------------------------------------------------------
  174. # We always use "--force", to prevent problems with timestamps if the testsuite
  175. # were running too fast.
  176. m4_define([AT_CHECK_AUTOCONF],
  177. [AT_CHECK_M4([autoconf --force $1], [$2], [$3], [$4])
  178. if test -s configure && test "$ac_cv_sh_n_works" = yes; then
  179. AT_CHECK_SHELL_SYNTAX([configure])
  180. fi
  181. ])
  182. # AT_CHECK_AUTOHEADER(ARGS, [EXIT-STATUS = 0], STDOUT, STDERR)
  183. # ------------------------------------------------------------
  184. m4_define([AT_CHECK_AUTOHEADER],
  185. [AT_CHECK([autoheader $1], [$2], [$3], [$4])
  186. ])
  187. # AT_CHECK_CONFIGURE(END-COMMAND,
  188. # [EXIT-STATUS = 0],
  189. # [STDOUT = IGNORE], STDERR)
  190. # ---------------------------------------------
  191. # `abs_top_srcdir' is needed so that `./configure' finds install-sh.
  192. # Using --srcdir is more expensive.
  193. m4_define([AT_CHECK_CONFIGURE],
  194. [AT_CAPTURE_FILE([config.log])[]dnl
  195. AT_CHECK([./configure $configure_options $1],
  196. [$2],
  197. m4_default([$3], [ignore]), [$4])])
  198. # AT_CHECK_ENV
  199. # ------------
  200. # Check that the full configure run remained in its variable name space,
  201. # and cleaned up tmp files.
  202. #
  203. # Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
  204. # In this case just don't pay attention to the env. It would be great
  205. # to keep the error message but we can't: that would break AT_CHECK.
  206. #
  207. # FreeBSD sh may intermingle the trace output from the egrep and grep
  208. # commands in the pipe, so turn off tracing for these.
  209. #
  210. # Some tests might exit prematurely when they find a problem, in
  211. # which case `env-after' is probably missing. Don't check it then.
  212. #
  213. # Here are the variables `configure' may modify during execution:
  214. # - ^as_
  215. # M4sh's shell name space.
  216. # - ^ac_
  217. # Autoconf's shell name space.
  218. # - prefix and exec_prefix
  219. # are kept undefined (NONE) until AC_OUTPUT which then sets them to
  220. # `/usr/local' and `${prefix}' for make.
  221. # - (host|build|target)(_(alias|cpu|vendor|os))?
  222. # Set by AC_CANONICAL_(HOST|BUILD|TARGET).
  223. # - cross_compiling
  224. # Set by AC_INIT.
  225. # - interpval
  226. # Set by AC_SYS_INTERPRETER.
  227. # - CONFIG_STATUS and DEFS
  228. # Set by AC_OUTPUT.
  229. # - AC_SUBST'ed variables
  230. # (FIXME: Generate a list of these automatically.)
  231. # - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
  232. # Some variables some shells use and change.
  233. # `.[*#?$].' catches `$#' etc. which are displayed like this:
  234. # | '!'=18186
  235. # | '#'=0
  236. # | '$'=6908
  237. #
  238. m4_define([AT_CHECK_ENV],
  239. [m4_divert_once([PREPARE_TESTS], [_AT_CHECK_ENV])dnl
  240. AT_CHECK([at_check_env])])
  241. m4_define([_AT_CHECK_ENV],
  242. [AS_FUNCTION_DESCRIBE([at_check_env], [],
  243. [Compare the directory and environment state both before and after a run,
  244. and return non-zero status if they differ inappropriately.])
  245. at_check_env ()
  246. {
  247. # Compare directory listings.
  248. test -f state-ls.before ||
  249. AS_ERROR([state-ls.before not present])
  250. test -f state-ls.after \
  251. && { $at_diff state-ls.before state-ls.after || return 1; }
  252. # Compare variable space dumps.
  253. if test -f state-env.before && test -f state-env.after; then
  254. set +x
  255. grep_failed=false
  256. for act_file in state-env.before state-env.after
  257. do
  258. ($EGREP -v '^(m4_join([|],
  259. [a[cs]_.*],
  260. [(exec_)?prefix|DEFS|CONFIG_STATUS],
  261. [CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77],
  262. [ERL|ERLC|ERLCFLAGS|ERLANG_PATH_ERL|ERLANG_ROOT_DIR|ERLANG_LIB_DIR],
  263. [ERLANG_LIB_DIR_.*|ERLANG_LIB_VER_.*|ERLANG_INSTALL_LIB_DIR],
  264. [ERLANG_INSTALL_LIB_DIR_.*|ERLANG_ERTS_VER|OBJC|OBJCPP|OBJCFLAGS],
  265. [OBJCXX|OBJCXXCPP|OBJCXXFLAGS],
  266. [GOC|GOFLAGS],
  267. [OPENMP_CFLAGS],
  268. [LIBS|LIB@&t@OBJS|LTLIBOBJS|LDFLAGS],
  269. [INSTALL(_(DATA|PROGRAM|SCRIPT))?],
  270. [CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT],
  271. [X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x],
  272. [(host|build|target)(_(alias|cpu|vendor|os))?],
  273. [cross_compiling|U],
  274. [interpval|PATH_SEPARATOR],
  275. [GFC|F77_DUMMY_MAIN|f77_(case|underscore)],
  276. [FC(_DUMMY_MAIN|FLAGS|LIBS|FLAGS_[fF]|_MODEXT|_MODINC|_MODOUT|_DEFINE)?],
  277. [ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB],
  278. [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],
  279. [GREP|[EF]GREP|SED],
  280. [[_@]|.[*#?$].],
  281. [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \
  282. $act_file ||
  283. test $? -eq 1 || echo failed >&2
  284. ) 2>stderr-$act_file |
  285. # There may be variables spread on several lines; remove latter lines.
  286. $GREP '^m4_defn([m4_re_word])=' >clean-$act_file ||
  287. test $? -eq 1 || grep_failed=:
  288. test -s stderr-$act_file && grep_failed=:
  289. done
  290. $at_traceon
  291. $grep_failed || $at_diff clean-state-env.before clean-state-env.after
  292. fi
  293. } [#]at_check_env])
  294. # AT_CONFIG_CMP(VAR-FILE-A, VAR-FILE-B)
  295. # -------------------------------------
  296. # Check the outcomes of two configure runs for equality by comparing dumps of
  297. # their shell variables. VAR-FILE-A and VAR-FILE-B are two `set'-style shell
  298. # variable space dumps.
  299. #
  300. # We permit variance between runs in the following shell variables:
  301. # - ^as_
  302. # M4sh's shell name space.
  303. # - ^ac_, excluding ^ac_cv_
  304. # Autoconf's private shell name space.
  305. # - PPID [bash, zsh]
  306. # - RANDOM [zsh]
  307. # - SECONDS [zsh]
  308. # - '$' [zsh]
  309. # - argv [zsh]
  310. # - ARGC [zsh]
  311. #
  312. # Furthermore, it is okay for a non-cache variable initialized to empty in one
  313. # run to be unset in another run. This happens when, for example, cache update
  314. # code tries a number of values in LIBS and eventually restores LIBS to its
  315. # original value. If LIBS was previously unset, it will have become set and
  316. # empty. (OTOH, cache variables indicate the result of the test even if they
  317. # are empty, so we have to be strict about them.)
  318. #
  319. # Lines that do not look like `foo=bar' are probably latter lines of
  320. # multiline values; trim them.
  321. #
  322. m4_define([AT_CONFIG_CMP],
  323. [for act_file in $1 $2
  324. do
  325. $SED '/^ac_cv_/ b
  326. /^m4_defn([m4_re_word])=./ !d
  327. /^[[^=]]*='\'''\''$/ d
  328. /^a[[cs]]_/ d
  329. /^OLDPWD=/ d
  330. /^PPID=/ d
  331. /^RANDOM=/ d
  332. /^SECONDS=/ d
  333. /'\'\\\$\''=/ d
  334. /^argv=/ d
  335. /^ARGC=/ d
  336. ' $act_file >at_config_vars-$act_file
  337. done
  338. AT_CMP([at_config_vars-$1], [at_config_vars-$2])[]dnl
  339. ])# AT_CONFIG_CMP
  340. # AT_CHECK_DEFINES(CONTENT)
  341. # -------------------------
  342. # Verify that config.h, once stripped, is CONTENT.
  343. # Stripping consists of keeping CPP lines (i.e. containing a hash),
  344. # but those of automatically checked features (STDC_HEADERS etc.)
  345. # and symbols (PACKAGE_...).
  346. # AT_CHECK_HEADER is a better name, but too close from AC_CHECK_HEADER.
  347. m4_define([AT_CHECK_DEFINES],
  348. [AT_CHECK([[sed '/#/!d
  349. /INTTYPES/d
  350. /MEMORY/d
  351. /PACKAGE_/d
  352. /STDC_HEADERS/d
  353. /STDINT/d
  354. /STDLIB/d
  355. /STRING/d
  356. /SYS_STAT/d
  357. /SYS_TYPES/d
  358. /UNISTD/d' config.h]],,
  359. [$1])])
  360. # AT_CHECK_AUTOUPDATE
  361. # -------------------
  362. m4_define([AT_CHECK_AUTOUPDATE],
  363. [AT_CHECK([autoupdate $1], [$2], [$3], [$4])
  364. ])
  365. # _AT_CHECK_AC_MACRO(AC-BODY, PRE-TESTS)
  366. # --------------------------------------
  367. # Create a minimalist configure.ac running the macro named
  368. # NAME-OF-THE-MACRO, check that autoconf runs on that script,
  369. # and that the shell runs correctly the configure.
  370. m4_define([_AT_CHECK_AC_MACRO],
  371. [AT_CONFIGURE_AC([$1])
  372. $2
  373. AT_CHECK_AUTOCONF
  374. AT_CHECK_AUTOHEADER
  375. AT_CHECK_CONFIGURE
  376. AT_CHECK_ENV
  377. ])# _AT_CHECK_AC_MACRO
  378. # AT_CHECK_MACRO(MACRO, [MACRO-USE], [ADDITIONAL-CMDS],
  379. # [AUTOCONF-FLAGS = -W obsolete])
  380. # -----------------------------------------------------
  381. # Create a minimalist configure.ac running the macro named
  382. # NAME-OF-THE-MACRO, check that autoconf runs on that script,
  383. # and that the shell runs correctly the configure.
  384. #
  385. # We run `configure' twice, both times with a cache, and compare
  386. # the environment after each run to detect inconsistencies.
  387. #
  388. # New macros are not expected to depend upon obsolete macros.
  389. m4_define([AT_CHECK_MACRO],
  390. [AT_SETUP([$1])
  391. AT_CONFIGURE_AC([m4_default([$2], [$1])])
  392. AT_CHECK_AUTOCONF([m4_default([$4], [-W obsolete])])
  393. AT_CHECK_AUTOHEADER
  394. for at_run in r1 r2
  395. do
  396. AT_CHECK_CONFIGURE([-C])
  397. cp -f state-env.after state-env.$at_run
  398. cp -f config.h config-h.$at_run
  399. AT_CHECK_ENV
  400. done
  401. AT_CMP([config-h.r1], [config-h.r2])
  402. AT_CONFIG_CMP([state-env.r1], [state-env.r2])
  403. $3
  404. AT_CLEANUP[]dnl
  405. ])# AT_CHECK_MACRO
  406. # AT_CHECK_MACRO_CROSS(MACRO, [MACRO-USE], [ADDITIONAL-CMDS],
  407. # [AUTOCONF-FLAGS = -W obsolete])
  408. # -----------------------------------------------------------
  409. # Like the previous one, but creates two checks: for native
  410. # compile and for cross-compile.
  411. m4_define([AT_CHECK_MACRO_CROSS],
  412. [AT_CHECK_MACRO($@)
  413. AT_CHECK_MACRO([$1 (cross compile)],
  414. [AT_KEYWORDS([cross])
  415. # Exercise the code used when cross-compiling.
  416. cross_compiling=yes
  417. ac_tool_warned=yes
  418. m4_default([$2], [$1])],
  419. [$3], [$4])
  420. ])
  421. # AT_CHECK_AU_MACRO(MACRO)
  422. # ------------------------
  423. # Create a minimalist configure.ac running the macro named
  424. # NAME-OF-THE-MACRO, autoupdate this script, check that autoconf runs
  425. # on that script, and that the shell runs correctly the configure.
  426. #
  427. # Updated configure.ac shall not depend upon obsolete macros, which votes
  428. # in favor of `-W obsolete', but since many of these macros leave a message
  429. # to be removed by the user once her code is adjusted, let's not check.
  430. #
  431. # Remove config.hin to avoid `autoheader: config.hin is unchanged'.
  432. m4_define([AT_CHECK_AU_MACRO],
  433. [AT_SETUP([$1])
  434. AT_KEYWORDS([autoupdate])
  435. AT_CONFIGURE_AC([$1])
  436. AT_CHECK_AUTOCONF
  437. AT_CHECK_AUTOHEADER
  438. AT_CHECK_CONFIGURE
  439. AT_CHECK_ENV
  440. rm config.hin
  441. AT_CHECK_AUTOUPDATE([], 0, [], ignore)
  442. AT_CHECK([grep '^$1$' configure.ac], 1)
  443. AT_CHECK_AUTOCONF
  444. AT_CHECK_AUTOHEADER
  445. AT_CHECK_CONFIGURE
  446. AT_CHECK_ENV
  447. AT_CLEANUP[]dnl
  448. ])# AT_CHECK_AU_MACRO
  449. ## ----------------------- ##
  450. ## Launch the test suite. ##
  451. ## ----------------------- ##
  452. AT_INIT