summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-06-08 13:04:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-06-08 13:04:58 (GMT)
commit9ea2ab76f4646c44e090b45ba151a94d38b085f1 (patch)
tree673c560ae70aa997957584c947858f1d7af14255 /unix/configure.in
parentc94c7e03ecc4666f31df363c2f728acd5007a2b5 (diff)
downloadtcl-9ea2ab76f4646c44e090b45ba151a94d38b085f1.zip
tcl-9ea2ab76f4646c44e090b45ba151a94d38b085f1.tar.gz
tcl-9ea2ab76f4646c44e090b45ba151a94d38b085f1.tar.bz2
Update autogoo for gettimeofday(). Thanks Joe English.
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 63d7170..55c305e 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -394,17 +394,12 @@ fi
# The code below deals with several issues related to gettimeofday:
# 1. Some systems don't provide a gettimeofday function at all
# (set NO_GETTOD if this is the case).
-# 2. SGI systems don't use the BSD form of the gettimeofday function,
-# but they have a BSDgettimeofday function that can be used instead.
-# 3. See if gettimeofday is declared in the <sys/time.h> header file.
+# 2. See if gettimeofday is declared in the <sys/time.h> header file.
# if not, set the GETTOD_NOT_DECLARED flag so that tclPort.h can
# declare it.
#--------------------------------------------------------------------
-AC_CHECK_FUNC(BSDgettimeofday,
- [AC_DEFINE(HAVE_BSDGETTIMEOFDAY)], [
- AC_CHECK_FUNC(gettimeofday, , [AC_DEFINE(NO_GETTOD)])
-])
+AC_CHECK_FUNC(gettimeofday, , [AC_DEFINE(NO_GETTOD)])
AC_CACHE_CHECK([for gettimeofday declaration], tcl_cv_grep_gettimeofday, [
AC_EGREP_HEADER(gettimeofday, sys/time.h,
tcl_cv_grep_gettimeofday=present, tcl_cv_grep_gettimeofday=missing)])