Changeset 975


Ignore:
Timestamp:
12/10/2006 20:40:20 (5 years ago)
Author:
chris
Message:
  • Show the required versions of Berkeley DB when configure fails to find them
  • Check for sys/uio.h
  • Check for O_BINARY
  • Clean up code for AX_CHECK_MOUNT_POINT
  • Display whether regular expressions are enabled at the end
File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r721 r975  
    4545 
    4646## Check for Berkely DB. Restrict to certain versions 
    47 AX_PATH_BDB(, [ 
     47AX_PATH_BDB([1.x or 4.1], [ 
    4848  LIBS="$BDB_LIBS $LIBS" 
    4949  LDFLAGS="$BDB_LDFLAGS $LDFLAGS" 
     
    9090AC_CHECK_HEADERS([netinet/in.h]) 
    9191AC_CHECK_HEADERS([sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h]) 
    92 AC_CHECK_HEADERS([sys/xattr.h]) 
     92AC_CHECK_HEADERS([sys/uio.h sys/xattr.h]) 
    9393 
    9494if test "$ac_cv_header_regex_h" = "yes"; then 
     
    117117AC_CHECK_DECLS([INFTIM],,, [[#include <poll.h>]]) 
    118118AC_CHECK_DECLS([SO_PEERCRED],,, [[#include <sys/socket.h>]]) 
     119AC_CHECK_DECLS([O_BINARY],,,) 
    119120AC_HEADER_TIME 
    120121AC_STRUCT_TM 
     
    125126  AX_BSWAP64 
    126127fi 
     128 
    127129if test "$target_os" != "mingw32"; then 
    128130  AX_RANDOM_DEVICE 
    129 fi 
    130 AX_CHECK_MOUNT_POINT(,[ 
    131   if test "$target_os" != "mingw32" -a "$target_os" != "winnt"; then 
     131  AX_CHECK_MOUNT_POINT(,[ 
    132132    AC_MSG_ERROR([[cannot work out how to discover mount points on your platform]]) 
    133   fi 
    134133  ]) 
     134fi 
     135 
    135136AX_CHECK_MALLOC_WORKAROUND 
    136137 
     
    239240to the documentation for more information on each feature. 
    240241 
     242Regular expressions: $ac_cv_header_regex_h 
    241243Large files:         $have_large_file_support 
    242244Berkeley DB:         $ax_path_bdb_ok 
Note: See TracChangeset for help on using the changeset viewer.