Changeset 1215
- Timestamp:
- 14/12/2006 23:57:57 (5 years ago)
- File:
-
- 1 edited
-
box/trunk/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/configure.ac
r975 r1215 37 37 ### Checks for libraries. 38 38 39 if test "$target_os" != "mingw32" -a "$target_os" != "winnt"; then 39 case $target_os in 40 mingw32*) ;; 41 winnt) ;; 42 *) 40 43 AC_SEARCH_LIBS([nanosleep], [rt], [ac_have_nanosleep=yes], 41 44 [AC_MSG_ERROR([[cannot find a short sleep function (nanosleep)]])]) 42 fi 45 ;; 46 esac 47 43 48 AC_CHECK_LIB([z], [zlibVersion],, [AC_MSG_ERROR([[cannot find zlib]])]) 44 49 VL_LIB_READLINE([have_libreadline=yes], [have_libreadline=no]) … … 127 132 fi 128 133 129 if test "$target_os" != "mingw32"; then 134 case $target_os in 135 mingw32*) ;; 136 winnt*) ;; 137 *) 130 138 AX_RANDOM_DEVICE 131 139 AX_CHECK_MOUNT_POINT(,[ 132 140 AC_MSG_ERROR([[cannot work out how to discover mount points on your platform]]) 133 141 ]) 134 fi 142 ;; 143 esac 135 144 136 145 AX_CHECK_MALLOC_WORKAROUND … … 171 180 AC_CHECK_DECLS([O_EXLOCK],,, [[#include <fcntl.h>]]) 172 181 AC_CHECK_DECLS([F_SETLK],,, [[#include <fcntl.h>]]) 182 183 case $target_os in 184 mingw32*) ;; 185 winnt*) ;; 186 *) 173 187 if test "x$ac_cv_func_flock" != "xyes" && \ 174 188 test "x$ac_cv_have_decl_O_EXLOCK" != "xyes" && \ 175 test "x$ac_cv_have_decl_F_SETLK" != "xyes" && \ 176 test "$target_os" != "mingw32" -a "$target_os" != "winnt" 189 test "x$ac_cv_have_decl_F_SETLK" != "xyes" 177 190 then 178 191 AC_MSG_ERROR([[cannot work out how to do file locking on your platform]]) 179 192 fi 193 ;; 194 esac 180 195 181 196 ## Get tmpdir
Note: See TracChangeset
for help on using the changeset viewer.
