/[hydra]/hydra/configure.in
ViewVC logotype

Diff of /hydra/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by nmav, Wed Jan 22 07:51:49 2003 UTC revision 1.36 by nmav, Sun Jan 26 11:25:39 2003 UTC
# Line 68  AC_CHECK_TYPE( off_t, Line 68  AC_CHECK_TYPE( off_t,
68    AC_DEFINE( HAVE_OFF_T, 1, [have off_t type]),,    AC_DEFINE( HAVE_OFF_T, 1, [have off_t type]),,
69  )  )
70    
71  use_long_offsets=yes  AC_SYS_LARGEFILE
 AC_MSG_CHECKING([whether to enable long offsets usage])  
 AC_ARG_ENABLE(long-offsets,  
  [  --disable-long-offsets  disable the use of long (64bit) offsets in 32 bit systems],  
  [  
    if test "$enableval" = "no" ; then  
      use_long_offsets=no  
    else  
      use_long_offsets=yes  
    fi  
  ]  
 )  
   
 AC_MSG_RESULT($use_long_offsets)  
   
 if test $use_long_offsets = yes; then  
   
  dnl GNU Libc needs this.  
  case $host_os in  
   *linux*)  
      CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"  
   ;;  
  *)  ;;  
  esac  
  AC_CHECK_TYPE( off64_t,  
    AC_DEFINE( HAVE_OFF64_T, 1, [have off64_t type]),,  
  )  
   
  AC_CHECK_FUNCS(stat64 atoll,,)  
  AC_CHECK_FUNCS(open64 read64 write64 lseek64,,)  
  AC_DEFINE(USE_LONG_OFFSETS,1, [whether to enable long offset support])  
   
 fi  
72    
73  dnl Checks for library functions.  dnl Checks for library functions.
74  AC_FUNC_SETVBUF_REVERSED  AC_FUNC_SETVBUF_REVERSED

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26