635 |
]) |
]) |
636 |
|
|
637 |
# Make sure precious variables and command line options are properly |
# Make sure precious variables and command line options are properly |
638 |
# passed, even when there are duplicates. |
# passed, even when there are duplicates. Run another directory so |
639 |
AT_CHECK([cd builddir && ../configure --prefix /bad --prefix /good INNER=bad INNER=good], 0, [ignore]) |
# that if the user has set config.site to have a config.cache, then |
640 |
AT_CHECK([cat builddir/inner/innermost/config], 0, |
# the two runs don't have colliding caches. |
641 |
|
AS_MKDIR_P([builddir2]) |
642 |
|
AT_CHECK([cd builddir2 && ../configure --prefix /bad --prefix /good INNER=bad INNER=good], 0, [ignore]) |
643 |
|
AT_CHECK([cat builddir2/inner/innermost/config], 0, |
644 |
[INNER=good |
[INNER=good |
645 |
srcdir=../../../inner/innermost |
srcdir=../../../inner/innermost |
646 |
top_srcdir=../../../inner |
top_srcdir=../../../inner |