Browse Source

Revert wrong patch.

Con Kolivas 12 years ago
parent
commit
2b8cbf61ca
1 changed files with 1 additions and 2 deletions
  1. 1 2
      configure.ac

+ 1 - 2
configure.ac

@@ -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