Commit f3d000f4 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix MIPSpro and time_t signedness detection

3d6e2830 silenced the warnings as it was supposed to, but
introduced two bugs. Fix them.
parent 3d6e2830
o Minor bugfixes:
- Fix warnings that newer versions of autoconf produced during
./ From what I can tell these were harmless in our case,
but they were extremely verbose. Fixes bug 2020.
...@@ -199,9 +199,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [ ...@@ -199,9 +199,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [
#error #error
return x(y); return x(y);
#endif #endif
]), ])],
bmipspro=false; AC_MSG_RESULT(no), bmipspro=false; AC_MSG_RESULT(no),
bmipspro=true; AC_MSG_RESULT(yes)]) bmipspro=true; AC_MSG_RESULT(yes))
if test "$bmipspro" = true; then if test "$bmipspro" = true; then
...@@ -575,8 +575,8 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([ ...@@ -575,8 +575,8 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([
#ifdef HAVE_TIME_H #ifdef HAVE_TIME_H
#include <time.h> #include <time.h>
#endif #endif
int main(int c, char**v) { if (((time_t)-1)<0) return 1; else return 0; }]), int main(int c, char**v) { if (((time_t)-1)<0) return 1; else return 0; }])],
tor_cv_time_t_signed=no, tor_cv_time_t_signed=yes, tor_cv_time_t_signed=cross]) tor_cv_time_t_signed=no, tor_cv_time_t_signed=yes, tor_cv_time_t_signed=cross)
]) ])
if test "$tor_cv_time_t_signed" = cross; then if test "$tor_cv_time_t_signed" = cross; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment