1 |
# -*- Autotest -*- |
# -*- Autotest -*- |
2 |
|
|
3 |
AT_BANNER([[Testing config.status. |
# Copyright 2000, 2001, 2002 (C) Free Software Foundation, Inc. |
|
|
|
|
## ---------------------------------------------------------------- ## |
|
|
## This section of torture tests is trying to make Autoconf produce ## |
|
|
## failing `configure' scripts, which must never happen. If one of ## |
|
|
## these tests ever fails, it is extremely important that you ## |
|
|
## report the failure to bug-autoconf@gnu.org. ## |
|
|
## ---------------------------------------------------------------- ##]]) |
|
|
|
|
|
# Copyright 2000, 2001 Free Software Foundation, Inc. |
|
4 |
# |
# |
5 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
6 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
18 |
# 02111-1307, USA. |
# 02111-1307, USA. |
19 |
|
|
20 |
|
|
21 |
|
AT_BANNER([[Testing config.status.]]) |
22 |
|
|
23 |
|
|
24 |
|
## ---------------------------------------- ## |
25 |
|
## AC_CONFIG_COMMANDS with empty commands. ## |
26 |
|
## ---------------------------------------- ## |
27 |
|
|
28 |
|
AT_CHECK_MACRO([AC_CONFIG_COMMANDS with empty commands], |
29 |
|
[[AC_CONFIG_COMMANDS([foo], [], [:]) |
30 |
|
]]) |
31 |
|
|
32 |
|
|
33 |
## ------------ ## |
## ------------ ## |
34 |
## AC_ARG_VAR. ## |
## AC_ARG_VAR. ## |
35 |
## ------------ ## |
## ------------ ## |
182 |
# Create a link |
# Create a link |
183 |
AT_CHECK_CONFIG_CREATION(link) |
AT_CHECK_CONFIG_CREATION(link) |
184 |
|
|
185 |
AT_CLEANUP(header file link commandvar-header var-file var-link var-command |
AT_CLEANUP |
|
input) |
|
186 |
|
|
187 |
|
|
188 |
|
|
248 |
["'$ " ' $ "'$ |
["'$ " ' $ "'$ |
249 |
]) |
]) |
250 |
|
|
251 |
AT_CLEANUP(configure config.status config.log config.cache) |
AT_CLEANUP |
252 |
|
|
253 |
|
|
254 |
|
|
455 |
[AT_BIG_VALUE |
[AT_BIG_VALUE |
456 |
])]) |
])]) |
457 |
|
|
458 |
AT_CLEANUP(dummy) |
AT_CLEANUP |
459 |
|
|
460 |
|
|
461 |
## -------- ## |
## -------- ## |
495 |
at_here=`pwd` |
at_here=`pwd` |
496 |
AT_CHECK([cd at-dir && $at_here/configure], [], [ignore]) |
AT_CHECK([cd at-dir && $at_here/configure], [], [ignore]) |
497 |
|
|
498 |
AT_CLEANUP(at-dir foo.in foo) |
AT_CLEANUP |
499 |
|
|
500 |
|
|
501 |
## ----------------- ## |
## ----------------- ## |