aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure39
1 files changed, 20 insertions, 19 deletions
diff --git a/gdb/configure b/gdb/configure
index 1554667..9aeef35 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -598,7 +598,14 @@ GDB_NM_FILE
LTLIBBABELTRACE
LIBBABELTRACE
HAVE_LIBBABELTRACE
-frags
+HAVE_NATIVE_GCORE_HOST
+NAT_GENERATED_FILES
+XM_CLIBS
+MH_CFLAGS
+LOADLIBES
+NAT_CDEPS
+NATDEPFILES
+NAT_FILE
target_subdir
CONFIG_UNINSTALL
CONFIG_INSTALL
@@ -799,7 +806,7 @@ PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
-ac_subst_files='host_makefile_frag'
+ac_subst_files='nat_extra_makefile_frag'
ac_user_opts='
enable_option_checking
enable_maintainer_mode
@@ -16724,27 +16731,21 @@ if test "${host}" != "${target}"; then
fi
-frags=
+# Import nat definitions.
+nat_extra_makefile_frag=/dev/null
if test "${gdb_native}" = "yes"; then
- host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
- if test ! -f ${host_makefile_frag}; then
- as_fn_error "\"*** Gdb does not support native target ${host}\"" "$LINENO" 5
- fi
- frags="$frags $host_makefile_frag"
-else
- host_makefile_frag=/dev/null
+ . ${srcdir}/configure.nat
+ nativefile=$NAT_FILE
fi
-if test "${gdb_native}" = "yes"; then
-# We pick this up from the host configuration file (.mh) because we
-# do not have a native configuration Makefile fragment.
-nativefile=`sed -n '
-s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
-' ${host_makefile_frag}`
-fi
+
+
+
+
+
if test x"${gdb_osabi}" != x ; then
@@ -17315,8 +17316,8 @@ $as_echo "$as_me: WARNING: babeltrace is missing or unusable; GDB is unable to r
fi
fi
-# If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
-# to an empty version.
+# If nativefile (NAT_FILE) is not set in configure.nat, we link to an
+# empty version.
files=
links=