[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] building with bleeding-edge autotools
From: |
Eric Blake |
Subject: |
[Findutils-patches] building with bleeding-edge autotools |
Date: |
Wed, 12 Dec 2007 18:41:44 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Without this patch, it is impossible to bootstrap the 4.2.x branch when using
bleeding-edge autotools (autoconf 2.61a.300+, automake 1.10a), because there
were some circular and missing macro references. AC_GNU_SOURCE, AC_AIX, and
AC_ISC_POSIX are now all deprecated in favor of AC_USE_SYSTEM_EXTENSIONS, but
this is all handled by gnulib in gl_EARLY. Also, gl_AC_TYPE_LONG_LONG no
longer exists, but gnulib again handles improved long long checks transparently
by virtue of the stdint module, not to mention that intmax_t is now guaranteed
by gnulib. This patch has no effect on configure results, even when using
autoconf 2.59 instead of bleeding edge. Fixing bugs by deletion is fun!
OK to apply?
configure.in | 27 ---------------------------
1 file changed, 27 deletions(-)
2007-12-12 Eric Blake <address@hidden>
Allow bootstrap with autoconf 2.61a.
* configure.in (AC_AIX, AC_ISC_POSIX): Remove, now that
gl_EARLY does this.
(jy_AC_TYPE_INTMAX_T): Delete, now that gnulib's stdint module
does this.
Index: configure.in
===================================================================
RCS file: /sources/findutils/findutils/Attic/configure.in,v
retrieving revision 1.92.2.16
diff -u -p -b -r1.92.2.16 configure.in
--- configure.in 16 Jul 2007 12:48:34 -0000 1.92.2.16
+++ configure.in 12 Dec 2007 18:39:55 -0000
@@ -62,16 +62,9 @@ dnl Checks for programs.
AC_PROG_CC
AC_PROG_CPP
-AC_AIX
-
-
-dnl AC_MINIX
dnl for gnulib
gl_EARLY
-dnl gl_EARLY calls AC_GNU_SOURCE anyway.
-
-AC_ISC_POSIX
AM_C_PROTOTYPES
AC_PROG_INSTALL
@@ -179,26 +172,6 @@ gl_REGEX
AC_PREREQ(2.59)
-# Define intmax_t to 'signed long' or 'signed long long'
-# if it is not already defined in <stdint.h> or <inttypes.h>.
-dnl Derived from gnulib's uintmax_t which was from Paul Eggert.
-AC_DEFUN([jy_AC_TYPE_INTMAX_T],
-[
- if test $ac_cv_header_inttypes_h = no && test $ac_cv_header_stdint_h = no;
then
- AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
- test $ac_cv_type_long_long = yes \
- && ac_type='long long' \
- || ac_type='long'
- AC_DEFINE_UNQUOTED(intmax_t, $ac_type,
- [Define to signed long or signed long long
- if <stdint.h> and <inttypes.h> don't define.])
- else
- AC_DEFINE(HAVE_INTMAX_T, 1,
- [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
- fi
-])
-
-jy_AC_TYPE_INTMAX_T
jy_SORTZ
- [Findutils-patches] building with bleeding-edge autotools,
Eric Blake <=