Ignore:
Timestamp:
Jul 1, 2011, 4:02:23 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/configure.in

    r587 r594  
    16321632                        LDSHFLAGS="-shared"
    16331633                        SONAMEFLAG="-Wl,-soname,"
    1634                         PICFLAG="-fPIC"
     1634                        if test "${GCC}" = "yes"; then
     1635                                PICFLAG="-fPIC"
     1636                        fi
    16351637                        AC_DEFINE(STAT_ST_BLOCKSIZE,512)
    16361638                        AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
     
    20392041    AC_DEFINE(SIZEOF_TIME_T,8,[The size of the 'time_t' type])
    20402042fi
     2043
     2044AC_CACHE_CHECK([for TIME_T_MAX],samba_cv_TIME_T_MAX,[
     2045AC_TRY_RUN([#include <time.h>
     2046main() {
     2047        struct tm *tm;
     2048        if (sizeof(time_t) == 8) {
     2049                time_t max_time = 0x7fffffffffffffffll;
     2050                tm = gmtime(&max_time);
     2051                /* This should fail with 32-bit tm_year. */
     2052                if (tm == NULL) {
     2053                        /* Max time_t that works with 32-bit int tm_year in struct tm. */
     2054                        max_time = 67768036191676799ll;
     2055                        tm = gmtime(&max_time);
     2056                        if (tm) {
     2057                                exit(0);
     2058                        }
     2059                }
     2060        }
     2061        exit(1);
     2062}],
     2063samba_cv_TIME_T_MAX=yes,samba_cv_TIME_T_MAX=no,samba_cv_TIME_T_MAX=cross)])
     2064if test x"$samba_cv_TIME_T_MAX" = x"yes"; then
     2065    AC_DEFINE(TIME_T_MAX,67768036191676799ll,[The maximum value of the 'time_t' type])
     2066fi
     2067
    20412068
    20422069AC_CACHE_CHECK([for 64 bit off_t],samba_cv_SIZEOF_OFF_T,[
Note: See TracChangeset for help on using the changeset viewer.