comparison configure.in @ 20027:11f33d684e3e

(gettimeofday, one arg or two): Clarify messages by avoiding double negative.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Oct 1997 04:33:26 +0000
parents a09889110d34
children ca8c508976da
comparison
equal deleted inserted replaced
20026:027030dd12c4 20027:11f33d684e3e
1656 if test $emacs_cv_localtime_cache = yes; then 1656 if test $emacs_cv_localtime_cache = yes; then
1657 AC_DEFINE(LOCALTIME_CACHE) 1657 AC_DEFINE(LOCALTIME_CACHE)
1658 fi 1658 fi
1659 1659
1660 if test "x$HAVE_TIMEVAL" = xyes; then 1660 if test "x$HAVE_TIMEVAL" = xyes; then
1661 AC_MSG_CHECKING(whether gettimeofday can't accept two arguments) 1661 AC_MSG_CHECKING(whether gettimeofday can accept two arguments)
1662 AC_TRY_LINK([ 1662 AC_TRY_LINK([
1663 #ifdef TIME_WITH_SYS_TIME 1663 #ifdef TIME_WITH_SYS_TIME
1664 #include <sys/time.h> 1664 #include <sys/time.h>
1665 #include <time.h> 1665 #include <time.h>
1666 #else 1666 #else
1674 [ 1674 [
1675 struct timeval time; 1675 struct timeval time;
1676 struct timezone dummy; 1676 struct timezone dummy;
1677 gettimeofday (&time, &dummy); 1677 gettimeofday (&time, &dummy);
1678 ], 1678 ],
1679 [AC_MSG_RESULT(no)], 1679 [AC_MSG_RESULT(yes)],
1680 [AC_MSG_RESULT(yes) 1680 [AC_MSG_RESULT(no)
1681 AC_DEFINE(GETTIMEOFDAY_ONE_ARGUMENT)]) 1681 AC_DEFINE(GETTIMEOFDAY_ONE_ARGUMENT)])
1682 fi 1682 fi
1683 1683
1684 ok_so_far=yes 1684 ok_so_far=yes
1685 AC_CHECK_FUNC(socket, , ok_so_far=no) 1685 AC_CHECK_FUNC(socket, , ok_so_far=no)