* WITH_BINUTILS_DISASSEMBLER: Added.
authortwisti <none@none>
Mon, 9 Jan 2006 16:26:33 +0000 (16:26 +0000)
committertwisti <none@none>
Mon, 9 Jan 2006 16:26:33 +0000 (16:26 +0000)
configure.in

index d8eacb3f799f4a5efd93f48cf6d7d2d09871f078..bd7bae4174432ef8a2c1ad2c1304b0e41497d8bf 100644 (file)
@@ -289,12 +289,18 @@ if test x"${NDEBUG}" = "xno"; then
             AC_CHECK_HEADER([dis-asm.h],, [AC_MSG_ERROR(cannot find dis-asm.h)])
             AC_CHECK_LIB(bfd, bfd_get_arch,, [AC_MSG_ERROR(cannot find libbfd (from bintuils))])
             AC_CHECK_LIB(opcodes, init_disassemble_info,, [AC_MSG_ERROR(cannot find libopcodes (from bintuils))])
+            AC_DEFINE([WITH_BINUTILS_DISASSEMBLER], 1, [use binutils disassembler])
+            AM_CONDITIONAL([WITH_BINUTILS_DISASSEMBLER], [true])
+            ;;
+        * )
+            AM_CONDITIONAL([WITH_BINUTILS_DISASSEMBLER], [false])
             ;;
     esac
 
 else
     AC_MSG_RESULT(no)
 fi
+AM_CONDITIONAL([NDEBUG], test x"${NDEBUG}" = "xno")
 
 
 dnl check for statistics