Update to rc4. Upgrade autoconf version.

This commit is contained in:
Anthony Green
2012-04-06 11:57:14 -04:00
parent 9bcc884276
commit 10d1e51393
8 changed files with 41 additions and 2147 deletions

View File

@@ -1,92 +0,0 @@
# mmap(2) blacklisting. Some platforms provide the mmap library routine
# but don't support all of the features we need from it.
AC_DEFUN([AC_FUNC_MMAP_BLACKLIST],
[
AC_CHECK_HEADER([sys/mman.h],
[libffi_header_sys_mman_h=yes], [libffi_header_sys_mman_h=no])
AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
if test "$libffi_header_sys_mman_h" != yes \
|| test "$libffi_func_mmap" != yes; then
ac_cv_func_mmap_file=no
ac_cv_func_mmap_dev_zero=no
ac_cv_func_mmap_anon=no
else
AC_CACHE_CHECK([whether read-only mmap of a plain file works],
ac_cv_func_mmap_file,
[# Add a system to this blacklist if
# mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
# memory area containing the same data that you'd get if you applied
# read() to the same fd. The only system known to have a problem here
# is VMS, where text files have record structure.
case "$host_os" in
vms* | ultrix*)
ac_cv_func_mmap_file=no ;;
*)
ac_cv_func_mmap_file=yes;;
esac])
AC_CACHE_CHECK([whether mmap from /dev/zero works],
ac_cv_func_mmap_dev_zero,
[# Add a system to this blacklist if it has mmap() but /dev/zero
# does not exist, or if mmapping /dev/zero does not give anonymous
# zeroed pages with both the following properties:
# 1. If you map N consecutive pages in with one call, and then
# unmap any subset of those pages, the pages that were not
# explicitly unmapped remain accessible.
# 2. If you map two adjacent blocks of memory and then unmap them
# both at once, they must both go away.
# Systems known to be in this category are Windows (all variants),
# VMS, and Darwin.
case "$host_os" in
vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)
ac_cv_func_mmap_dev_zero=no ;;
*)
ac_cv_func_mmap_dev_zero=yes;;
esac])
# Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
AC_CACHE_CHECK([for MAP_ANON(YMOUS)], ac_cv_decl_map_anon,
[AC_TRY_COMPILE(
[#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif
],
[int n = MAP_ANONYMOUS;],
ac_cv_decl_map_anon=yes,
ac_cv_decl_map_anon=no)])
if test $ac_cv_decl_map_anon = no; then
ac_cv_func_mmap_anon=no
else
AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
ac_cv_func_mmap_anon,
[# Add a system to this blacklist if it has mmap() and MAP_ANON or
# MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
# doesn't give anonymous zeroed pages with the same properties listed
# above for use of /dev/zero.
# Systems known to be in this category are Windows, VMS, and SCO Unix.
case "$host_os" in
vms* | cygwin* | pe | mingw* | sco* | udk* )
ac_cv_func_mmap_anon=no ;;
*)
ac_cv_func_mmap_anon=yes;;
esac])
fi
fi
if test $ac_cv_func_mmap_file = yes; then
AC_DEFINE(HAVE_MMAP_FILE, 1,
[Define if read-only mmap of a plain file works.])
fi
if test $ac_cv_func_mmap_dev_zero = yes; then
AC_DEFINE(HAVE_MMAP_DEV_ZERO, 1,
[Define if mmap of /dev/zero works.])
fi
if test $ac_cv_func_mmap_anon = yes; then
AC_DEFINE(HAVE_MMAP_ANON, 1,
[Define if mmap with MAP_ANON(YMOUS) works.])
fi
])

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc3.
# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc4.
#
# Report bugs to <http://github.com/atgreen/libffi/issues>.
#
@@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libffi'
PACKAGE_TARNAME='libffi'
PACKAGE_VERSION='3.0.11-rc3'
PACKAGE_STRING='libffi 3.0.11-rc3'
PACKAGE_VERSION='3.0.11-rc4'
PACKAGE_STRING='libffi 3.0.11-rc4'
PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues'
PACKAGE_URL=''
@@ -1375,7 +1375,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libffi 3.0.11-rc3 to adapt to many kinds of systems.
\`configure' configures libffi 3.0.11-rc4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1446,7 +1446,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libffi 3.0.11-rc3:";;
short | recursive ) echo "Configuration of libffi 3.0.11-rc4:";;
esac
cat <<\_ACEOF
@@ -1562,7 +1562,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libffi configure 3.0.11-rc3
libffi configure 3.0.11-rc4
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2163,7 +2163,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libffi $as_me 3.0.11-rc3, which was
It was created by libffi $as_me 3.0.11-rc4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -3197,7 +3197,7 @@ fi
# Define the identity of the package.
PACKAGE='libffi'
VERSION='3.0.11-rc3'
VERSION='3.0.11-rc4'
cat >>confdefs.h <<_ACEOF
@@ -15254,7 +15254,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libffi $as_me 3.0.11-rc3, which was
This file was extended by libffi $as_me 3.0.11-rc4, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15324,7 +15324,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
libffi config.status 3.0.11-rc3
libffi config.status 3.0.11-rc4
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"

20
configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc3.
# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc4.
#
# Report bugs to <http://github.com/atgreen/libffi/issues>.
#
@@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libffi'
PACKAGE_TARNAME='libffi'
PACKAGE_VERSION='3.0.11-rc3'
PACKAGE_STRING='libffi 3.0.11-rc3'
PACKAGE_VERSION='3.0.11-rc4'
PACKAGE_STRING='libffi 3.0.11-rc4'
PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues'
PACKAGE_URL=''
@@ -1375,7 +1375,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libffi 3.0.11-rc3 to adapt to many kinds of systems.
\`configure' configures libffi 3.0.11-rc4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1446,7 +1446,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libffi 3.0.11-rc3:";;
short | recursive ) echo "Configuration of libffi 3.0.11-rc4:";;
esac
cat <<\_ACEOF
@@ -1562,7 +1562,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libffi configure 3.0.11-rc3
libffi configure 3.0.11-rc4
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2163,7 +2163,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libffi $as_me 3.0.11-rc3, which was
It was created by libffi $as_me 3.0.11-rc4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -3197,7 +3197,7 @@ fi
# Define the identity of the package.
PACKAGE='libffi'
VERSION='3.0.11-rc3'
VERSION='3.0.11-rc4'
cat >>confdefs.h <<_ACEOF
@@ -15261,7 +15261,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libffi $as_me 3.0.11-rc3, which was
This file was extended by libffi $as_me 3.0.11-rc4, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15331,7 +15331,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
libffi config.status 3.0.11-rc3
libffi config.status 3.0.11-rc4
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"

View File

@@ -1,8 +1,8 @@
dnl Process this with autoconf to create configure
AC_PREREQ(2.64)
AC_PREREQ(2.68)
AC_INIT([libffi], [3.0.11-rc3], [http://github.com/atgreen/libffi/issues])
AC_INIT([libffi], [3.0.11-rc4], [http://github.com/atgreen/libffi/issues])
AC_CONFIG_HEADERS([fficonfig.h])
AC_CANONICAL_SYSTEM

View File

@@ -1,4 +1,4 @@
@set UPDATED 30 March 2012
@set UPDATED-MONTH March 2012
@set EDITION 3.0.11-rc3
@set VERSION 3.0.11-rc3
@set EDITION 3.0.11-rc4
@set VERSION 3.0.11-rc4

View File

@@ -1,4 +1,4 @@
@set UPDATED 30 March 2012
@set UPDATED-MONTH March 2012
@set EDITION 3.0.11-rc3
@set VERSION 3.0.11-rc3
@set EDITION 3.0.11-rc4
@set VERSION 3.0.11-rc4

View File

@@ -740,7 +740,7 @@ Index: libffi/configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for libffi 3.0.9.
+# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc3.
+# Generated by GNU Autoconf 2.68 for libffi 3.0.11-rc4.
+#
+# Report bugs to <http://github.com/atgreen/libffi/issues>.
#
@@ -852,8 +852,8 @@ Index: libffi/configure
-PACKAGE_VERSION='3.0.9'
-PACKAGE_STRING='libffi 3.0.9'
-PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
+PACKAGE_VERSION='3.0.11-rc3'
+PACKAGE_STRING='libffi 3.0.11-rc3'
+PACKAGE_VERSION='3.0.11-rc4'
+PACKAGE_STRING='libffi 3.0.11-rc4'
+PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues'
PACKAGE_URL=''
@@ -1080,7 +1080,7 @@ Index: libffi/configure
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libffi 3.0.9 to adapt to many kinds of systems.
+\`configure' configures libffi 3.0.11-rc3 to adapt to many kinds of systems.
+\`configure' configures libffi 3.0.11-rc4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1098,7 +1098,7 @@ Index: libffi/configure
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libffi 3.0.9:";;
+ short | recursive ) echo "Configuration of libffi 3.0.11-rc3:";;
+ short | recursive ) echo "Configuration of libffi 3.0.11-rc4:";;
esac
cat <<\_ACEOF
@@ -1157,7 +1157,7 @@ Index: libffi/configure
cat <<\_ACEOF
-libffi configure 3.0.9
-generated by GNU Autoconf 2.64
+libffi configure 3.0.11-rc3
+libffi configure 3.0.11-rc4
+generated by GNU Autoconf 2.68
-Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1380,7 +1380,7 @@ Index: libffi/configure
-It was created by libffi $as_me 3.0.9, which was
-generated by GNU Autoconf 2.64. Invocation command line was
+It was created by libffi $as_me 3.0.11-rc3, which was
+It was created by libffi $as_me 3.0.11-rc4, which was
+generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -1900,7 +1900,7 @@ Index: libffi/configure
# Define the identity of the package.
PACKAGE='libffi'
- VERSION='3.0.9'
+ VERSION='3.0.11-rc3'
+ VERSION='3.0.11-rc4'
cat >>confdefs.h <<_ACEOF
@@ -6201,7 +6201,7 @@ Index: libffi/configure
ac_log="
-This file was extended by libffi $as_me 3.0.9, which was
-generated by GNU Autoconf 2.64. Invocation command line was
+This file was extended by libffi $as_me 3.0.11-rc3, which was
+This file was extended by libffi $as_me 3.0.11-rc4, which was
+generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6228,7 +6228,7 @@ Index: libffi/configure
-libffi config.status 3.0.9
-configured by $0, generated by GNU Autoconf 2.64,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+libffi config.status 3.0.11-rc3
+libffi config.status 3.0.11-rc4
+configured by $0, generated by GNU Autoconf 2.68,
+ with options \\"\$ac_cs_config\\"
@@ -7403,12 +7403,14 @@ Index: libffi/configure.ac
===================================================================
--- libffi.orig/configure.ac
+++ libffi/configure.ac
@@ -2,33 +2,45 @@ dnl Process this with autoconf to create
@@ -1,34 +1,46 @@
dnl Process this with autoconf to create configure
AC_PREREQ(2.64)
-AC_PREREQ(2.64)
+AC_PREREQ(2.68)
-AC_INIT([libffi], [3.0.9], [http://gcc.gnu.org/bugs.html])
+AC_INIT([libffi], [3.0.11-rc3], [http://github.com/atgreen/libffi/issues])
+AC_INIT([libffi], [3.0.11-rc4], [http://github.com/atgreen/libffi/issues])
AC_CONFIG_HEADERS([fficonfig.h])
-AM_ENABLE_MULTILIB(, ..)