Stop solaris from warning about localtime_r and friends. AFAICT, no other platforms want this.

svn:r4827
This commit is contained in:
Nick Mathewson 2005-08-24 02:11:33 +00:00
parent b72ab23ded
commit 5f2eea29f7
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ if test $enable_threads = "yes"; then
AC_DEFINE(ENABLE_THREADS, 1, [Defined if we will try to use multithreading])
fi
case $host in
*-*-solaris* )
AC_DEFINE(_REENTRANT, 1, [Define on some platforms to activate x_r() functions in time.h])
;;
esac
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_RANLIB