diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-10-25 19:41:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-10-25 19:41:29 (GMT) |
commit | 383da625729465f18355672ebc3f5e8ccb6fe788 (patch) | |
tree | 2c4ddb7402d92c312c13f1deb16e1ced723455f6 /unix/tcl.m4 | |
parent | 3fc99c04f6169eb97c2581310c254aefc9e14d6a (diff) | |
parent | 500fbe92e69267dfaa7f38e6459362bf268d0a1b (diff) | |
download | tcl-383da625729465f18355672ebc3f5e8ccb6fe788.zip tcl-383da625729465f18355672ebc3f5e8ccb6fe788.tar.gz tcl-383da625729465f18355672ebc3f5e8ccb6fe788.tar.bz2 |
Remove use of HAVE_USLEEP. It isn't use anywhere any more
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 83c3fb1..c9fd9b5 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -774,48 +774,6 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [ ]) #------------------------------------------------------------------------ -# SC_ENABLE_USLEEP -- -# -# Allows use of usleep function. -# This is only relevant for Unix. -# -# Arguments: -# none -# -# Results: -# -# Adds the following arguments to configure: -# --enable-usleep=yes|no (default is yes) -# -# Defines the following vars: -# HAVE_USLEEP Triggers use of usleep if defined. -#------------------------------------------------------------------------ - -AC_DEFUN([SC_ENABLE_USLEEP], [ - AC_ARG_ENABLE(usleep, - AC_HELP_STRING([--enable-usleep], - [use usleep if possible to sleep, otherwise use Tcl_Sleep (default: on)]), - [usleep_ok=$enableval], [usleep_ok=yes]) - - HAVE_USLEEP=0 - if test "$usleep_ok" = "yes"; then - AC_CHECK_HEADER(unistd.h,[usleep_ok=yes],[usleep_ok=no]) - fi - AC_MSG_CHECKING([whether to use usleep]) - if test "$usleep_ok" = "yes"; then - AC_CACHE_VAL(tcl_cv_usleep_h, [ - AC_TRY_COMPILE([#include <unistd.h>], [usleep(0);], - [tcl_cv_usleep_h=yes],[tcl_cv_usleep_h=no])]) - AC_MSG_RESULT([$tcl_cv_usleep_h]) - if test $tcl_cv_usleep_h = yes; then - AC_DEFINE(HAVE_USLEEP, 1, [Do we have usleep()?]) - fi - else - AC_MSG_RESULT([$usleep_ok]) - fi -]) - -#------------------------------------------------------------------------ # SC_ENABLE_LANGINFO -- # # Allows use of modern nl_langinfo check for better l10n. |