diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-14 12:06:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-14 12:06:04 +0000 |
commit | 6a0735efa4f54453c216c0e44687480536cb366d (patch) | |
tree | 1f40bc0476d988c9d319c6670900b8fe46c1e30c /bfd/configure.in | |
parent | ec266e19eb45a1f1a936134345ae64655d0de5b4 (diff) | |
download | gdb-6a0735efa4f54453c216c0e44687480536cb366d.zip gdb-6a0735efa4f54453c216c0e44687480536cb366d.tar.gz gdb-6a0735efa4f54453c216c0e44687480536cb366d.tar.bz2 |
* Makefile.am: Run "make dep-am".
(BFD_H_FILES): Remove version.h.
* bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move..
* version.h: ..to here.
* configure.in (bfd_version_date): Remove.
(AC_OUTPUT): Make bfdver.h from version.h.
* bfd.c: #include "bfdver.h".
* vms-hdr.c: Likewise.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index e6b4f9c..87dedc0 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -16,17 +16,11 @@ bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\ changequote([,])dnl bfd_version_string="\"${VERSION}\"" -bfd_version_date=`sed -e 's/.*DATE //' < ${srcdir}/version.h` if test x${is_release} = x; then -dnl Sad, but we can't use XSTRING here to pick up the date from version.h -dnl because traditional C doesn't allow it. + bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` bfd_version_string="\"${VERSION} ${bfd_version_date}\"" fi -dnl Since we need to edit bfd-in3.h to get the date for bfd_version_string, -dnl we may as well substitute for bfd_version_date too. That way we don't -dnl need to #include version.h AC_SUBST(bfd_version) -AC_SUBST(bfd_version_date) AC_SUBST(bfd_version_string) dnl These must be called before AM_PROG_LIBTOOL, because it may want @@ -884,6 +878,6 @@ case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in esac rm -f doc/config.status -AC_OUTPUT(Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in, +AC_OUTPUT(Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in, [sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile]) |