|
@@ -188,8 +188,7 @@ scrypt="no"
|
|
|
if test "$found_opencl" = 1; then
|
|
if test "$found_opencl" = 1; then
|
|
|
if test "x$adl" != xno; then
|
|
if test "x$adl" != xno; then
|
|
|
ADL_CPPFLAGS=
|
|
ADL_CPPFLAGS=
|
|
|
- #AC_CHECK_FILE([$srcdir/ADL_SDK/adl_sdk.h], [have_adl=true; ADL_CPPFLAGS=-I$srcdir], have_adl=false,)
|
|
|
|
|
- have_adl=true
|
|
|
|
|
|
|
+ AC_CHECK_FILE([$srcdir/ADL_SDK/adl_sdk.h], [have_adl=true; ADL_CPPFLAGS=-I$srcdir], have_adl=false,)
|
|
|
if test x$have_adl+$have_cgminer_sdk = xfalse+true; then
|
|
if test x$have_adl+$have_cgminer_sdk = xfalse+true; then
|
|
|
AC_CHECK_FILE([$CGMINER_SDK/include/ADL_SDK/adl_sdk.h], [have_adl=true; ADL_CPPFLAGS=-I$CGMINER_SDK/include], have_adl=false,)
|
|
AC_CHECK_FILE([$CGMINER_SDK/include/ADL_SDK/adl_sdk.h], [have_adl=true; ADL_CPPFLAGS=-I$CGMINER_SDK/include], have_adl=false,)
|
|
|
fi
|
|
fi
|