Browse Source

i2c-tools are not required by Titan

Vitalii Demianets 11 years ago
parent
commit
b3162f4441
1 changed files with 0 additions and 14 deletions
  1. 0 14
      configure.ac

+ 0 - 14
configure.ac

@@ -799,20 +799,6 @@ if test "x$titan" != xno && test "x$titan" != xauto; then
 	if test "x$scrypt" = "xno"; then
 		AC_MSG_ERROR([You explicitly enabled KnC Titan, but did not enable scrypt])
 	fi
-	AC_CHECK_HEADERS([linux/i2c-dev-user.h])
-	AC_CHECK_DECL([i2c_smbus_read_word_data],[true],[
-		AC_MSG_ERROR([linux/i2c-dev.h header from i2c-tools/libi2c-dev (NOT linux headers) is required for titan driver])
-	],[
-		#include <stddef.h>
-		#ifdef HAVE_LINUX_I2C_DEV_USER_H
-		#include <linux/i2c-dev-user.h>
-		#else
-		#ifdef NEED_LINUX_I2C_H
-		#include <linux/i2c.h>
-		#endif
-		#include <linux/i2c-dev.h>
-		#endif
-	])
 	AC_DEFINE([USE_TITAN], [1], [Defined to 1 if KnC Titan support is wanted])
 	AC_DEFINE_UNQUOTED([CONTROLLER_BOARD_$titan_controller],[1])
 	AH_TEMPLATE([CONTROLLER_BOARD_BACKPLANE])