summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-12 23:04:07 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-12 23:04:07 +0000
commitac374ba98804626480543423451adb7819455790 (patch)
treeab084cba410e6d97c0a104e3aa7ea8f21ea9e78a
parent3f698bf9a563bffa6f96ed798c0afed5c83b9bb9 (diff)
Correcting a mistake I made earlier in interpreting the autoconf
manual. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1655 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rwxr-xr-xlib/make/configure10
-rw-r--r--lib/make/configure.in10
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/make/configure b/lib/make/configure
index d77a77b3..ee53a180 100755
--- a/lib/make/configure
+++ b/lib/make/configure
@@ -658,12 +658,12 @@ test "$host_alias" != "$target_alias" &&
CCTK_CONFIG_STAGE="preferred-compilers"
-if test -r $srcdir/known-architectures/$target_os ; then
-. $srcdir/known-architectures/$target_os
+if test -r $srcdir/known-architectures/$host_os ; then
+. $srcdir/known-architectures/$host_os
else
echo "Warning: "
echo " Cactus has not been previously compiled for this architecture: "
- echo " ($target_os)"
+ echo " ($host_os)"
echo " The currently known architectures can be found in "
echo " $srcdir/known-architectures"
echo " The configuration will try to do its best to work things out."
@@ -1260,8 +1260,8 @@ EOF
CCTK_CONFIG_STAGE="misc"
-if test -r $srcdir/known-architectures/$target_os ; then
-. $srcdir/known-architectures/$target_os
+if test -r $srcdir/known-architectures/$host_os ; then
+. $srcdir/known-architectures/$host_os
fi
# Finish the architecture stuff
diff --git a/lib/make/configure.in b/lib/make/configure.in
index 7fec9fd9..2ee92d20 100644
--- a/lib/make/configure.in
+++ b/lib/make/configure.in
@@ -26,12 +26,12 @@ AC_CANONICAL_SYSTEM
CCTK_CONFIG_STAGE="preferred-compilers"
-if test -r $srcdir/known-architectures/$target_os ; then
-. $srcdir/known-architectures/$target_os
+if test -r $srcdir/known-architectures/$host_os ; then
+. $srcdir/known-architectures/$host_os
else
echo "Warning: "
echo " Cactus has not been previously compiled for this architecture: "
- echo " ($target_os)"
+ echo " ($host_os)"
echo " The currently known architectures can be found in "
echo " $srcdir/known-architectures"
echo " The configuration will try to do its best to work things out."
@@ -145,8 +145,8 @@ EOF
CCTK_CONFIG_STAGE="misc"
-if test -r $srcdir/known-architectures/$target_os ; then
-. $srcdir/known-architectures/$target_os
+if test -r $srcdir/known-architectures/$host_os ; then
+. $srcdir/known-architectures/$host_os
fi
# Finish the architecture stuff