|
|
@ -29,22 +29,24 @@ have_win32=false |
|
|
|
PTHREAD_FLAGS="-pthread" |
|
|
|
PTHREAD_FLAGS="-pthread" |
|
|
|
OPENCL_FLAGS="-lOpenCL" |
|
|
|
OPENCL_FLAGS="-lOpenCL" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $target in |
|
|
|
|
|
|
|
x86_64-*) |
|
|
|
|
|
|
|
have_x86_64=true |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
*) |
|
|
|
|
|
|
|
have_x86_64=false |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
case $target in |
|
|
|
case $target in |
|
|
|
*-*-mingw*) |
|
|
|
*-*-mingw*) |
|
|
|
have_x86_64=false |
|
|
|
have_x86_64=false |
|
|
|
have_win32=true |
|
|
|
have_win32=true |
|
|
|
PTHREAD_FLAGS="" |
|
|
|
PTHREAD_FLAGS="" |
|
|
|
;; |
|
|
|
;; |
|
|
|
x86_64-*) |
|
|
|
|
|
|
|
have_x86_64=true |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
*-*-darwin*) |
|
|
|
*-*-darwin*) |
|
|
|
have_x86_64=false |
|
|
|
|
|
|
|
OPENCL_FLAGS="-framework OpenCL" |
|
|
|
OPENCL_FLAGS="-framework OpenCL" |
|
|
|
;; |
|
|
|
;; |
|
|
|
*) |
|
|
|
|
|
|
|
have_x86_64=false |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
esac |
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
# Check for OpenCL (the long way needed on mingw32 due to calling conventions) |
|
|
|
# Check for OpenCL (the long way needed on mingw32 due to calling conventions) |
|
|
|