summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-11-07 01:24:12 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-11-07 01:24:12 (GMT)
commitc601e0fa0b97b796e8d2029208fbbb689a45d0ca (patch)
treedc9a8e5fbbe47c2cf4a957aed430344a6f7cb97b
parent7d28e96a41307358e2a962c73a072479421e6550 (diff)
downloadcpython-c601e0fa0b97b796e8d2029208fbbb689a45d0ca.zip
cpython-c601e0fa0b97b796e8d2029208fbbb689a45d0ca.tar.gz
cpython-c601e0fa0b97b796e8d2029208fbbb689a45d0ca.tar.bz2
Move the AC_MSG_RESULT function call for checking for pthread options up into
the 'if' statement that performed the test. Not all platforms run the test and on those tests configure outputted a rogue 'no' line.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index a9ce402..82af2e6 100755
--- a/configure
+++ b/configure
@@ -4256,10 +4256,10 @@ then
fi
rm -fr conftest*
fi
-fi
-CXX="$ac_save_cxx"
echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5
echo "${ECHO_T}$ac_cv_cxx_thread" >&6
+fi
+CXX="$ac_save_cxx"
# checks for header files
diff --git a/configure.in b/configure.in
index d563640..370fdf5 100644
--- a/configure.in
+++ b/configure.in
@@ -945,9 +945,9 @@ then
fi
rm -fr conftest*
fi
+AC_MSG_RESULT($ac_cv_cxx_thread)
fi
CXX="$ac_save_cxx"
-AC_MSG_RESULT($ac_cv_cxx_thread)
dnl # check for ANSI or K&R ("traditional") preprocessor
dnl AC_MSG_CHECKING(for C preprocessor type)