diff options
| author | dgp@users.sourceforge.net <dgp> | 2012-06-08 13:25:24 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2012-06-08 13:25:24 (GMT) |
| commit | 47fc57545b3d1d2afd584e1b66789f5682a59e5c (patch) | |
| tree | 423de990eac2d2fba9c642cee683bfcbc706a58a /unix/configure.in | |
| parent | 386f0466d2384dcda7915d651d580048937f08ee (diff) | |
| parent | b80a4b1460e0213e1fc22364fc46f2eb2efe64c8 (diff) | |
| download | tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.zip tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.tar.gz tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.tar.bz2 | |
3530533 Centralize #include <pthread.h> in the tclUnixPort.h header so that
old unix systems that need inclusion in all compilation units are supported.
Update autogoo for gettimeofday(). Thanks Joe English.
Diffstat (limited to 'unix/configure.in')
| -rw-r--r-- | unix/configure.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/unix/configure.in b/unix/configure.in index 4fc93dd..726d4a8 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -471,16 +471,13 @@ 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, 1, [Do we have BSDgettimeofday()?])], [ - AC_CHECK_FUNC(gettimeofday, , [AC_DEFINE(NO_GETTOD, 1, [Do we have gettimeofday()?])]) +AC_CHECK_FUNC(gettimeofday,[],[ + AC_DEFINE(NO_GETTOD, 1, [Do we have gettimeofday()?]) ]) AC_CACHE_CHECK([for gettimeofday declaration], tcl_cv_grep_gettimeofday, [ AC_EGREP_HEADER(gettimeofday, sys/time.h, |
