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.
This commit is contained in:
Brett Cannon 2004-11-07 01:24:12 +00:00
parent 7d28e96a41
commit c601e0fa0b
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -4256,10 +4256,10 @@ then
fi fi
rm -fr conftest* rm -fr conftest*
fi fi
fi
CXX="$ac_save_cxx"
echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5 echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5
echo "${ECHO_T}$ac_cv_cxx_thread" >&6 echo "${ECHO_T}$ac_cv_cxx_thread" >&6
fi
CXX="$ac_save_cxx"
# checks for header files # checks for header files

View File

@ -945,9 +945,9 @@ then
fi fi
rm -fr conftest* rm -fr conftest*
fi fi
AC_MSG_RESULT($ac_cv_cxx_thread)
fi fi
CXX="$ac_save_cxx" CXX="$ac_save_cxx"
AC_MSG_RESULT($ac_cv_cxx_thread)
dnl # check for ANSI or K&R ("traditional") preprocessor dnl # check for ANSI or K&R ("traditional") preprocessor
dnl AC_MSG_CHECKING(for C preprocessor type) dnl AC_MSG_CHECKING(for C preprocessor type)