This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Stop using accross.m4 in bfd


BFD will soon be the sole user of accross.m4 in uberbaum and I would like to be able to delete it.

BFD includes it for AC_COMPILE_CHECK_SIZEOF and that macro's functionality has been superceded by autoconf 2.59's AC_CHECK_SIZEOF.

This simple patch replaces those occurences.

Tested with i686-pc-cygwin native and i686-pc-gnu-linux to powerpc-unknown-elf newlib cross. No changes in stripped binaries with this patch.

OK to install?


2005-05-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
	* acinclude.m4: Don't sinclude accross.m4.
	* config.in, configure, Makefile.in, doc/Makefile.in: Regenerate

diff -prud ../bfd.orig/acinclude.m4 ./acinclude.m4
--- ../bfd.orig/acinclude.m4	2005-04-14 01:26:17.000000000 -0400
+++ ./acinclude.m4	2005-05-09 16:26:14.707348100 -0400
@@ -1,4 +1,3 @@
-sinclude(../config/accross.m4)
 sinclude(../config/acx.m4)
 sinclude(../bfd/bfd.m4)
 sinclude(../bfd/warning.m4)
diff -prud ../bfd.orig/configure.in ./configure.in
--- ../bfd.orig/configure.in	2005-05-06 01:39:23.000000000 -0400
+++ ./configure.in	2005-05-09 16:26:42.216355500 -0400
@@ -93,10 +93,10 @@ AC_CACHE_VAL(bfd_cv_has_long_long,
 AC_MSG_RESULT($bfd_cv_has_long_long)
 if test $bfd_cv_has_long_long = yes; then
   BFD_HOST_LONG_LONG=1
-  AC_COMPILE_CHECK_SIZEOF(long long)
+  AC_CHECK_SIZEOF(long long)
 fi
 
-AC_COMPILE_CHECK_SIZEOF(long)
+AC_CHECK_SIZEOF(long)
 if test "x${ac_cv_sizeof_long}" = "x8"; then
   host64=true
   BFD_HOST_64BIT_LONG=1
@@ -907,7 +907,7 @@ AC_SUBST(bfd_default_target_size)
 # upward compatible.
 AC_CHECK_FUNCS(ftello ftello64 fseeko fseeko64)
 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
-    AC_COMPILE_CHECK_SIZEOF(off_t)
+    AC_CHECK_SIZEOF(off_t)
 fi
 AC_MSG_CHECKING([file_ptr type])
 bfd_file_ptr="long"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]