automake 1.12+ build fix

Fix build issues arising with recent automake versions as documented
here:
http://lists.gnu.org/archive/html/bug-automake/2012-05/msg00009.html

Also make autoconf stop complaining about non-POSIX variable names
as described here:
http://gnu-automake.7480.n7.nabble.com/Warn-non-POSIX-variable-name-td4931.html
Fixed script location and arguments
udis86: don't allow recursive inlining.

Older GCC doesn't like to optimize inlining when the function is
recursively called:

libudis86/decode.c: In function 'ud_decode':
libudis86/decode.c:1084: sorry, unimplemented: inlining failed in call to 'decode_opcode': recursive inlining
libudis86/decode.c:1095: sorry, unimplemented: called from here
make[1]: *** [libudis86/decode.o] Error 1
udcli: remove unused variable.

The mode variable isn't actually used - the mode setting is handled by
ud_set_mode() instead.  This fixes:

udcli.c:100:7: warning: variable ‘mode’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
libudis86: fix printf format specifier for 64 bit.

On 64-bit hosts, int64_t might not be a long long.

This fixes:

syn.c: In function 'ud_syn_print_addr':
syn.c:134:9: warning: format '%lld' expects argument of type 'long long
int', but argument 4 has type 'int64_t' [-Wformat]

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
udcli: remove modification of const string.

ud_insn_hex() returns a const char * but we modify the string for
printing.  Rather than modifying (which is used to truncate to 16
chars), use a precision specifier instead.

This fixes:

udcli.c: In function ‘main’:
udcli.c:216:8: warning: assignment discards ‘const’ qualifier from
pointer target type [enabled by default]

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
Avoid having memrefs like eax+0x0
Merge pull request #7 from bjoernd/master

Fix for Issue #6
Merge pull request #8 from DoomHammer/master

Updated VS2010 build procedure
Merge pull request #13 from jamieiles/jamie-fixes

Minor compilation fixes
avx experiment
Use standard notation for sse opcode extension (/sse=66,f3,f2)
Fix string prefix decoding

Issue #10 points out a flaw in decoding the string prefixes in
udis86. Although rep/repe use the same encoding, the precise
prefix depends on the isntruction.

This change adds a new prefix notation to optable.xml that
indicates if an instruction takes a rep or repz (rep with
zero-flag).

It is undefined in the isa what the behavior of this 0xf3
prefix would on instructions that do not support it. For now,
udis86 simply decodes it as rep.
fix two preprocessor ifdefs for us with c++ builder. add in an entry to gitignore for c++ builders history folder.
Fix Issue #9: missing segment prefix

Some definitions of instructions using implicit mem addresss
were missing segment prefixes (cmps, ins, outs, etc.), in the
optable. This change adds the misssing prefix flags.
Merge pull request #14 from radare/patch-1

Avoid having memrefs like eax+0x0
Update tests to avoid 0 displacements
use const buffers in extern input functions
Remove unused fields
Minor documentation fixes