aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1995-07-14 23:28:13 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1995-07-14 23:28:13 +0000
commit5f10790049e628902a4cbb189ab107cf1b9ca486 (patch)
treec9065c0d6a40f0788214bdda70b3b5597923b7d8 /gdb/configure.in
parent5a25ad782b1016c0b6d9beac78ec05203f3f9474 (diff)
downloadgdb-5f10790049e628902a4cbb189ab107cf1b9ca486.zip
gdb-5f10790049e628902a4cbb189ab107cf1b9ca486.tar.gz
gdb-5f10790049e628902a4cbb189ab107cf1b9ca486.tar.bz2
* Makefile.in, configure.in: Use one variable, frags, to hold
pathnames of makefile fragments. * configure: regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 5a0b19b..852c258 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -411,27 +411,22 @@ esac
dnl
changequote([,])dnl
-
+frags=
host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
if test ! -f ${host_makefile_frag}; then
AC_MSG_ERROR("*** Gdb does not support host ${host}")
fi
+frags="$frags $host_makefile_frag"
target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
if test ! -f ${target_makefile_frag}; then
AC_MSG_ERROR("*** Gdb does not support target ${target}")
fi
+frags="$frags $target_makefile_frag"
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST(target_makefile_frag_path)
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST_FILE(target_makefile_frag)
+AC_SUBST(frags)
changequote(,)dnl
hostfile=`sed -n '