summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-12-07 00:08:10 +0100
committerAndrei Karas <akaras@inbox.ru>2020-03-30 06:35:10 +0300
commit03b2194deabf1470c2b2e6e6b381ba2811c739e6 (patch)
treedf326284c2d623faea82d78b793699367a76fd05 /configure
parent8f38bf7f9e402edc14df3fe89dc0b46b1b1c3ee9 (diff)
downloadhercules-03b2194deabf1470c2b2e6e6b381ba2811c739e6.tar.gz
hercules-03b2194deabf1470c2b2e6e6b381ba2811c739e6.tar.bz2
hercules-03b2194deabf1470c2b2e6e6b381ba2811c739e6.tar.xz
hercules-03b2194deabf1470c2b2e6e6b381ba2811c739e6.zip
Fix Makefile-based compilation on platforms that use libbacktrace with a different executable format than elf
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index e2e528056..5816580ad 100755
--- a/configure
+++ b/configure
@@ -638,7 +638,7 @@ ALLOC_FILE
VIEW_FILE
BACKTRACE_SUPPORTS_DATA
BACKTRACE_SUPPORTED
-FORMAT_FILE
+LIBBACKTRACE_FORMAT_FILE
BACKTRACE_SUPPORTS_THREADS
BACKTRACE_FILE
AWK
@@ -8824,22 +8824,22 @@ fi
$as_echo "$libbacktrace_cv_sys_filetype" >&6; }
# Match the file type to decide what files to compile.
-FORMAT_FILE=
+LIBBACKTRACE_FORMAT_FILE=
backtrace_supports_data=yes
case "$libbacktrace_cv_sys_filetype" in
-elf*) FORMAT_FILE="elf.lo" ;;
-pecoff) FORMAT_FILE="pecoff.lo"
+elf*) LIBBACKTRACE_FORMAT_FILE="elf.o" ;;
+pecoff) LIBBACKTRACE_FORMAT_FILE="pecoff.o"
backtrace_supports_data=no
;;
-xcoff*) FORMAT_FILE="xcoff.lo"
+xcoff*) LIBBACKTRACE_FORMAT_FILE="xcoff.o"
backtrace_supports_data=no
;;
-macho*) FORMAT_FILE="macho.lo"
+macho*) LIBBACKTRACE_FORMAT_FILE="macho.o"
backtrace_supports_data=no
;;
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
$as_echo "$as_me: WARNING: could not determine output file type" >&2;}
- FORMAT_FILE="unknown.lo"
+ LIBBACKTRACE_FORMAT_FILE="unknown.o"
backtrace_supported=no
;;
esac