Changeset 288 for box/trunk/configure.ac
- Timestamp:
- 28/12/2005 11:38:04 (6 years ago)
- File:
-
- 1 edited
-
box/trunk/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/configure.ac
r286 r288 33 33 if test "$target_os" != "mingw32" -a "$target_os" != "winnt"; then 34 34 AC_SEARCH_LIBS([nanosleep], [rt], [ac_have_nanosleep=yes], 35 [AC_MSG_ERROR([[Cannot find a short sleep function (nanosleep)]])]) 36 fi 37 AC_CHECK_LIB([z], [zlibVersion],, [AC_MSG_ERROR([[Cannot find zlib]])]) 38 AX_CHECK_BDB_V1 35 [AC_MSG_ERROR([[cannot find a short sleep function (nanosleep)]])]) 36 fi 37 AC_CHECK_LIB([z], [zlibVersion],, [AC_MSG_ERROR([[cannot find zlib]])]) 39 38 VL_LIB_READLINE 40 39 have_libreadline=no 41 40 test "x$vl_cv_lib_readline" != "xno" && have_libreadline=yes 42 41 42 ## Check for Berkely DB. Restrict to certain versions 43 AX_PATH_BDB(, [ 44 LIBS="$BDB_LIBS $LIBS" 45 LDFLAGS="$BDB_LDFLAGS $LDFLAGS" 46 CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS" 47 48 AX_COMPARE_VERSION([$BDB_VERSION],[ge],[4.1],, 49 [AX_COMPARE_VERSION([$BDB_VERSION],[lt],[2],, 50 [AC_MSG_ERROR([[only Berkely DB versions 1.x or at least 4.1 are currently supported]])] 51 )] 52 ) 53 AX_SPLIT_VERSION([BDB_VERSION], [$BDB_VERSION]) 54 ]) 43 55 44 56 ## Check for Open SSL, use old versions only if explicitly requested … … 179 191 180 192 Large files: $have_large_file_support 181 Berkeley DB: $a c_have_bdb193 Berkeley DB: $ax_path_bdb_ok 182 194 Readline: $have_libreadline 183 195 Extended attributes: $ac_cv_header_sys_xattr_h … … 205 217 ;; 206 218 esac 207 208 if test "x$ac_have_bdb" != "xyes"; then209 echo210 AC_MSG_WARN([[db is not installed -- will run in reduced efficiency mode without it]])211 fi
Note: See TracChangeset
for help on using the changeset viewer.
