diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-19 00:48:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-19 00:48:20 +0000 |
commit | f4e14cb90109af6fd725477394fa363046cf12d8 (patch) | |
tree | b572cb3b5294c973e7c1cf9fa1c3ca9b00da6697 /bfd/configure.in | |
parent | 0f612729476b771826f8ee47af3eacad87dcffed (diff) | |
download | gdb-f4e14cb90109af6fd725477394fa363046cf12d8.zip gdb-f4e14cb90109af6fd725477394fa363046cf12d8.tar.gz gdb-f4e14cb90109af6fd725477394fa363046cf12d8.tar.bz2 |
* configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG
(replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED,
BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT. Add bfd-in2.h:bfd-in2.h
to AC_OUTPUT call.
* configure: Rebuild.
* bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@.
(BFD_HOST_64_BIT): Define conditionally.
(BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined.
(bfd_vma): Typedef as BFD_HOST_U_64_BIT.
(symvalue, bfd_size_type): Likewise.
* bfd-in2.h: Rebuild.
* Makefile.in (do_clean): Remove bfd-tmp.h.
(do_distclean): Remove bfd-in3.h.
(stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h.
(bfd-in3.h): New target.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index 7e265bd..20a67ad 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -111,11 +111,24 @@ AC_SUBST(PICLIST) AC_SUBST(SHLINK) AC_SUBST(INSTALL_SHLIB) -HOST_64BIT_LONG=0 +VERSION=`cat ${srcdir}/VERSION` +AC_SUBST(VERSION) + +BFD_HOST_64BIT_LONG=0 +BFD_HOST_64_BIT_DEFINED=0 +BFD_HOST_64_BIT= +BFD_HOST_U_64_BIT= if test "x${HOST_64BIT_TYPE}" = "xlong"; then - HOST_64BIT_LONG=1 + BFD_HOST_64BIT_LONG=1 +elif test "x${HOST_64BIT_TYPE}" != "x"; then + BFD_HOST_64_BIT_DEFINED=1 + BFD_HOST_64_BIT=${HOST_64BIT_TYPE} + BFD_HOST_U_64_BIT=${HOST_U_64BIT_TYPE} fi -AC_SUBST(HOST_64BIT_LONG) +AC_SUBST(BFD_HOST_64BIT_LONG) +AC_SUBST(BFD_HOST_64_BIT_DEFINED) +AC_SUBST(BFD_HOST_64_BIT) +AC_SUBST(BFD_HOST_U_64_BIT) BFD_CC_FOR_BUILD @@ -597,5 +610,5 @@ case ${want_mmap}+${ac_cv_func_mmap} in esac rm -f doc/config.status -AC_OUTPUT(Makefile doc/Makefile, +AC_OUTPUT(Makefile doc/Makefile bfd-in3.h:bfd-in2.h, [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) |