Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e4aff282
Commit
e4aff282
authored
Jul 01, 2012
by
doko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
Regenerate aclocalm4 and configure.
parent
846f46af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1341 additions
and
167 deletions
+1341
-167
Modules/_ctypes/libffi/aclocal.m4
Modules/_ctypes/libffi/aclocal.m4
+824
-5
Modules/_ctypes/libffi/configure
Modules/_ctypes/libffi/configure
+445
-162
Modules/_ctypes/libffi/m4/ax_check_compile_flag.m4
Modules/_ctypes/libffi/m4/ax_check_compile_flag.m4
+72
-0
No files found.
Modules/_ctypes/libffi/aclocal.m4
View file @
e4aff282
# generated automatically by aclocal 1.11.
5
-*- Autoconf -*-
# generated automatically by aclocal 1.11.
3
-*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
...
@@ -14,12 +14,830 @@
...
@@ -14,12 +14,830 @@
m4_ifndef([AC_AUTOCONF_VERSION],
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6
9
],,
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6
8
],,
[m4_warning([this file was generated for autoconf 2.6
9
.
[m4_warning([this file was generated for autoconf 2.6
8
.
You have another version of autoconf. It may work, but is not guaranteed to.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
To do so, use the procedure documented by the package, typically `autoreconf'.])])
# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
#
# Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
# Written by Thomas Tanner, 1999
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# serial 18 LTDL_INIT
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
# ------------------------------------------
# DIRECTORY contains the libltdl sources. It is okay to call this
# function multiple times, as long as the same DIRECTORY is always given.
AC_DEFUN([LT_CONFIG_LTDL_DIR],
[AC_BEFORE([$0], [LTDL_INIT])
_$0($*)
])# LT_CONFIG_LTDL_DIR
# We break this out into a separate macro, so that we can call it safely
# internally without being caught accidentally by the sed scan in libtoolize.
m4_defun([_LT_CONFIG_LTDL_DIR],
[dnl remove trailing slashes
m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
m4_case(_LTDL_DIR,
[], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
m4_if(_ARG_DIR, [.],
[],
[m4_define([_LTDL_DIR], _ARG_DIR)
_LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
[m4_if(_ARG_DIR, _LTDL_DIR,
[],
[m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
m4_popdef([_ARG_DIR])
])# _LT_CONFIG_LTDL_DIR
# Initialise:
m4_define([_LTDL_DIR], [])
# _LT_BUILD_PREFIX
# ----------------
# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
# to `${top_builddir}/'.
m4_define([_LT_BUILD_PREFIX],
[m4_ifdef([AC_AUTOCONF_VERSION],
[m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
[-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
[${top_build_prefix}],
[${top_builddir}/])],
[${top_build_prefix}])],
[${top_builddir}/])[]dnl
])
# LTDL_CONVENIENCE
# ----------------
# sets LIBLTDL to the link flags for the libltdl convenience library and
# LTDLINCL to the include flags for the libltdl header and adds
# --enable-ltdl-convenience to the configure arguments. Note that
# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with
# '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
# quotes!). If your package is not flat and you're not using automake,
# define top_build_prefix, top_builddir, and top_srcdir appropriately
# in your Makefiles.
AC_DEFUN([LTDL_CONVENIENCE],
[AC_BEFORE([$0], [LTDL_INIT])dnl
dnl Although the argument is deprecated and no longer documented,
dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
dnl here make sure it is the same as any other declaration of libltdl's
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
_$0()
])# LTDL_CONVENIENCE
# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools,
# now we have LT_CONFIG_LTDL_DIR:
AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
_LTDL_CONVENIENCE])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
# _LTDL_CONVENIENCE
# -----------------
# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
m4_defun([_LTDL_CONVENIENCE],
[case $enable_ltdl_convenience in
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
"") enable_ltdl_convenience=yes
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
esac
LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
LTDLDEPS=$LIBLTDL
LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
AC_SUBST([LIBLTDL])
AC_SUBST([LTDLDEPS])
AC_SUBST([LTDLINCL])
# For backwards non-gettext consistent compatibility...
INCLTDL="$LTDLINCL"
AC_SUBST([INCLTDL])
])# _LTDL_CONVENIENCE
# LTDL_INSTALLABLE
# ----------------
# sets LIBLTDL to the link flags for the libltdl installable library
# and LTDLINCL to the include flags for the libltdl header and adds
# --enable-ltdl-install to the configure arguments. Note that
# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl
# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
# available, otherwise with '${top_builddir}/', and LTDLINCL will be
# prefixed with '${top_srcdir}/' (note the single quotes!). If your
# package is not flat and you're not using automake, define top_build_prefix,
# top_builddir, and top_srcdir appropriately in your Makefiles.
# In the future, this macro may have to be called after LT_INIT.
AC_DEFUN([LTDL_INSTALLABLE],
[AC_BEFORE([$0], [LTDL_INIT])dnl
dnl Although the argument is deprecated and no longer documented,
dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
dnl here make sure it is the same as any other declaration of libltdl's
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
_$0()
])# LTDL_INSTALLABLE
# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools,
# now we have LT_CONFIG_LTDL_DIR:
AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
_LTDL_INSTALLABLE])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
# _LTDL_INSTALLABLE
# -----------------
# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
m4_defun([_LTDL_INSTALLABLE],
[if test -f $prefix/lib/libltdl.la; then
lt_save_LDFLAGS="$LDFLAGS"
LDFLAGS="-L$prefix/lib $LDFLAGS"
AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
LDFLAGS="$lt_save_LDFLAGS"
if test x"${lt_lib_ltdl-no}" = xyes; then
if test x"$enable_ltdl_install" != xyes; then
# Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
enable_ltdl_install=no
fi
elif test x"$enable_ltdl_install" = xno; then
AC_MSG_WARN([libltdl not installed, but installation disabled])
fi
fi
# If configure.ac declared an installable ltdl, and the user didn't override
# with --disable-ltdl-install, we will install the shipped libltdl.
case $enable_ltdl_install in
no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
LIBLTDL="-lltdl"
LTDLDEPS=
LTDLINCL=
;;
*) enable_ltdl_install=yes
ac_configure_args="$ac_configure_args --enable-ltdl-install"
LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
LTDLDEPS=$LIBLTDL
LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
;;
esac
AC_SUBST([LIBLTDL])
AC_SUBST([LTDLDEPS])
AC_SUBST([LTDLINCL])
# For backwards non-gettext consistent compatibility...
INCLTDL="$LTDLINCL"
AC_SUBST([INCLTDL])
])# LTDL_INSTALLABLE
# _LTDL_MODE_DISPATCH
# -------------------
m4_define([_LTDL_MODE_DISPATCH],
[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
m4_if(_LTDL_DIR, [],
[],
dnl if _LTDL_MODE was not set already, the default value is `subproject':
[m4_case(m4_default(_LTDL_MODE, [subproject]),
[subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
[nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
[recursive], [],
[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
dnl Be careful not to expand twice:
m4_define([$0], [])
])# _LTDL_MODE_DISPATCH
# _LT_LIBOBJ(MODULE_NAME)
# -----------------------
# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead
# of into LIBOBJS.
AC_DEFUN([_LT_LIBOBJ], [
m4_pattern_allow([^_LT_LIBOBJS$])
_LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
])# _LT_LIBOBJS
# LTDL_INIT([OPTIONS])
# --------------------
# Clients of libltdl can use this macro to allow the installer to
# choose between a shipped copy of the ltdl sources or a preinstalled
# version of the library. If the shipped ltdl sources are not in a
# subdirectory named libltdl, the directory name must be given by
# LT_CONFIG_LTDL_DIR.
AC_DEFUN([LTDL_INIT],
[dnl Parse OPTIONS
_LT_SET_OPTIONS([$0], [$1])
dnl We need to keep our own list of libobjs separate from our parent project,
dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
dnl we look for our own LIBOBJs.
m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
m4_pushdef([AC_LIBSOURCES])
dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
m4_if(_LTDL_MODE, [],
[m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
AC_ARG_WITH([included_ltdl],
[AS_HELP_STRING([--with-included-ltdl],
[use the GNU ltdl sources included here])])
if test "x$with_included_ltdl" != xyes; then
# We are not being forced to use the included libltdl sources, so
# decide whether there is a useful installed version we can use.
AC_CHECK_HEADER([ltdl.h],
[AC_CHECK_DECL([lt_dlinterface_register],
[AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
[with_included_ltdl=no],
[with_included_ltdl=yes])],
[with_included_ltdl=yes],
[AC_INCLUDES_DEFAULT
#include <ltdl.h>])],
[with_included_ltdl=yes],
[AC_INCLUDES_DEFAULT]
)
fi
dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
dnl was called yet, then for old times' sake, we assume libltdl is in an
dnl eponymous directory:
AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
AC_ARG_WITH([ltdl_include],
[AS_HELP_STRING([--with-ltdl-include=DIR],
[use the ltdl headers installed in DIR])])
if test -n "$with_ltdl_include"; then
if test -f "$with_ltdl_include/ltdl.h"; then :
else
AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
fi
else
with_ltdl_include=no
fi
AC_ARG_WITH([ltdl_lib],
[AS_HELP_STRING([--with-ltdl-lib=DIR],
[use the libltdl.la installed in DIR])])
if test -n "$with_ltdl_lib"; then
if test -f "$with_ltdl_lib/libltdl.la"; then :
else
AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
fi
else
with_ltdl_lib=no
fi
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
,yes,no,no,)
m4_case(m4_default(_LTDL_TYPE, [convenience]),
[convenience], [_LTDL_CONVENIENCE],
[installable], [_LTDL_INSTALLABLE],
[m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
;;
,no,no,no,)
# If the included ltdl is not to be used, then use the
# preinstalled libltdl we found.
AC_DEFINE([HAVE_LTDL], [1],
[Define this if a modern libltdl is already installed])
LIBLTDL=-lltdl
LTDLDEPS=
LTDLINCL=
;;
,no*,no,*)
AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
;;
*) with_included_ltdl=no
LIBLTDL="-L$with_ltdl_lib -lltdl"
LTDLDEPS=
LTDLINCL="-I$with_ltdl_include"
;;
esac
INCLTDL="$LTDLINCL"
# Report our decision...
AC_MSG_CHECKING([where to find libltdl headers])
AC_MSG_RESULT([$LTDLINCL])
AC_MSG_CHECKING([where to find libltdl library])
AC_MSG_RESULT([$LIBLTDL])
_LTDL_SETUP
dnl restore autoconf definition.
m4_popdef([AC_LIBOBJ])
m4_popdef([AC_LIBSOURCES])
AC_CONFIG_COMMANDS_PRE([
_ltdl_libobjs=
_ltdl_ltlibobjs=
if test -n "$_LT_LIBOBJS"; then
# Remove the extension.
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
done
fi
AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
])
# Only expand once:
m4_define([LTDL_INIT])
])# LTDL_INIT
# Old names:
AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIB_LTDL], [])
dnl AC_DEFUN([AC_WITH_LTDL], [])
dnl AC_DEFUN([LT_WITH_LTDL], [])
# _LTDL_SETUP
# -----------
# Perform all the checks necessary for compilation of the ltdl objects
# -- including compiler checks and header checks. This is a public
# interface mainly for the benefit of libltdl's own configure.ac, most
# other users should call LTDL_INIT instead.
AC_DEFUN([_LTDL_SETUP],
[AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
AC_REQUIRE([LT_LIB_DLLOAD])dnl
AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
AC_REQUIRE([gl_FUNC_ARGZ])dnl
m4_require([_LT_CHECK_OBJDIR])dnl
m4_require([_LT_HEADER_DLFCN])dnl
m4_require([_LT_CHECK_DLPREOPEN])dnl
m4_require([_LT_DECL_SED])dnl
dnl Don't require this, or it will be expanded earlier than the code
dnl that sets the variables it relies on:
_LT_ENABLE_INSTALL
dnl _LTDL_MODE specific code must be called at least once:
_LTDL_MODE_DISPATCH
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
# the user used. This is so that ltdl.h can pick up the parent projects
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
# definitions required by ltdl.c.
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
AC_CONFIG_COMMANDS_PRE([dnl
m4_pattern_allow([^LT_CONFIG_H$])dnl
m4_ifset([AH_HEADER],
[LT_CONFIG_H=AH_HEADER],
[m4_ifset([AC_LIST_HEADERS],
[LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
[])])])
AC_SUBST([LT_CONFIG_H])
AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
[], [], [AC_INCLUDES_DEFAULT])
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
m4_pattern_allow([LT_LIBEXT])dnl
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
name=
eval "lt_libprefix=\"$libname_spec\""
m4_pattern_allow([LT_LIBPREFIX])dnl
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
name=ltdl
eval "LTDLOPEN=\"$libname_spec\""
AC_SUBST([LTDLOPEN])
])# _LTDL_SETUP
# _LT_ENABLE_INSTALL
# ------------------
m4_define([_LT_ENABLE_INSTALL],
[AC_ARG_ENABLE([ltdl-install],
[AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
case ,${enable_ltdl_install},${enable_ltdl_convenience} in
*yes*) ;;
*) enable_ltdl_convenience=yes ;;
esac
m4_ifdef([AM_CONDITIONAL],
[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
])# _LT_ENABLE_INSTALL
# LT_SYS_DLOPEN_DEPLIBS
# ---------------------
AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
[lt_cv_sys_dlopen_deplibs],
[# PORTME does your system automatically load deplibs for dlopen?
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
# For now, we just catch OSes we know something about -- in the
# future, we'll try test this programmatically.
lt_cv_sys_dlopen_deplibs=unknown
case $host_os in
aix3*|aix4.1.*|aix4.2.*)
# Unknown whether this is true for these versions of AIX, but
# we want this `case' here to explicitly catch those versions.
lt_cv_sys_dlopen_deplibs=unknown
;;
aix[[4-9]]*)
lt_cv_sys_dlopen_deplibs=yes
;;
amigaos*)
case $host_cpu in
powerpc)
lt_cv_sys_dlopen_deplibs=no
;;
esac
;;
darwin*)
# Assuming the user has installed a libdl from somewhere, this is true
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
lt_cv_sys_dlopen_deplibs=yes
;;
freebsd* | dragonfly*)
lt_cv_sys_dlopen_deplibs=yes
;;
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
# GNU and its variants, using gnu ld.so (Glibc)
lt_cv_sys_dlopen_deplibs=yes
;;
hpux10*|hpux11*)
lt_cv_sys_dlopen_deplibs=yes
;;
interix*)
lt_cv_sys_dlopen_deplibs=yes
;;
irix[[12345]]*|irix6.[[01]]*)
# Catch all versions of IRIX before 6.2, and indicate that we don't
# know how it worked for any of those versions.
lt_cv_sys_dlopen_deplibs=unknown
;;
irix*)
# The case above catches anything before 6.2, and it's known that
# at 6.2 and later dlopen does load deplibs.
lt_cv_sys_dlopen_deplibs=yes
;;
netbsd* | netbsdelf*-gnu)
lt_cv_sys_dlopen_deplibs=yes
;;
openbsd*)
lt_cv_sys_dlopen_deplibs=yes
;;
osf[[1234]]*)
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
# it did *not* use an RPATH in a shared library to find objects the
# library depends on, so we explicitly say `no'.
lt_cv_sys_dlopen_deplibs=no
;;
osf5.0|osf5.0a|osf5.1)
# dlopen *does* load deplibs and with the right loader patch applied
# it even uses RPATH in a shared library to search for shared objects
# that the library depends on, but there's no easy way to know if that
# patch is installed. Since this is the case, all we can really
# say is unknown -- it depends on the patch being installed. If
# it is, this changes to `yes'. Without it, it would be `no'.
lt_cv_sys_dlopen_deplibs=unknown
;;
osf*)
# the two cases above should catch all versions of osf <= 5.1. Read
# the comments above for what we know about them.
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
# is used to find them so we can finally say `yes'.
lt_cv_sys_dlopen_deplibs=yes
;;
qnx*)
lt_cv_sys_dlopen_deplibs=yes
;;
solaris*)
lt_cv_sys_dlopen_deplibs=yes
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
libltdl_cv_sys_dlopen_deplibs=yes
;;
esac
])
if test "$lt_cv_sys_dlopen_deplibs" != yes; then
AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
[Define if the OS needs help to load dependent libraries for dlopen().])
fi
])# LT_SYS_DLOPEN_DEPLIBS
# Old name:
AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
# LT_SYS_MODULE_EXT
# -----------------
AC_DEFUN([LT_SYS_MODULE_EXT],
[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
AC_CACHE_CHECK([which extension is used for runtime loadable modules],
[libltdl_cv_shlibext],
[
module=yes
eval libltdl_cv_shlibext=$shrext_cmds
module=no
eval libltdl_cv_shrext=$shrext_cmds
])
if test -n "$libltdl_cv_shlibext"; then
m4_pattern_allow([LT_MODULE_EXT])dnl
AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
[Define to the extension used for runtime loadable modules, say, ".so".])
fi
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
m4_pattern_allow([LT_SHARED_EXT])dnl
AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
[Define to the shared library suffix, say, ".dylib".])
fi
])# LT_SYS_MODULE_EXT
# Old name:
AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
# LT_SYS_MODULE_PATH
# ------------------
AC_DEFUN([LT_SYS_MODULE_PATH],
[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
AC_CACHE_CHECK([which variable specifies run-time module search path],
[lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
if test -n "$lt_cv_module_path_var"; then
m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
[Define to the name of the environment variable that determines the run-time module search path.])
fi
])# LT_SYS_MODULE_PATH
# Old name:
AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
# LT_SYS_DLSEARCH_PATH
# --------------------
AC_DEFUN([LT_SYS_DLSEARCH_PATH],
[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
AC_CACHE_CHECK([for the default library search path],
[lt_cv_sys_dlsearch_path],
[lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
if test -n "$lt_cv_sys_dlsearch_path"; then
sys_dlsearch_path=
for dir in $lt_cv_sys_dlsearch_path; do
if test -z "$sys_dlsearch_path"; then
sys_dlsearch_path="$dir"
else
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
fi
done
m4_pattern_allow([LT_DLSEARCH_PATH])dnl
AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
[Define to the system default library search path.])
fi
])# LT_SYS_DLSEARCH_PATH
# Old name:
AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
# _LT_CHECK_DLPREOPEN
# -------------------
m4_defun([_LT_CHECK_DLPREOPEN],
[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
[libltdl_cv_preloaded_symbols],
[if test -n "$lt_cv_sys_global_symbol_pipe"; then
libltdl_cv_preloaded_symbols=yes
else
libltdl_cv_preloaded_symbols=no
fi
])
if test x"$libltdl_cv_preloaded_symbols" = xyes; then
AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
[Define if libtool can extract symbol lists from object files.])
fi
])# _LT_CHECK_DLPREOPEN
# LT_LIB_DLLOAD
# -------------
AC_DEFUN([LT_LIB_DLLOAD],
[m4_pattern_allow([^LT_DLLOADERS$])
LT_DLLOADERS=
AC_SUBST([LT_DLLOADERS])
AC_LANG_PUSH([C])
LIBADD_DLOPEN=
AC_SEARCH_LIBS([dlopen], [dl],
[AC_DEFINE([HAVE_LIBDL], [1],
[Define if you have the libdl library or equivalent.])
if test "$ac_cv_search_dlopen" != "none required" ; then
LIBADD_DLOPEN="-ldl"
fi
libltdl_cv_lib_dl_dlopen="yes"
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
# include <dlfcn.h>
#endif
]], [[dlopen(0, 0);]])],
[AC_DEFINE([HAVE_LIBDL], [1],
[Define if you have the libdl library or equivalent.])
libltdl_cv_func_dlopen="yes"
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
[AC_CHECK_LIB([svld], [dlopen],
[AC_DEFINE([HAVE_LIBDL], [1],
[Define if you have the libdl library or equivalent.])
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
then
lt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBADD_DLOPEN"
AC_CHECK_FUNCS([dlerror])
LIBS="$lt_save_LIBS"
fi
AC_SUBST([LIBADD_DLOPEN])
LIBADD_SHL_LOAD=
AC_CHECK_FUNC([shl_load],
[AC_DEFINE([HAVE_SHL_LOAD], [1],
[Define if you have the shl_load function.])
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
[AC_CHECK_LIB([dld], [shl_load],
[AC_DEFINE([HAVE_SHL_LOAD], [1],
[Define if you have the shl_load function.])
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
LIBADD_SHL_LOAD="-ldld"])])
AC_SUBST([LIBADD_SHL_LOAD])
case $host_os in
darwin[[1567]].*)
# We only want this for pre-Mac OS X 10.4.
AC_CHECK_FUNC([_dyld_func_lookup],
[AC_DEFINE([HAVE_DYLD], [1],
[Define if you have the _dyld_func_lookup function.])
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
;;
beos*)
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
;;
cygwin* | mingw* | os2* | pw32*)
AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
;;
esac
AC_CHECK_LIB([dld], [dld_link],
[AC_DEFINE([HAVE_DLD], [1],
[Define if you have the GNU dld library.])
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
AC_SUBST([LIBADD_DLD_LINK])
m4_pattern_allow([^LT_DLPREOPEN$])
LT_DLPREOPEN=
if test -n "$LT_DLLOADERS"
then
for lt_loader in $LT_DLLOADERS; do
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
done
AC_DEFINE([HAVE_LIBDLLOADER], [1],
[Define if libdlloader will be built on this platform])
fi
AC_SUBST([LT_DLPREOPEN])
dnl This isn't used anymore, but set it for backwards compatibility
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
AC_SUBST([LIBADD_DL])
AC_LANG_POP
])# LT_LIB_DLLOAD
# Old name:
AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_DLLIB], [])
# LT_SYS_SYMBOL_USCORE
# --------------------
# does the compiler prefix global symbols with an underscore?
AC_DEFUN([LT_SYS_SYMBOL_USCORE],
[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
AC_CACHE_CHECK([for _ prefix in compiled symbols],
[lt_cv_sys_symbol_underscore],
[lt_cv_sys_symbol_underscore=no
cat > conftest.$ac_ext <<_LT_EOF
void nm_test_func(){}
int main(){nm_test_func;return 0;}
_LT_EOF
if AC_TRY_EVAL(ac_compile); then
# Now try to grab the symbols.
ac_nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
# See whether the symbols have a leading underscore.
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
lt_cv_sys_symbol_underscore=yes
else
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
:
else
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
fi
fi
else
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
fi
else
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
cat conftest.c >&AS_MESSAGE_LOG_FD
fi
rm -rf conftest*
])
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
AC_SUBST([sys_symbol_underscore])
])# LT_SYS_SYMBOL_USCORE
# Old name:
AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
# LT_FUNC_DLSYM_USCORE
# --------------------
AC_DEFUN([LT_FUNC_DLSYM_USCORE],
[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
if test x"$lt_cv_sys_symbol_underscore" = xyes; then
if test x"$libltdl_cv_func_dlopen" = xyes ||
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
[libltdl_cv_need_uscore],
[libltdl_cv_need_uscore=unknown
save_LIBS="$LIBS"
LIBS="$LIBS $LIBADD_DLOPEN"
_LT_TRY_DLOPEN_SELF(
[libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
[], [libltdl_cv_need_uscore=cross])
LIBS="$save_LIBS"
])
fi
fi
if test x"$libltdl_cv_need_uscore" = xyes; then
AC_DEFINE([NEED_USCORE], [1],
[Define if dlsym() requires a leading underscore in symbol names.])
fi
])# LT_FUNC_DLSYM_USCORE
# Old name:
AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
# Foundation, Inc.
# Foundation, Inc.
#
#
...
@@ -38,7 +856,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
...
@@ -38,7 +856,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.11'
[am__api_version='1.11'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.11.
5
], [],
m4_if([$1], [1.11.
3
], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
])
...
@@ -54,7 +872,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
...
@@ -54,7 +872,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.11.
5
])dnl
[AM_AUTOMAKE_VERSION([1.11.
3
])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
...
@@ -1069,6 +1887,7 @@ AC_SUBST([am__untar])
...
@@ -1069,6 +1887,7 @@ AC_SUBST([am__untar])
m4_include([m4/asmcfi.m4])
m4_include([m4/asmcfi.m4])
m4_include([m4/ax_cc_maxopt.m4])
m4_include([m4/ax_cc_maxopt.m4])
m4_include([m4/ax_cflags_warn_all.m4])
m4_include([m4/ax_cflags_warn_all.m4])
m4_include([m4/ax_check_compile_flag.m4])
m4_include([m4/ax_compiler_vendor.m4])
m4_include([m4/ax_compiler_vendor.m4])
m4_include([m4/ax_configure_args.m4])
m4_include([m4/ax_configure_args.m4])
m4_include([m4/ax_enable_builddir.m4])
m4_include([m4/ax_enable_builddir.m4])
...
...
Modules/_ctypes/libffi/configure
View file @
e4aff282
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.6
9
for libffi 3.0.11.
# Generated by GNU Autoconf 2.6
8
for libffi 3.0.11.
#
#
# Report bugs to <http://github.com/atgreen/libffi/issues>.
# Report bugs to <http://github.com/atgreen/libffi/issues>.
#
#
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc.
#
#
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
...
@@ -134,31 +136,6 @@ export LANGUAGE
...
@@ -134,31 +136,6 @@ export LANGUAGE
# CDPATH.
# CDPATH.
(
unset
CDPATH
)
>
/dev/null 2>&1
&&
unset
CDPATH
(
unset
CDPATH
)
>
/dev/null 2>&1
&&
unset
CDPATH
# Use a proper internal environment variable to ensure we don't fall
# into an infinite loop, continuously re-executing ourselves.
if
test
x
"
${
_as_can_reexec
}
"
!=
xno
&&
test
"x
$CONFIG_SHELL
"
!=
x
;
then
_as_can_reexec
=
no
;
export
_as_can_reexec
;
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV
=
/dev/null
ENV
=
/dev/null
(
unset
BASH_ENV
)
>
/dev/null 2>&1
&&
unset
BASH_ENV ENV
case
$-
in
# ((((
*
v
*
x
*
|
*
x
*
v
*
)
as_opts
=
-vx
;;
*
v
*
)
as_opts
=
-v
;;
*
x
*
)
as_opts
=
-x
;;
*
)
as_opts
=
;;
esac
exec
$CONFIG_SHELL
$as_opts
"
$as_myself
"
${
1
+
"
$@
"
}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
$as_echo
"
$0
: could not re-execute with
$CONFIG_SHELL
"
>
&2
as_fn_exit 255
fi
# We don't want this to propagate to other subprocesses.
{
_as_can_reexec
=
;
unset
_as_can_reexec
;
}
if
test
"x
$CONFIG_SHELL
"
=
x
;
then
if
test
"x
$CONFIG_SHELL
"
=
x
;
then
as_bourne_compatible
=
"if test -n
\"\$
{ZSH_VERSION+set}
\"
&& (emulate sh) >/dev/null 2>&1; then :
as_bourne_compatible
=
"if test -n
\"\$
{ZSH_VERSION+set}
\"
&& (emulate sh) >/dev/null 2>&1; then :
emulate sh
emulate sh
...
@@ -192,8 +169,7 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
...
@@ -192,8 +169,7 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
else
else
exitcode=1; echo positional parameters were not saved.
exitcode=1; echo positional parameters were not saved.
fi
fi
test x
\$
exitcode = x0 || exit 1
test x
\$
exitcode = x0 || exit 1"
test -x / || exit 1"
as_suggested
=
" as_lineno_1="
;
as_suggested
=
$as_suggested$LINENO
;
as_suggested
=
$as_suggested
" as_lineno_1a=
\$
LINENO
as_suggested
=
" as_lineno_1="
;
as_suggested
=
$as_suggested$LINENO
;
as_suggested
=
$as_suggested
" as_lineno_1a=
\$
LINENO
as_lineno_2="
;
as_suggested
=
$as_suggested$LINENO
;
as_suggested
=
$as_suggested
" as_lineno_2a=
\$
LINENO
as_lineno_2="
;
as_suggested
=
$as_suggested$LINENO
;
as_suggested
=
$as_suggested
" as_lineno_2a=
\$
LINENO
eval 'test
\"
x
\$
as_lineno_1'
\$
as_run'
\"
!=
\"
x
\$
as_lineno_2'
\$
as_run'
\"
&&
eval 'test
\"
x
\$
as_lineno_1'
\$
as_run'
\"
!=
\"
x
\$
as_lineno_2'
\$
as_run'
\"
&&
...
@@ -246,25 +222,21 @@ IFS=$as_save_IFS
...
@@ -246,25 +222,21 @@ IFS=$as_save_IFS
if
test
"x
$CONFIG_SHELL
"
!=
x
;
then
:
if
test
"x
$CONFIG_SHELL
"
!=
x
;
then
:
export
CONFIG_SHELL
# We cannot yet assume a decent shell, so we have to provide a
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
# Preserve -v and -x to the replacement shell.
BASH_ENV
=
/dev/null
BASH_ENV
=
/dev/null
ENV
=
/dev/null
ENV
=
/dev/null
(
unset
BASH_ENV
)
>
/dev/null 2>&1
&&
unset
BASH_ENV ENV
(
unset
BASH_ENV
)
>
/dev/null 2>&1
&&
unset
BASH_ENV ENV
export
CONFIG_SHELL
case
$-
in
# ((((
case
$-
in
# ((((
*
v
*
x
*
|
*
x
*
v
*
)
as_opts
=
-vx
;;
*
v
*
x
*
|
*
x
*
v
*
)
as_opts
=
-vx
;;
*
v
*
)
as_opts
=
-v
;;
*
v
*
)
as_opts
=
-v
;;
*
x
*
)
as_opts
=
-x
;;
*
x
*
)
as_opts
=
-x
;;
*
)
as_opts
=
;;
*
)
as_opts
=
;;
esac
esac
exec
$CONFIG_SHELL
$as_opts
"
$as_myself
"
${
1
+
"
$@
"
}
exec
"
$CONFIG_SHELL
"
$as_opts
"
$as_myself
"
${
1
+
"
$@
"
}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
$as_echo
"
$0
: could not re-execute with
$CONFIG_SHELL
"
>
&2
exit
255
fi
fi
if
test
x
$as_have_required
=
xno
;
then
:
if
test
x
$as_have_required
=
xno
;
then
:
...
@@ -367,14 +339,6 @@ $as_echo X"$as_dir" |
...
@@ -367,14 +339,6 @@ $as_echo X"$as_dir" |
}
# as_fn_mkdir_p
}
# as_fn_mkdir_p
# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p
()
{
test
-f
"
$1
"
&&
test
-x
"
$1
"
}
# as_fn_executable_p
# as_fn_append VAR VALUE
# as_fn_append VAR VALUE
# ----------------------
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# Append the text in VALUE to the end of the definition contained in VAR. Take
...
@@ -496,10 +460,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
...
@@ -496,10 +460,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
chmod
+x
"
$as_me
.lineno"
||
chmod
+x
"
$as_me
.lineno"
||
{
$as_echo
"
$as_me
: error: cannot create
$as_me
.lineno; rerun with a POSIX shell"
>
&2
;
as_fn_exit 1
;
}
{
$as_echo
"
$as_me
: error: cannot create
$as_me
.lineno; rerun with a POSIX shell"
>
&2
;
as_fn_exit 1
;
}
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
# already done that, so ensure we don't try to do so again and fall
# in an infinite loop. This has already happened in practice.
_as_can_reexec
=
no
;
export
_as_can_reexec
# Don't try to exec as it changes $[0], causing all sort of problems
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
# original and so on. Autoconf is especially sensitive to this).
...
@@ -534,16 +494,16 @@ if (echo >conf$$.file) 2>/dev/null; then
...
@@ -534,16 +494,16 @@ if (echo >conf$$.file) 2>/dev/null; then
# ... but there are two gotchas:
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p
R
'.
# In both cases, we have to default to `cp -p'.
ln
-s
conf
$$
.file conf
$$
.dir 2>/dev/null
&&
test
!
-f
conf
$$
.exe
||
ln
-s
conf
$$
.file conf
$$
.dir 2>/dev/null
&&
test
!
-f
conf
$$
.exe
||
as_ln_s
=
'cp -p
R
'
as_ln_s
=
'cp -p'
elif
ln
conf
$$
.file conf
$$
2>/dev/null
;
then
elif
ln
conf
$$
.file conf
$$
2>/dev/null
;
then
as_ln_s
=
ln
as_ln_s
=
ln
else
else
as_ln_s
=
'cp -p
R
'
as_ln_s
=
'cp -p'
fi
fi
else
else
as_ln_s
=
'cp -p
R
'
as_ln_s
=
'cp -p'
fi
fi
rm
-f
conf
$$
conf
$$
.exe conf
$$
.dir/conf
$$
.file conf
$$
.file
rm
-f
conf
$$
conf
$$
.exe conf
$$
.dir/conf
$$
.file conf
$$
.file
rmdir
conf
$$
.dir 2>/dev/null
rmdir
conf
$$
.dir 2>/dev/null
...
@@ -555,8 +515,28 @@ else
...
@@ -555,8 +515,28 @@ else
as_mkdir_p
=
false
as_mkdir_p
=
false
fi
fi
as_test_x
=
'test -x'
if
test
-x
/
>
/dev/null 2>&1
;
then
as_executable_p
=
as_fn_executable_p
as_test_x
=
'test -x'
else
if
ls
-dL
/
>
/dev/null 2>&1
;
then
as_ls_L_option
=
L
else
as_ls_L_option
=
fi
as_test_x
=
'
eval sh -c '
\'
'
if test -d "$1"; then
test -d "$1/.";
else
case $1 in #(
-*)set "./$1";;
esac;
case `ls -ld'
$as_ls_L_option
' "$1" 2>/dev/null` in #((
???[sx]*):;;*)false;;esac;fi
'
\'
' sh
'
fi
as_executable_p
=
$as_test_x
# Sed expression to map a string onto a valid CPP name.
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp
=
"eval sed 'y%*
$as_cr_letters
%P
$as_cr_LETTERS
%;s%[^_
$as_cr_alnum
]%_%g'"
as_tr_cpp
=
"eval sed 'y%*
$as_cr_letters
%P
$as_cr_LETTERS
%;s%[^_
$as_cr_alnum
]%_%g'"
...
@@ -644,6 +624,7 @@ TARGET
...
@@ -644,6 +624,7 @@ TARGET
FFI_EXEC_TRAMPOLINE_TABLE
FFI_EXEC_TRAMPOLINE_TABLE
FFI_EXEC_TRAMPOLINE_TABLE_FALSE
FFI_EXEC_TRAMPOLINE_TABLE_FALSE
FFI_EXEC_TRAMPOLINE_TABLE_TRUE
FFI_EXEC_TRAMPOLINE_TABLE_TRUE
sys_symbol_underscore
HAVE_LONG_DOUBLE
HAVE_LONG_DOUBLE
ALLOCA
ALLOCA
PA64_HPUX_FALSE
PA64_HPUX_FALSE
...
@@ -1308,6 +1289,8 @@ target=$target_alias
...
@@ -1308,6 +1289,8 @@ target=$target_alias
if
test
"x
$host_alias
"
!=
x
;
then
if
test
"x
$host_alias
"
!=
x
;
then
if
test
"x
$build_alias
"
=
x
;
then
if
test
"x
$build_alias
"
=
x
;
then
cross_compiling
=
maybe
cross_compiling
=
maybe
$as_echo
"
$as_me
: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used"
>
&2
elif
test
"x
$build_alias
"
!=
"x
$host_alias
"
;
then
elif
test
"x
$build_alias
"
!=
"x
$host_alias
"
;
then
cross_compiling
=
yes
cross_compiling
=
yes
fi
fi
...
@@ -1581,9 +1564,9 @@ test -n "$ac_init_help" && exit $ac_status
...
@@ -1581,9 +1564,9 @@ test -n "$ac_init_help" && exit $ac_status
if
$ac_init_version
;
then
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
cat
<<
\
_ACEOF
libffi configure 3.0.11
libffi configure 3.0.11
generated by GNU Autoconf 2.6
9
generated by GNU Autoconf 2.6
8
Copyright (C) 201
2
Free Software Foundation, Inc.
Copyright (C) 201
0
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
gives unlimited permission to copy, distribute and modify it.
_ACEOF
_ACEOF
...
@@ -1659,7 +1642,7 @@ $as_echo "$ac_try_echo"; } >&5
...
@@ -1659,7 +1642,7 @@ $as_echo "$ac_try_echo"; } >&5
test
!
-s
conftest.err
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
{
}
&&
test
-s
conftest
$ac_exeext
&&
{
test
"
$cross_compiling
"
=
yes
||
test
"
$cross_compiling
"
=
yes
||
test
-
x
conftest
$ac_exeext
$as_test_
x
conftest
$ac_exeext
}
;
then
:
}
;
then
:
ac_retval
=
0
ac_retval
=
0
else
else
...
@@ -2017,8 +2000,7 @@ int
...
@@ -2017,8 +2000,7 @@ int
main ()
main ()
{
{
static int test_array [1 - 2 * !((
$2
) >= 0)];
static int test_array [1 - 2 * !((
$2
) >= 0)];
test_array [0] = 0;
test_array [0] = 0
return test_array [0];
;
;
return 0;
return 0;
...
@@ -2034,8 +2016,7 @@ int
...
@@ -2034,8 +2016,7 @@ int
main ()
main ()
{
{
static int test_array [1 - 2 * !((
$2
) <=
$ac_mid
)];
static int test_array [1 - 2 * !((
$2
) <=
$ac_mid
)];
test_array [0] = 0;
test_array [0] = 0
return test_array [0];
;
;
return 0;
return 0;
...
@@ -2061,8 +2042,7 @@ int
...
@@ -2061,8 +2042,7 @@ int
main ()
main ()
{
{
static int test_array [1 - 2 * !((
$2
) < 0)];
static int test_array [1 - 2 * !((
$2
) < 0)];
test_array [0] = 0;
test_array [0] = 0
return test_array [0];
;
;
return 0;
return 0;
...
@@ -2078,8 +2058,7 @@ int
...
@@ -2078,8 +2058,7 @@ int
main ()
main ()
{
{
static int test_array [1 - 2 * !((
$2
) >=
$ac_mid
)];
static int test_array [1 - 2 * !((
$2
) >=
$ac_mid
)];
test_array [0] = 0;
test_array [0] = 0
return test_array [0];
;
;
return 0;
return 0;
...
@@ -2113,8 +2092,7 @@ int
...
@@ -2113,8 +2092,7 @@ int
main ()
main ()
{
{
static int test_array [1 - 2 * !((
$2
) <=
$ac_mid
)];
static int test_array [1 - 2 * !((
$2
) <=
$ac_mid
)];
test_array [0] = 0;
test_array [0] = 0
return test_array [0];
;
;
return 0;
return 0;
...
@@ -2187,7 +2165,7 @@ This file contains any messages produced by compilers while
...
@@ -2187,7 +2165,7 @@ This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
running configure, to aid debugging if configure makes a mistake.
It was created by libffi
$as_me
3.0.11, which was
It was created by libffi
$as_me
3.0.11, which was
generated by GNU Autoconf 2.6
9
. Invocation command line was
generated by GNU Autoconf 2.6
8
. Invocation command line was
$ $0
$@
$ $0
$@
...
@@ -2758,7 +2736,7 @@ do
...
@@ -2758,7 +2736,7 @@ do
IFS=
$as_save_IFS
IFS=
$as_save_IFS
test -z "
$as_dir
" && as_dir=.
test -z "
$as_dir
" && as_dir=.
for ac_exec_ext in ''
$ac_executable_extensions
; do
for ac_exec_ext in ''
$ac_executable_extensions
; do
if
as_fn_executable_p "
$as_dir
/
$ac_word$ac_exec_ext
"
; then
if
{ test -f "
$as_dir
/
$ac_word$ac_exec_ext
" &&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"; }
; then
ac_cv_path_ax_enable_builddir_sed="
$as_dir
/
$ac_word$ac_exec_ext
"
ac_cv_path_ax_enable_builddir_sed="
$as_dir
/
$ac_word$ac_exec_ext
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
found
$as_dir
/
$ac_word$ac_exec_ext
" >&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
found
$as_dir
/
$ac_word$ac_exec_ext
" >&5
break 2
break 2
...
@@ -2824,7 +2802,7 @@ case $as_dir/ in #((
...
@@ -2824,7 +2802,7 @@ case $as_dir/ in #((
# by default.
# by default.
for ac_prog in ginstall scoinst install; do
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in ''
$ac_executable_extensions
; do
for ac_exec_ext in ''
$ac_executable_extensions
; do
if
as_fn_executable_p "
$as_dir
/
$ac_prog$ac_exec_ext
"
; then
if
{ test -f "
$as_dir
/
$ac_prog$ac_exec_ext
" &&
$as_test_x
"
$as_dir
/
$ac_prog$ac_exec_ext
"; }
; then
if test
$ac_prog
= install &&
if test
$ac_prog
= install &&
grep dspmsg "
$as_dir
/
$ac_prog$ac_exec_ext
" >/dev/null 2>&1; then
grep dspmsg "
$as_dir
/
$ac_prog$ac_exec_ext
" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
# AIX install. It has an incompatible calling convention.
...
@@ -2990,7 +2968,7 @@ do
...
@@ -2990,7 +2968,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_STRIP
=
"
${
ac_tool_prefix
}
strip"
ac_cv_prog_STRIP
=
"
${
ac_tool_prefix
}
strip"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3030,7 +3008,7 @@ do
...
@@ -3030,7 +3008,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_STRIP
=
"strip"
ac_cv_prog_ac_ct_STRIP
=
"strip"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3081,7 +3059,7 @@ do
...
@@ -3081,7 +3059,7 @@ do
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_prog
in
mkdir
gmkdir
;
do
for
ac_prog
in
mkdir
gmkdir
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
as_fn_executable_p
"
$as_dir
/
$ac_prog$ac_exec_ext
"
||
continue
{
test
-f
"
$as_dir
/
$ac_prog$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_prog$ac_exec_ext
"
;
}
||
continue
case
`
"
$as_dir
/
$ac_prog$ac_exec_ext
"
--version
2>&1
`
in
#(
case
`
"
$as_dir
/
$ac_prog$ac_exec_ext
"
--version
2>&1
`
in
#(
'mkdir (GNU coreutils) '
*
|
\
'mkdir (GNU coreutils) '
*
|
\
'mkdir (coreutils) '
*
|
\
'mkdir (coreutils) '
*
|
\
...
@@ -3134,7 +3112,7 @@ do
...
@@ -3134,7 +3112,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_AWK
=
"
$ac_prog
"
ac_cv_prog_AWK
=
"
$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3293,7 +3271,7 @@ do
...
@@ -3293,7 +3271,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_CC
=
"
${
ac_tool_prefix
}
gcc"
ac_cv_prog_CC
=
"
${
ac_tool_prefix
}
gcc"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3333,7 +3311,7 @@ do
...
@@ -3333,7 +3311,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_CC
=
"gcc"
ac_cv_prog_ac_ct_CC
=
"gcc"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3386,7 +3364,7 @@ do
...
@@ -3386,7 +3364,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_CC
=
"
${
ac_tool_prefix
}
cc"
ac_cv_prog_CC
=
"
${
ac_tool_prefix
}
cc"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3427,7 +3405,7 @@ do
...
@@ -3427,7 +3405,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
if
test
"
$as_dir
/
$ac_word$ac_exec_ext
"
=
"/usr/ucb/cc"
;
then
if
test
"
$as_dir
/
$ac_word$ac_exec_ext
"
=
"/usr/ucb/cc"
;
then
ac_prog_rejected
=
yes
ac_prog_rejected
=
yes
continue
continue
...
@@ -3485,7 +3463,7 @@ do
...
@@ -3485,7 +3463,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_CC
=
"
$ac_tool_prefix$ac_prog
"
ac_cv_prog_CC
=
"
$ac_tool_prefix$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3529,7 +3507,7 @@ do
...
@@ -3529,7 +3507,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_CC
=
"
$ac_prog
"
ac_cv_prog_ac_ct_CC
=
"
$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -3975,7 +3953,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
...
@@ -3975,7 +3953,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
struct stat;
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
FILE * (*rcsopen) (struct buf *, struct stat *, int);
...
@@ -4632,7 +4611,7 @@ do
...
@@ -4632,7 +4611,7 @@ do
for
ac_prog
in
sed
gsed
;
do
for
ac_prog
in
sed
gsed
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_SED
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
ac_path_SED
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
as_fn_executable_p
"
$ac_path_SED
"
||
continue
{
test
-f
"
$ac_path_SED
"
&&
$as_test_x
"
$ac_path_SED
"
;
}
||
continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
# Check for GNU $ac_path_SED
case
`
"
$ac_path_SED
"
--version
2>&1
`
in
case
`
"
$ac_path_SED
"
--version
2>&1
`
in
...
@@ -4708,7 +4687,7 @@ do
...
@@ -4708,7 +4687,7 @@ do
for
ac_prog
in
grep
ggrep
;
do
for
ac_prog
in
grep
ggrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_GREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
ac_path_GREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
as_fn_executable_p
"
$ac_path_GREP
"
||
continue
{
test
-f
"
$ac_path_GREP
"
&&
$as_test_x
"
$ac_path_GREP
"
;
}
||
continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
# Check for GNU $ac_path_GREP
case
`
"
$ac_path_GREP
"
--version
2>&1
`
in
case
`
"
$ac_path_GREP
"
--version
2>&1
`
in
...
@@ -4774,7 +4753,7 @@ do
...
@@ -4774,7 +4753,7 @@ do
for
ac_prog
in
egrep
;
do
for
ac_prog
in
egrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_EGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
ac_path_EGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
as_fn_executable_p
"
$ac_path_EGREP
"
||
continue
{
test
-f
"
$ac_path_EGREP
"
&&
$as_test_x
"
$ac_path_EGREP
"
;
}
||
continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
# Check for GNU $ac_path_EGREP
case
`
"
$ac_path_EGREP
"
--version
2>&1
`
in
case
`
"
$ac_path_EGREP
"
--version
2>&1
`
in
...
@@ -4841,7 +4820,7 @@ do
...
@@ -4841,7 +4820,7 @@ do
for
ac_prog
in
fgrep
;
do
for
ac_prog
in
fgrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_FGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
ac_path_FGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
as_fn_executable_p
"
$ac_path_FGREP
"
||
continue
{
test
-f
"
$ac_path_FGREP
"
&&
$as_test_x
"
$ac_path_FGREP
"
;
}
||
continue
# Check for GNU ac_path_FGREP and select it if it is found.
# Check for GNU ac_path_FGREP and select it if it is found.
# Check for GNU $ac_path_FGREP
# Check for GNU $ac_path_FGREP
case
`
"
$ac_path_FGREP
"
--version
2>&1
`
in
case
`
"
$ac_path_FGREP
"
--version
2>&1
`
in
...
@@ -5097,7 +5076,7 @@ do
...
@@ -5097,7 +5076,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_DUMPBIN
=
"
$ac_tool_prefix$ac_prog
"
ac_cv_prog_DUMPBIN
=
"
$ac_tool_prefix$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -5141,7 +5120,7 @@ do
...
@@ -5141,7 +5120,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_DUMPBIN
=
"
$ac_prog
"
ac_cv_prog_ac_ct_DUMPBIN
=
"
$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -5565,7 +5544,7 @@ do
...
@@ -5565,7 +5544,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_OBJDUMP
=
"
${
ac_tool_prefix
}
objdump"
ac_cv_prog_OBJDUMP
=
"
${
ac_tool_prefix
}
objdump"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -5605,7 +5584,7 @@ do
...
@@ -5605,7 +5584,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_OBJDUMP
=
"objdump"
ac_cv_prog_ac_ct_OBJDUMP
=
"objdump"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -5911,7 +5890,7 @@ do
...
@@ -5911,7 +5890,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_DLLTOOL
=
"
${
ac_tool_prefix
}
dlltool"
ac_cv_prog_DLLTOOL
=
"
${
ac_tool_prefix
}
dlltool"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -5951,7 +5930,7 @@ do
...
@@ -5951,7 +5930,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_DLLTOOL
=
"dlltool"
ac_cv_prog_ac_ct_DLLTOOL
=
"dlltool"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6055,7 +6034,7 @@ do
...
@@ -6055,7 +6034,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_AR
=
"
$ac_tool_prefix$ac_prog
"
ac_cv_prog_AR
=
"
$ac_tool_prefix$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6099,7 +6078,7 @@ do
...
@@ -6099,7 +6078,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_AR
=
"
$ac_prog
"
ac_cv_prog_ac_ct_AR
=
"
$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6224,7 +6203,7 @@ do
...
@@ -6224,7 +6203,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_STRIP
=
"
${
ac_tool_prefix
}
strip"
ac_cv_prog_STRIP
=
"
${
ac_tool_prefix
}
strip"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6264,7 +6243,7 @@ do
...
@@ -6264,7 +6243,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_STRIP
=
"strip"
ac_cv_prog_ac_ct_STRIP
=
"strip"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6323,7 +6302,7 @@ do
...
@@ -6323,7 +6302,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_RANLIB
=
"
${
ac_tool_prefix
}
ranlib"
ac_cv_prog_RANLIB
=
"
${
ac_tool_prefix
}
ranlib"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -6363,7 +6342,7 @@ do
...
@@ -6363,7 +6342,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_RANLIB
=
"ranlib"
ac_cv_prog_ac_ct_RANLIB
=
"ranlib"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7012,7 +6991,7 @@ do
...
@@ -7012,7 +6991,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_MANIFEST_TOOL
=
"
${
ac_tool_prefix
}
mt"
ac_cv_prog_MANIFEST_TOOL
=
"
${
ac_tool_prefix
}
mt"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7052,7 +7031,7 @@ do
...
@@ -7052,7 +7031,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_MANIFEST_TOOL
=
"mt"
ac_cv_prog_ac_ct_MANIFEST_TOOL
=
"mt"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7132,7 +7111,7 @@ do
...
@@ -7132,7 +7111,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_DSYMUTIL
=
"
${
ac_tool_prefix
}
dsymutil"
ac_cv_prog_DSYMUTIL
=
"
${
ac_tool_prefix
}
dsymutil"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7172,7 +7151,7 @@ do
...
@@ -7172,7 +7151,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_DSYMUTIL
=
"dsymutil"
ac_cv_prog_ac_ct_DSYMUTIL
=
"dsymutil"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7224,7 +7203,7 @@ do
...
@@ -7224,7 +7203,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_NMEDIT
=
"
${
ac_tool_prefix
}
nmedit"
ac_cv_prog_NMEDIT
=
"
${
ac_tool_prefix
}
nmedit"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7264,7 +7243,7 @@ do
...
@@ -7264,7 +7243,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_NMEDIT
=
"nmedit"
ac_cv_prog_ac_ct_NMEDIT
=
"nmedit"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7316,7 +7295,7 @@ do
...
@@ -7316,7 +7295,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_LIPO
=
"
${
ac_tool_prefix
}
lipo"
ac_cv_prog_LIPO
=
"
${
ac_tool_prefix
}
lipo"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7356,7 +7335,7 @@ do
...
@@ -7356,7 +7335,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_LIPO
=
"lipo"
ac_cv_prog_ac_ct_LIPO
=
"lipo"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7408,7 +7387,7 @@ do
...
@@ -7408,7 +7387,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_OTOOL
=
"
${
ac_tool_prefix
}
otool"
ac_cv_prog_OTOOL
=
"
${
ac_tool_prefix
}
otool"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7448,7 +7427,7 @@ do
...
@@ -7448,7 +7427,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_OTOOL
=
"otool"
ac_cv_prog_ac_ct_OTOOL
=
"otool"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7500,7 +7479,7 @@ do
...
@@ -7500,7 +7479,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_OTOOL64
=
"
${
ac_tool_prefix
}
otool64"
ac_cv_prog_OTOOL64
=
"
${
ac_tool_prefix
}
otool64"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -7540,7 +7519,7 @@ do
...
@@ -7540,7 +7519,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_ac_ct_OTOOL64
=
"otool64"
ac_cv_prog_ac_ct_OTOOL64
=
"otool64"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -12138,9 +12117,41 @@ if test "$ac_test_CFLAGS" != "set"; then
...
@@ -12138,9 +12117,41 @@ if test "$ac_test_CFLAGS" != "set"; then
else
else
xlc_opt
=
"-qtune=auto"
xlc_opt
=
"-qtune=auto"
fi
fi
AX_CHECK_COMPILE_FLAG
(
$xlc_opt
,
as_CACHEVAR
=
`
$as_echo
"ax_cv_check_cflags__
$xlc_opt
"
|
$as_tr_sh
`
CFLAGS
=
"-O3 -qansialias -w
$xlc_opt
"
,
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts
$xlc_opt
"
>
&5
CFLAGS
=
"-O3 -qansialias -w"
$as_echo_n
"checking whether C compiler accepts
$xlc_opt
... "
>
&6
;
}
if
eval
\$
{
$as_CACHEVAR
+:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$xlc_opt
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
eval
"
$as_CACHEVAR
=yes"
else
eval
"
$as_CACHEVAR
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
eval
ac_res
=
\$
$as_CACHEVAR
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_res
"
>
&5
$as_echo
"
$ac_res
"
>
&6
;
}
if
test
x
"
`
eval
'as_val=${'
$as_CACHEVAR
'};$as_echo "$as_val"'
`
"
=
xyes
;
then
:
CFLAGS
=
"-O3 -qansialias -w
$xlc_opt
"
else
CFLAGS
=
"-O3 -qansialias -w"
echo
"******************************************************"
echo
"******************************************************"
echo
"* You seem to have the IBM C compiler. It is *"
echo
"* You seem to have the IBM C compiler. It is *"
echo
"* recommended for best performance that you use: *"
echo
"* recommended for best performance that you use: *"
...
@@ -12150,7 +12161,9 @@ if test "$ac_test_CFLAGS" != "set"; then
...
@@ -12150,7 +12161,9 @@ if test "$ac_test_CFLAGS" != "set"; then
echo
"* where xxx is pwr2, pwr3, 604, or whatever kind of *"
echo
"* where xxx is pwr2, pwr3, 604, or whatever kind of *"
echo
"* CPU you have. (Set the CFLAGS environment var. *"
echo
"* CPU you have. (Set the CFLAGS environment var. *"
echo
"* and re-run configure.) For more info, man cc. *"
echo
"* and re-run configure.) For more info, man cc. *"
echo
"******************************************************"
)
echo
"******************************************************"
fi
;;
;;
intel
)
CFLAGS
=
"-O3 -ansi_alias"
intel
)
CFLAGS
=
"-O3 -ansi_alias"
...
@@ -12281,7 +12294,43 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
...
@@ -12281,7 +12294,43 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
esac
esac
if
test
"x
$icc_flags
"
!=
x
;
then
if
test
"x
$icc_flags
"
!=
x
;
then
for
flag
in
$icc_flags
;
do
for
flag
in
$icc_flags
;
do
AX_CHECK_COMPILE_FLAG
(
$flag
,
icc_archflag
=
$flag
;
break
)
as_CACHEVAR
=
`
$as_echo
"ax_cv_check_cflags__
$flag
"
|
$as_tr_sh
`
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts
$flag
"
>
&5
$as_echo_n
"checking whether C compiler accepts
$flag
... "
>
&6
;
}
if
eval
\$
{
$as_CACHEVAR
+:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$flag
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
eval
"
$as_CACHEVAR
=yes"
else
eval
"
$as_CACHEVAR
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
eval
ac_res
=
\$
$as_CACHEVAR
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_res
"
>
&5
$as_echo
"
$ac_res
"
>
&6
;
}
if
test
x
"
`
eval
'as_val=${'
$as_CACHEVAR
'};$as_echo "$as_val"'
`
"
=
xyes
;
then
:
icc_archflag
=
$flag
;
break
else
:
fi
done
done
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for icc architecture flag"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for icc architecture flag"
>
&5
...
@@ -12299,14 +12348,115 @@ $as_echo "$icc_archflag" >&6; }
...
@@ -12299,14 +12348,115 @@ $as_echo "$icc_archflag" >&6; }
CFLAGS
=
"-O3 -fomit-frame-pointer"
CFLAGS
=
"-O3 -fomit-frame-pointer"
# -malign-double for x86 systems
# -malign-double for x86 systems
AX_CHECK_COMPILE_FLAG
(
-malign-double
,
CFLAGS
=
"
$CFLAGS
-malign-double"
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -malign-double"
>
&5
$as_echo_n
"checking whether C compiler accepts -malign-double... "
>
&6
;
}
if
${
ax_cv_check_cflags___malign_double
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-malign-double"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
ax_cv_check_cflags___malign_double
=
yes
else
ax_cv_check_cflags___malign_double
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ax_cv_check_cflags___malign_double
"
>
&5
$as_echo
"
$ax_cv_check_cflags___malign_double
"
>
&6
;
}
if
test
x
"
$ax_cv_check_cflags___malign_double
"
=
xyes
;
then
:
CFLAGS
=
"
$CFLAGS
-malign-double"
else
:
fi
# -fstrict-aliasing for gcc-2.95+
# -fstrict-aliasing for gcc-2.95+
AX_CHECK_COMPILE_FLAG
(
-fstrict-aliasing
,
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -fstrict-aliasing"
>
&5
CFLAGS
=
"
$CFLAGS
-fstrict-aliasing"
)
$as_echo_n
"checking whether C compiler accepts -fstrict-aliasing... "
>
&6
;
}
if
${
ax_cv_check_cflags___fstrict_aliasing
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fstrict-aliasing"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
ax_cv_check_cflags___fstrict_aliasing
=
yes
else
ax_cv_check_cflags___fstrict_aliasing
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ax_cv_check_cflags___fstrict_aliasing
"
>
&5
$as_echo
"
$ax_cv_check_cflags___fstrict_aliasing
"
>
&6
;
}
if
test
x
"
$ax_cv_check_cflags___fstrict_aliasing
"
=
xyes
;
then
:
CFLAGS
=
"
$CFLAGS
-fstrict-aliasing"
else
:
fi
# note that we enable "unsafe" fp optimization with other compilers, too
# note that we enable "unsafe" fp optimization with other compilers, too
AX_CHECK_COMPILE_FLAG
(
-ffast-math
,
CFLAGS
=
"
$CFLAGS
-ffast-math"
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -ffast-math"
>
&5
$as_echo_n
"checking whether C compiler accepts -ffast-math... "
>
&6
;
}
if
${
ax_cv_check_cflags___ffast_math
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-ffast-math"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
ax_cv_check_cflags___ffast_math
=
yes
else
ax_cv_check_cflags___ffast_math
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ax_cv_check_cflags___ffast_math
"
>
&5
$as_echo
"
$ax_cv_check_cflags___ffast_math
"
>
&6
;
}
if
test
x
"
$ax_cv_check_cflags___ffast_math
"
=
xyes
;
then
:
CFLAGS
=
"
$CFLAGS
-ffast-math"
else
:
fi
...
@@ -12576,7 +12726,7 @@ do
...
@@ -12576,7 +12726,7 @@ do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
as_fn_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_path_PRTDIAG
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
ac_cv_path_PRTDIAG
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
...
@@ -12652,7 +12802,43 @@ for arch in $ax_gcc_arch; do
...
@@ -12652,7 +12802,43 @@ for arch in $ax_gcc_arch; do
flags
=
"-march=
$arch
-mcpu=
$arch
-m
$arch
"
flags
=
"-march=
$arch
-mcpu=
$arch
-m
$arch
"
fi
fi
for
flag
in
$flags
;
do
for
flag
in
$flags
;
do
AX_CHECK_COMPILE_FLAG
(
$flag
,
ax_cv_gcc_archflag
=
$flag
;
break
)
as_CACHEVAR
=
`
$as_echo
"ax_cv_check_cflags__
$flag
"
|
$as_tr_sh
`
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts
$flag
"
>
&5
$as_echo_n
"checking whether C compiler accepts
$flag
... "
>
&6
;
}
if
eval
\$
{
$as_CACHEVAR
+:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$flag
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
eval
"
$as_CACHEVAR
=yes"
else
eval
"
$as_CACHEVAR
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
eval
ac_res
=
\$
$as_CACHEVAR
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_res
"
>
&5
$as_echo
"
$ac_res
"
>
&6
;
}
if
test
x
"
`
eval
'as_val=${'
$as_CACHEVAR
'};$as_echo "$as_val"'
`
"
=
xyes
;
then
:
ax_cv_gcc_archflag
=
$flag
;
break
else
:
fi
done
done
test
"x
$ax_cv_gcc_archflag
"
=
xunknown
||
break
test
"x
$ax_cv_gcc_archflag
"
=
xunknown
||
break
done
done
...
@@ -12686,7 +12872,41 @@ fi
...
@@ -12686,7 +12872,41 @@ fi
CFLAGS
=
"-O3"
CFLAGS
=
"-O3"
fi
fi
AX_CHECK_COMPILE_FLAG
(
$CFLAGS
, ,
as_CACHEVAR
=
`
$as_echo
"ax_cv_check_cflags__
$CFLAGS
"
|
$as_tr_sh
`
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts
$CFLAGS
"
>
&5
$as_echo_n
"checking whether C compiler accepts
$CFLAGS
... "
>
&6
;
}
if
eval
\$
{
$as_CACHEVAR
+:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$CFLAGS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
eval
"
$as_CACHEVAR
=yes"
else
eval
"
$as_CACHEVAR
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
eval
ac_res
=
\$
$as_CACHEVAR
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_res
"
>
&5
$as_echo
"
$ac_res
"
>
&6
;
}
if
test
x
"
`
eval
'as_val=${'
$as_CACHEVAR
'};$as_echo "$as_val"'
`
"
=
xyes
;
then
:
:
else
echo
""
echo
""
echo
"********************************************************"
echo
"********************************************************"
echo
"* WARNING: The guessed CFLAGS don't seem to work with *"
echo
"* WARNING: The guessed CFLAGS don't seem to work with *"
...
@@ -12695,7 +12915,9 @@ fi
...
@@ -12695,7 +12915,9 @@ fi
echo
"********************************************************"
echo
"********************************************************"
echo
""
echo
""
CFLAGS
=
""
CFLAGS
=
""
)
fi
fi
fi
...
@@ -13616,20 +13838,23 @@ else
...
@@ -13616,20 +13838,23 @@ else
/* end confdefs.h. */
/* end confdefs.h. */
$ac_includes_default
$ac_includes_default
int
int
find_stack_direction (
int *addr, int depth
)
find_stack_direction ()
{
{
int dir, dummy = 0;
static char *addr = 0;
if (! addr)
auto char dummy;
addr = &dummy;
if (addr == 0)
*addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
{
dir = depth ? find_stack_direction (addr, depth - 1) : 0;
addr = &dummy;
return dir + dummy;
return find_stack_direction ();
}
else
return (&dummy > addr) ? 1 : -1;
}
}
int
int
main (
int argc, char **argv
)
main ()
{
{
return find_stack_direction (
0, argc + !argv + 20
) < 0;
return find_stack_direction () < 0;
}
}
_ACEOF
_ACEOF
if
ac_fn_c_try_run
"
$LINENO
"
;
then
:
if
ac_fn_c_try_run
"
$LINENO
"
;
then
:
...
@@ -14163,7 +14388,53 @@ $as_echo "#define HAVE_AS_STRING_PSEUDO_OP 1" >>confdefs.h
...
@@ -14163,7 +14388,53 @@ $as_echo "#define HAVE_AS_STRING_PSEUDO_OP 1" >>confdefs.h
fi
fi
if
test
x
$TARGET
=
xX86_WIN64
;
then
if
test
x
$TARGET
=
xX86_WIN64
;
then
LT_SYS_SYMBOL_USCORE
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for _ prefix in compiled symbols"
>
&5
$as_echo_n
"checking for _ prefix in compiled symbols... "
>
&6
;
}
if
${
lt_cv_sys_symbol_underscore
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
lt_cv_sys_symbol_underscore
=
no
cat
>
conftest.
$ac_ext
<<
_LT_EOF
void nm_test_func(){}
int main(){nm_test_func;return 0;}
_LT_EOF
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$ac_compile
\"
"
;
}
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
;
then
# Now try to grab the symbols.
ac_nlist
=
conftest.nm
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$NM
conftest.
$ac_objext
\|
$lt_cv_sys_global_symbol_pipe
\>
$ac_nlist
\"
"
;
}
>
&5
(
eval
$NM
conftest.
$ac_objext
\|
$lt_cv_sys_global_symbol_pipe
\>
$ac_nlist
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
&&
test
-s
"
$ac_nlist
"
;
then
# See whether the symbols have a leading underscore.
if
grep
'^. _nm_test_func'
"
$ac_nlist
"
>
/dev/null
;
then
lt_cv_sys_symbol_underscore
=
yes
else
if
grep
'^. nm_test_func '
"
$ac_nlist
"
>
/dev/null
;
then
:
else
echo
"configure: cannot find nm_test_func in
$ac_nlist
"
>
&5
fi
fi
else
echo
"configure: cannot run
$lt_cv_sys_global_symbol_pipe
"
>
&5
fi
else
echo
"configure: failed program was:"
>
&5
cat
conftest.c
>
&5
fi
rm
-rf
conftest
*
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$lt_cv_sys_symbol_underscore
"
>
&5
$as_echo
"
$lt_cv_sys_symbol_underscore
"
>
&6
;
}
sys_symbol_underscore
=
$lt_cv_sys_symbol_underscore
if
test
"x
$sys_symbol_underscore
"
=
xyes
;
then
if
test
"x
$sys_symbol_underscore
"
=
xyes
;
then
$as_echo
"#define SYMBOL_UNDERSCORE 1"
>>
confdefs.h
$as_echo
"#define SYMBOL_UNDERSCORE 1"
>>
confdefs.h
...
@@ -14934,16 +15205,16 @@ if (echo >conf$$.file) 2>/dev/null; then
...
@@ -14934,16 +15205,16 @@ if (echo >conf$$.file) 2>/dev/null; then
# ... but there are two gotchas:
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p
R
'.
# In both cases, we have to default to `cp -p'.
ln -s conf
$$
.file conf
$$
.dir 2>/dev/null && test ! -f conf
$$
.exe ||
ln -s conf
$$
.file conf
$$
.dir 2>/dev/null && test ! -f conf
$$
.exe ||
as_ln_s='cp -p
R
'
as_ln_s='cp -p'
elif ln conf
$$
.file conf
$$
2>/dev/null; then
elif ln conf
$$
.file conf
$$
2>/dev/null; then
as_ln_s=ln
as_ln_s=ln
else
else
as_ln_s='cp -p
R
'
as_ln_s='cp -p'
fi
fi
else
else
as_ln_s='cp -p
R
'
as_ln_s='cp -p'
fi
fi
rm -f conf
$$
conf
$$
.exe conf
$$
.dir/conf
$$
.file conf
$$
.file
rm -f conf
$$
conf
$$
.exe conf
$$
.dir/conf
$$
.file conf
$$
.file
rmdir conf
$$
.dir 2>/dev/null
rmdir conf
$$
.dir 2>/dev/null
...
@@ -15003,16 +15274,28 @@ else
...
@@ -15003,16 +15274,28 @@ else
as_mkdir_p=false
as_mkdir_p=false
fi
fi
if test -x / >/dev/null 2>&1; then
# as_fn_executable_p FILE
as_test_x='test -x'
# -----------------------
else
# Test if FILE is an executable regular file.
if ls -dL / >/dev/null 2>&1; then
as_fn_executable_p ()
as_ls_L_option=L
{
else
test -f "
$1
" && test -x "
$1
"
as_ls_L_option=
} # as_fn_executable_p
fi
as_test_x='test -x'
as_test_x='
as_executable_p=as_fn_executable_p
eval sh -c '
\'
'
if test -d "
$1
"; then
test -d "
$1
/.";
else
case
$1
in #(
-*)set "./
$1
";;
esac;
case `ls -ld'
$as_ls_L_option
' "
$1
" 2>/dev/null` in #((
???[sx]*):;;*)false;;esac;fi
'
\'
' sh
'
fi
as_executable_p=
$as_test_x
# Sed expression to map a string onto a valid CPP name.
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*
$as_cr_letters
%P
$as_cr_LETTERS
%;s%[^_
$as_cr_alnum
]%_%g'"
as_tr_cpp="eval sed 'y%*
$as_cr_letters
%P
$as_cr_LETTERS
%;s%[^_
$as_cr_alnum
]%_%g'"
...
@@ -15034,7 +15317,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
...
@@ -15034,7 +15317,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# values after options handling.
# values after options handling.
ac_log="
ac_log="
This file was extended by libffi
$as_me
3.0.11, which was
This file was extended by libffi
$as_me
3.0.11, which was
generated by GNU Autoconf 2.6
9
. Invocation command line was
generated by GNU Autoconf 2.6
8
. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
CONFIG_FILES =
$CONFIG_FILES
CONFIG_HEADERS =
$CONFIG_HEADERS
CONFIG_HEADERS =
$CONFIG_HEADERS
...
@@ -15104,10 +15387,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
...
@@ -15104,10 +15387,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_version="
\\
ac_cs_version="
\\
libffi config.status 3.0.11
libffi config.status 3.0.11
configured by
$0
, generated by GNU Autoconf 2.6
9
,
configured by
$0
, generated by GNU Autoconf 2.6
8
,
with options
\\
"
\$
ac_cs_config
\\
"
with options
\\
"
\$
ac_cs_config
\\
"
Copyright (C) 201
2
Free Software Foundation, Inc.
Copyright (C) 201
0
Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
gives unlimited permission to copy, distribute and modify it."
...
@@ -15198,7 +15481,7 @@ fi
...
@@ -15198,7 +15481,7 @@ fi
_ACEOF
_ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
if
\$
ac_cs_recheck; then
if
\$
ac_cs_recheck; then
set X
$SHELL
'
$0
'
$ac_configure_args
\$
ac_configure_extra_args --no-create --no-recursion
set X
'
$SHELL
'
'
$0
'
$ac_configure_args
\$
ac_configure_extra_args --no-create --no-recursion
shift
shift
\$
as_echo "running CONFIG_SHELL=
$SHELL
\$
*" >&6
\$
as_echo "running CONFIG_SHELL=
$SHELL
\$
*" >&6
CONFIG_SHELL='
$SHELL
'
CONFIG_SHELL='
$SHELL
'
...
...
Modules/_ctypes/libffi/m4/ax_check_compile_flag.m4
0 → 100644
View file @
e4aff282
# ===========================================================================
# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
#
# DESCRIPTION
#
# Check whether the given FLAG works with the current language's compiler
# or gives an error. (Warnings, however, are ignored)
#
# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
# success/failure.
#
# If EXTRA-FLAGS is defined, it is added to the current language's default
# flags (e.g. CFLAGS) when the check is done. The check is thus made with
# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
# force the compiler to issue an error when a bad flag is given.
#
# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
#
# LICENSE
#
# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the Macro. You
# need not follow the terms of the GNU General Public License when using
# or distributing such scripts, even though portions of the text of the
# Macro appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes the Autoconf Macro.
#
# This special exception to the GPL applies to versions of the Autoconf
# Macro released by the Autoconf Archive. When you make and distribute a
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
#serial 2
AC_DEFUN([AX_CHECK_COMPILE_FLAG],
[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
_AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
[AS_VAR_SET(CACHEVAR,[yes])],
[AS_VAR_SET(CACHEVAR,[no])])
_AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
[m4_default([$2], :)],
[m4_default([$3], :)])
AS_VAR_POPDEF([CACHEVAR])dnl
])dnl AX_CHECK_COMPILE_FLAGS
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment