diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2009-04-21 20:19:13 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2009-04-21 20:19:13 +0000 |
commit | cfd5360553473b50cccc235545f3ac8b332de9bb (patch) | |
tree | 909539b4294dbbdde88443b2b098c769201bee68 /gdb/configure.ac | |
parent | 26e251b60395cf60fd81e6e10ab2c487f75f0164 (diff) | |
download | gdb-cfd5360553473b50cccc235545f3ac8b332de9bb.zip gdb-cfd5360553473b50cccc235545f3ac8b332de9bb.tar.gz gdb-cfd5360553473b50cccc235545f3ac8b332de9bb.tar.bz2 |
* configure.ac: Don't postprocess Makefile in config.status.
Substitute GDB_NM_FILE. Don't substitute nm_h.
* Makefile.in (GDB_NM_FILE): Substitute.
(TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
* configure: Regenerate.
* gnulib/Makefile.in: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index e52b77c..01b5a81 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1937,9 +1937,7 @@ files= links= rm -f nm.h -nm_h="" if test "${nativefile}" != ""; then - nm_h=nm.h case "${nativefile}" in nm-*.h ) GDB_NM_FILE="config/${gdb_host_cpu}/${nativefile}" ;; * ) GDB_NM_FILE="${nativefile}" @@ -1948,7 +1946,7 @@ if test "${nativefile}" != ""; then links="${links} nm.h" AC_DEFINE_UNQUOTED(GDB_NM_FILE, "${GDB_NM_FILE}", [nativefile]) fi -AC_SUBST(nm_h) +AC_SUBST(GDB_NM_FILE) AC_LINK_FILES($files, $links) @@ -1988,24 +1986,10 @@ AC_SUBST(pdfdir) AC_OUTPUT(Makefile .gdbinit:gdbinit.in gnulib/Makefile, [ -dnl Autoconf doesn't provide a mechanism for modifying definitions -dnl provided by makefile fragments. -dnl - -changequote(,)dnl -sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp -mv -f Makefile.tmp Makefile -changequote([,])dnl - - case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac -], -[ -gdb_host_cpu=$gdb_host_cpu -nativefile=$nativefile ]) exit 0 |