Changeset 745 for trunk/server/lib/replace/system/config.m4
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/lib/replace/system/config.m4
r620 r745 7 7 AC_CHECK_HEADERS(sys/select.h) 8 8 9 # poll 10 AC_CHECK_HEADERS(poll.h) 11 AC_CHECK_FUNCS(poll,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/poll.o"]) 12 9 13 # time 10 14 AC_CHECK_HEADERS(sys/time.h utime.h) 11 15 AC_HEADER_TIME 12 16 AC_CHECK_FUNCS(utime utimes) 17 18 AC_CACHE_CHECK([if gettimeofday takes TZ argument],libreplace_cv_HAVE_GETTIMEOFDAY_TZ,[ 19 AC_TRY_RUN([ 20 #include <sys/time.h> 21 #include <unistd.h> 22 main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}], 23 libreplace_cv_HAVE_GETTIMEOFDAY_TZ=yes,libreplace_cv_HAVE_GETTIMEOFDAY_TZ=no,libreplace_cv_HAVE_GETTIMEOFDAY_TZ=yes)]) 24 if test x"$libreplace_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then 25 AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is available]) 26 fi 13 27 14 28 # wait
Note:
See TracChangeset
for help on using the changeset viewer.