1 --- satyr-0.5/configure.ac.orig 2013-07-25 15:58:49.666496568 +0200
2 +++ satyr-0.5/configure.ac 2013-07-25 16:01:02.469824330 +0200
4 [echo "will not be built. If you want to build core fingerprinting support, please ensure"]
5 [echo "that libopcodes is installed and its directory is included in the search path."]
6 [echo "Then run configure again before attempting to build Satyr."]
8 + have_good_libopcodes=1
12 -AC_MSG_CHECKING([whether libopcodes is position independent])
13 -opcodes_pic="not found"
14 -# ugly, but still better than whitelisting known-working systems
15 -for DIR in /lib /usr/lib /lib64 /usr/lib64; do
16 - OPCODES="$DIR/libopcodes.a"
17 - if ! test -r $OPCODES; then
21 - if readelf -r $OPCODES | grep R_X86_64_32 >/dev/null; then
29 -AC_MSG_RESULT([$opcodes_pic])
31 -[if test "$opcodes_pic" = "no" -a "$target_cpu" = "x86_64"; then]
32 - [echo "The libopcodes library on your system was not compiled with PIC. The core backtrace fingerprinting support "]
33 - [echo "will not be built. If you want to build core backtrace support, please ensure"]
34 - [echo "that the provided libopcodes is build with -fPIC."]
35 - [echo "Then run configure again before attempting to build Satyr."]
38 -test ! \( "$opcodes_pic" = "yes" -a "$have_libopcodes" = "yes" -a "$target_cpu" = "x86_64" \)
39 -have_good_libopcodes=$?
40 AM_CONDITIONAL(HAVE_LIBOPCODES, test $have_good_libopcodes -eq 1)
41 AC_DEFINE_UNQUOTED(HAVE_LIBOPCODES, $have_good_libopcodes, [Have libopcodes compiled with -fPIC])