forked from boostorg/config
Added new macro BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
[SVN r21222]
This commit is contained in:
27
config.htm
27
config.htm
@ -96,13 +96,13 @@ export LDFLAGS="-DAportable"
|
|||||||
export LIBS="-lpthread"
|
export LIBS="-lpthread"
|
||||||
./configure</pre>
|
./configure</pre>
|
||||||
<p>However you run the configure script, when it finishes you will find a new
|
<p>However you run the configure script, when it finishes you will find a new
|
||||||
header - user.hpp - located in the <boost-root/libs/config/>
|
header - user.hpp - located in the <boost-root/libs/config/> directory. <b><i>Note
|
||||||
directory. <b><i>Note that configure does not install this header into your boost
|
that configure does not install this header into your boost include path by
|
||||||
include path by default.</i></b> This header contains all the options
|
default.</i></b> This header contains all the options generated by the
|
||||||
generated by the configure script, plus a header-section that contains the user
|
configure script, plus a header-section that contains the user settable options
|
||||||
settable options from the default version of <a href="../../boost/config/user.hpp">
|
from the default version of <a href="../../boost/config/user.hpp">user.hpp</a> (located
|
||||||
user.hpp</a> (located under <boost-root>/boost/config/). There are two
|
under <boost-root>/boost/config/). There are two ways you can use this
|
||||||
ways you can use this header:</p>
|
header:</p>
|
||||||
<p>Option 1: copy the header into <boost-root>/boost/config/ so that it
|
<p>Option 1: copy the header into <boost-root>/boost/config/ so that it
|
||||||
replaces the default <a href="../../boost/config/user.hpp">user.hpp</a> provided
|
replaces the default <a href="../../boost/config/user.hpp">user.hpp</a> provided
|
||||||
by boost. This option allows only one configure-generated setup; boost
|
by boost. This option allows only one configure-generated setup; boost
|
||||||
@ -384,6 +384,15 @@ export LIBS="-lpthread"
|
|||||||
<td>The compiler exibits certain partial specialisation bug - probably Borland C++
|
<td>The compiler exibits certain partial specialisation bug - probably Borland C++
|
||||||
Builder specific.</td>
|
Builder specific.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<TR>
|
||||||
|
<TD vAlign="top" width="51%">BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL</TD>
|
||||||
|
<TD vAlign="top" width="16%">Compiler</TD>
|
||||||
|
<TD vAlign="top" width="33%">Argument dependent lookup fails if there is a using
|
||||||
|
declaration for the symbol being looked up in the current scope. For
|
||||||
|
example, <code>using boost::get_pointer;</code> prevents ADL from finding overloads of
|
||||||
|
<code>get_pointer</code> in namespaces nested inside boost (but not elsewhere).
|
||||||
|
Probably Borland specific.</TD>
|
||||||
|
</TR>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" width="51%">BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP</td>
|
<td valign="top" width="51%">BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP</td>
|
||||||
<td valign="top" width="16%">Compiler</td>
|
<td valign="top" width="16%">Compiler</td>
|
||||||
@ -1187,7 +1196,7 @@ namespace boost{
|
|||||||
// defining BOOST_WHATEVER_NO_LIB, or if this is one of our own
|
// defining BOOST_WHATEVER_NO_LIB, or if this is one of our own
|
||||||
// source files (signified by BOOST_WHATEVER_SOURCE):
|
// source files (signified by BOOST_WHATEVER_SOURCE):
|
||||||
//
|
//
|
||||||
#if !defined(BOOST_WHATEVER_NO_LIB) && !defined(BOOST_WHATEVER_SOURCE)
|
#if !defined(BOOST_WHATEVER_NO_LIB) && !defined(BOOST_WHATEVER_SOURCE)
|
||||||
# define BOOST_LIB_NAME boost_whatever
|
# define BOOST_LIB_NAME boost_whatever
|
||||||
# ifdef BOOST_WHATEVER_DYN_LINK
|
# ifdef BOOST_WHATEVER_DYN_LINK
|
||||||
# define BOOST_DYN_LINK
|
# define BOOST_DYN_LINK
|
||||||
@ -1395,4 +1404,4 @@ int test()
|
|||||||
<p> </p>
|
<p> </p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
412
configure
vendored
412
configure
vendored
@ -1,9 +1,8 @@
|
|||||||
#! /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.57.
|
# Generated by GNU Autoconf 2.59.
|
||||||
#
|
#
|
||||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
# Copyright (C) 2003 Free Software Foundation, Inc.
|
||||||
# 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.
|
||||||
## --------------------- ##
|
## --------------------- ##
|
||||||
@ -20,9 +19,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|||||||
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
||||||
set -o posix
|
set -o posix
|
||||||
fi
|
fi
|
||||||
|
DUALCASE=1; export DUALCASE # for MKS sh
|
||||||
|
|
||||||
# Support unset when possible.
|
# Support unset when possible.
|
||||||
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
||||||
as_unset=unset
|
as_unset=unset
|
||||||
else
|
else
|
||||||
as_unset=false
|
as_unset=false
|
||||||
@ -41,7 +41,7 @@ for as_var in \
|
|||||||
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
||||||
LC_TELEPHONE LC_TIME
|
LC_TELEPHONE LC_TIME
|
||||||
do
|
do
|
||||||
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
||||||
eval $as_var=C; export $as_var
|
eval $as_var=C; export $as_var
|
||||||
else
|
else
|
||||||
$as_unset $as_var
|
$as_unset $as_var
|
||||||
@ -218,16 +218,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|||||||
if mkdir -p . 2>/dev/null; then
|
if mkdir -p . 2>/dev/null; then
|
||||||
as_mkdir_p=:
|
as_mkdir_p=:
|
||||||
else
|
else
|
||||||
|
test -d ./-p && rmdir ./-p
|
||||||
as_mkdir_p=false
|
as_mkdir_p=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
as_executable_p="test -f"
|
as_executable_p="test -f"
|
||||||
|
|
||||||
# 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="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'"
|
||||||
|
|
||||||
# Sed expression to map a string onto a valid variable name.
|
# Sed expression to map a string onto a valid variable name.
|
||||||
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
||||||
|
|
||||||
|
|
||||||
# IFS
|
# IFS
|
||||||
@ -630,7 +631,7 @@ done
|
|||||||
|
|
||||||
# Be sure to have absolute paths.
|
# Be sure to have absolute paths.
|
||||||
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
||||||
localstatedir libdir includedir oldincludedir infodir mandir
|
localstatedir libdir includedir oldincludedir infodir mandir
|
||||||
do
|
do
|
||||||
eval ac_val=$`echo $ac_var`
|
eval ac_val=$`echo $ac_var`
|
||||||
case $ac_val in
|
case $ac_val in
|
||||||
@ -670,10 +671,10 @@ if test -z "$srcdir"; then
|
|||||||
# Try the directory containing this script, then its parent.
|
# Try the directory containing this script, then its parent.
|
||||||
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
||||||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
X"$0" : 'X\(//\)[^/]' \| \
|
X"$0" : 'X\(//\)[^/]' \| \
|
||||||
X"$0" : 'X\(//\)$' \| \
|
X"$0" : 'X\(//\)$' \| \
|
||||||
X"$0" : 'X\(/\)' \| \
|
X"$0" : 'X\(/\)' \| \
|
||||||
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
echo X"$0" |
|
echo X"$0" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
@ -761,9 +762,9 @@ _ACEOF
|
|||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
Installation directories:
|
Installation directories:
|
||||||
--prefix=PREFIX install architecture-independent files in PREFIX
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||||
[$ac_default_prefix]
|
[$ac_default_prefix]
|
||||||
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
||||||
[PREFIX]
|
[PREFIX]
|
||||||
|
|
||||||
By default, \`make install' will install all the files in
|
By default, \`make install' will install all the files in
|
||||||
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
||||||
@ -850,12 +851,45 @@ case $srcdir in
|
|||||||
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
||||||
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
||||||
esac
|
esac
|
||||||
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
||||||
# absolute.
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
||||||
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
# the directories may not exist.
|
||||||
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
case `pwd` in
|
||||||
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
.) ac_abs_builddir="$ac_dir";;
|
||||||
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
*)
|
||||||
|
case "$ac_dir" in
|
||||||
|
.) ac_abs_builddir=`pwd`;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
||||||
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
||||||
|
*)
|
||||||
|
case ${ac_top_builddir}. in
|
||||||
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
||||||
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_srcdir=$ac_srcdir;;
|
||||||
|
*)
|
||||||
|
case $ac_srcdir in
|
||||||
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
||||||
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
||||||
|
*)
|
||||||
|
case $ac_top_srcdir in
|
||||||
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
||||||
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
|
||||||
cd $ac_dir
|
cd $ac_dir
|
||||||
# Check for guested configure; otherwise get Cygnus style configure.
|
# Check for guested configure; otherwise get Cygnus style configure.
|
||||||
@ -866,7 +900,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|||||||
echo
|
echo
|
||||||
$SHELL $ac_srcdir/configure --help=recursive
|
$SHELL $ac_srcdir/configure --help=recursive
|
||||||
elif test -f $ac_srcdir/configure.ac ||
|
elif test -f $ac_srcdir/configure.ac ||
|
||||||
test -f $ac_srcdir/configure.in; then
|
test -f $ac_srcdir/configure.in; then
|
||||||
echo
|
echo
|
||||||
$ac_configure --help
|
$ac_configure --help
|
||||||
else
|
else
|
||||||
@ -880,8 +914,7 @@ test -n "$ac_init_help" && exit 0
|
|||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
||||||
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
|
||||||
@ -893,7 +926,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 $as_me, which was
|
It was created by $as_me, which was
|
||||||
generated by GNU Autoconf 2.57. Invocation command line was
|
generated by GNU Autoconf 2.59. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
|
|
||||||
@ -970,19 +1003,19 @@ do
|
|||||||
2)
|
2)
|
||||||
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
||||||
if test $ac_must_keep_next = true; then
|
if test $ac_must_keep_next = true; then
|
||||||
ac_must_keep_next=false # Got value, back to normal.
|
ac_must_keep_next=false # Got value, back to normal.
|
||||||
else
|
else
|
||||||
case $ac_arg in
|
case $ac_arg in
|
||||||
*=* | --config-cache | -C | -disable-* | --disable-* \
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
||||||
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
||||||
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
||||||
| -with-* | --with-* | -without-* | --without-* | --x)
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
||||||
case "$ac_configure_args0 " in
|
case "$ac_configure_args0 " in
|
||||||
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
-* ) ac_must_keep_next=true ;;
|
-* ) ac_must_keep_next=true ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
||||||
# Get rid of the leading space.
|
# Get rid of the leading space.
|
||||||
@ -1016,12 +1049,12 @@ _ASBOX
|
|||||||
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
||||||
*ac_space=\ *)
|
*ac_space=\ *)
|
||||||
sed -n \
|
sed -n \
|
||||||
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
||||||
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
sed -n \
|
sed -n \
|
||||||
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
||||||
;;
|
;;
|
||||||
esac;
|
esac;
|
||||||
}
|
}
|
||||||
@ -1050,7 +1083,7 @@ _ASBOX
|
|||||||
for ac_var in $ac_subst_files
|
for ac_var in $ac_subst_files
|
||||||
do
|
do
|
||||||
eval ac_val=$`echo $ac_var`
|
eval ac_val=$`echo $ac_var`
|
||||||
echo "$ac_var='"'"'$ac_val'"'"'"
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
||||||
done | sort
|
done | sort
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
@ -1069,7 +1102,7 @@ _ASBOX
|
|||||||
echo "$as_me: caught signal $ac_signal"
|
echo "$as_me: caught signal $ac_signal"
|
||||||
echo "$as_me: exit $exit_status"
|
echo "$as_me: exit $exit_status"
|
||||||
} >&5
|
} >&5
|
||||||
rm -f core core.* *.core &&
|
rm -f core *.core &&
|
||||||
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
||||||
exit $exit_status
|
exit $exit_status
|
||||||
' 0
|
' 0
|
||||||
@ -1133,7 +1166,7 @@ done
|
|||||||
# value.
|
# value.
|
||||||
ac_cache_corrupted=false
|
ac_cache_corrupted=false
|
||||||
for ac_var in `(set) 2>&1 |
|
for ac_var in `(set) 2>&1 |
|
||||||
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
||||||
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
||||||
eval ac_new_set=\$ac_env_${ac_var}_set
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
||||||
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
||||||
@ -1150,13 +1183,13 @@ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|||||||
,);;
|
,);;
|
||||||
*)
|
*)
|
||||||
if test "x$ac_old_val" != "x$ac_new_val"; then
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
||||||
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
||||||
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
||||||
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
||||||
echo "$as_me: former value: $ac_old_val" >&2;}
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
||||||
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
||||||
echo "$as_me: current value: $ac_new_val" >&2;}
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
||||||
ac_cache_corrupted=:
|
ac_cache_corrupted=:
|
||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
# Pass precious variables to config.status.
|
# Pass precious variables to config.status.
|
||||||
@ -1443,7 +1476,6 @@ ac_compiler=`set X $ac_compile; echo $2`
|
|||||||
(exit $ac_status); }
|
(exit $ac_status); }
|
||||||
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1463,8 +1495,8 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|||||||
# Try to create an executable without -o first, disregard a.out.
|
# Try to create an executable without -o first, disregard a.out.
|
||||||
# It will help us diagnose broken compilers, and finding out an intuition
|
# It will help us diagnose broken compilers, and finding out an intuition
|
||||||
# of exeext.
|
# of exeext.
|
||||||
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
|
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
||||||
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
|
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
|
||||||
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
||||||
(eval $ac_link_default) 2>&5
|
(eval $ac_link_default) 2>&5
|
||||||
@ -1484,23 +1516,23 @@ do
|
|||||||
test -f "$ac_file" || continue
|
test -f "$ac_file" || continue
|
||||||
case $ac_file in
|
case $ac_file in
|
||||||
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
||||||
;;
|
;;
|
||||||
conftest.$ac_ext )
|
conftest.$ac_ext )
|
||||||
# This is the source file.
|
# This is the source file.
|
||||||
;;
|
;;
|
||||||
[ab].out )
|
[ab].out )
|
||||||
# We found the default executable, but exeext='' is most
|
# We found the default executable, but exeext='' is most
|
||||||
# certainly right.
|
# certainly right.
|
||||||
break;;
|
break;;
|
||||||
*.* )
|
*.* )
|
||||||
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
||||||
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
||||||
# but it would be cool to find out if it's true. Does anybody
|
# but it would be cool to find out if it's true. Does anybody
|
||||||
# maintain Libtool? --akim.
|
# maintain Libtool? --akim.
|
||||||
export ac_cv_exeext
|
export ac_cv_exeext
|
||||||
break;;
|
break;;
|
||||||
* )
|
* )
|
||||||
break;;
|
break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
@ -1574,8 +1606,8 @@ for ac_file in conftest.exe conftest conftest.*; do
|
|||||||
case $ac_file in
|
case $ac_file in
|
||||||
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
||||||
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
||||||
export ac_cv_exeext
|
export ac_cv_exeext
|
||||||
break;;
|
break;;
|
||||||
* ) break;;
|
* ) break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -1600,7 +1632,6 @@ if test "${ac_cv_objext+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1651,7 +1682,6 @@ if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1671,11 +1701,21 @@ main ()
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest.$ac_objext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1688,7 +1728,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
ac_compiler_gnu=no
|
ac_compiler_gnu=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -1704,7 +1744,6 @@ if test "${ac_cv_prog_cxx_g+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1721,11 +1760,21 @@ main ()
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest.$ac_objext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1738,7 +1787,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
ac_cv_prog_cxx_g=no
|
ac_cv_prog_cxx_g=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
||||||
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
||||||
@ -1758,8 +1807,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
for ac_declaration in \
|
for ac_declaration in \
|
||||||
''\
|
'' \
|
||||||
'#include <stdlib.h>' \
|
|
||||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||||
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
||||||
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int) throw ();' \
|
||||||
@ -1767,14 +1815,13 @@ for ac_declaration in \
|
|||||||
'void exit (int);'
|
'void exit (int);'
|
||||||
do
|
do
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <stdlib.h>
|
|
||||||
$ac_declaration
|
$ac_declaration
|
||||||
|
#include <stdlib.h>
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
@ -1785,11 +1832,21 @@ exit (42);
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest.$ac_objext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1802,9 +1859,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1821,11 +1877,21 @@ exit (42);
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest.$ac_objext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1837,7 +1903,7 @@ else
|
|||||||
sed 's/^/| /' conftest.$ac_ext >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
done
|
done
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
if test -n "$ac_declaration"; then
|
if test -n "$ac_declaration"; then
|
||||||
@ -1886,7 +1952,6 @@ else
|
|||||||
ac_check_lib_save_LIBS=$LIBS
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
LIBS="-lpthread $LIBS"
|
LIBS="-lpthread $LIBS"
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1910,11 +1975,21 @@ pthread_exit ();
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
(eval $ac_link) 2>&5
|
(eval $ac_link) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest$ac_exeext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1927,7 +2002,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
ac_cv_lib_pthread_pthread_exit=no
|
ac_cv_lib_pthread_pthread_exit=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
LIBS=$ac_check_lib_save_LIBS
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5
|
||||||
@ -1950,7 +2026,6 @@ else
|
|||||||
ac_check_lib_save_LIBS=$LIBS
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
LIBS="-lm $LIBS"
|
LIBS="-lm $LIBS"
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -1974,11 +2049,21 @@ cos ();
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
(eval $ac_link) 2>&5
|
(eval $ac_link) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest$ac_exeext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -1991,7 +2076,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
ac_cv_lib_m_cos=no
|
ac_cv_lib_m_cos=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
LIBS=$ac_check_lib_save_LIBS
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
|
||||||
@ -2014,7 +2100,6 @@ else
|
|||||||
ac_check_lib_save_LIBS=$LIBS
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
LIBS="-lrt $LIBS"
|
LIBS="-lrt $LIBS"
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2038,11 +2123,21 @@ clock ();
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
(eval $ac_link) 2>&5
|
(eval $ac_link) 2>conftest.er1
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -s conftest$ac_exeext'
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2055,7 +2150,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||||||
|
|
||||||
ac_cv_lib_rt_clock=no
|
ac_cv_lib_rt_clock=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
LIBS=$ac_check_lib_save_LIBS
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5
|
||||||
@ -2102,7 +2198,6 @@ See \`config.log' for more details." >&2;}
|
|||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2146,7 +2241,7 @@ echo "${ECHO_T}Failed" >&6
|
|||||||
required_defs="$macroname $required_defs"
|
required_defs="$macroname $required_defs"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $enable_test = 'yes'; then
|
if test $enable_test = 'yes'; then
|
||||||
@ -2162,7 +2257,6 @@ See \`config.log' for more details." >&2;}
|
|||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2206,7 +2300,7 @@ echo "$as_me:$LINENO: result: OK" >&5
|
|||||||
echo "${ECHO_T}OK" >&6
|
echo "${ECHO_T}OK" >&6
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -2240,7 +2334,6 @@ See \`config.log' for more details." >&2;}
|
|||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2284,7 +2377,7 @@ echo "${ECHO_T}Failed" >&6
|
|||||||
required_undefs="$macroname $required_undefs"
|
required_undefs="$macroname $required_undefs"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking $title (fail expected) " >&5
|
echo "$as_me:$LINENO: checking $title (fail expected) " >&5
|
||||||
@ -2297,7 +2390,6 @@ See \`config.log' for more details." >&2;}
|
|||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2345,7 +2437,7 @@ echo "${ECHO_T}OK" >&6
|
|||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
@ -2361,7 +2453,6 @@ See \`config.log' for more details." >&2;}
|
|||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
@ -2405,7 +2496,7 @@ echo "${ECHO_T}no" >&6
|
|||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -2523,13 +2614,13 @@ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|||||||
# trailing colons and then remove the whole line if VPATH becomes empty
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
||||||
# (actually we leave an empty line to preserve line numbers).
|
# (actually we leave an empty line to preserve line numbers).
|
||||||
if test "x$srcdir" = x.; then
|
if test "x$srcdir" = x.; then
|
||||||
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
||||||
s/:*\$(srcdir):*/:/;
|
s/:*\$(srcdir):*/:/;
|
||||||
s/:*\${srcdir}:*/:/;
|
s/:*\${srcdir}:*/:/;
|
||||||
s/:*@srcdir@:*/:/;
|
s/:*@srcdir@:*/:/;
|
||||||
s/^\([^=]*=[ ]*\):*/\1/;
|
s/^\([^=]*=[ ]*\):*/\1/;
|
||||||
s/:*$//;
|
s/:*$//;
|
||||||
s/^[^=]*=[ ]*$//;
|
s/^[^=]*=[ ]*$//;
|
||||||
}'
|
}'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -2543,13 +2634,13 @@ fi
|
|||||||
cat >confdef2opt.sed <<\_ACEOF
|
cat >confdef2opt.sed <<\_ACEOF
|
||||||
t clear
|
t clear
|
||||||
: clear
|
: clear
|
||||||
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
||||||
t quote
|
t quote
|
||||||
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
||||||
t quote
|
t quote
|
||||||
d
|
d
|
||||||
: quote
|
: quote
|
||||||
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
||||||
s,\[,\\&,g
|
s,\[,\\&,g
|
||||||
s,\],\\&,g
|
s,\],\\&,g
|
||||||
s,\$,$$,g
|
s,\$,$$,g
|
||||||
@ -2571,7 +2662,7 @@ ac_ltlibobjs=
|
|||||||
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
||||||
# 1. Remove the extension, and $U if already installed.
|
# 1. Remove the extension, and $U if already installed.
|
||||||
ac_i=`echo "$ac_i" |
|
ac_i=`echo "$ac_i" |
|
||||||
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
||||||
# 2. Add them.
|
# 2. Add them.
|
||||||
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
||||||
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
||||||
@ -2615,9 +2706,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|||||||
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
||||||
set -o posix
|
set -o posix
|
||||||
fi
|
fi
|
||||||
|
DUALCASE=1; export DUALCASE # for MKS sh
|
||||||
|
|
||||||
# Support unset when possible.
|
# Support unset when possible.
|
||||||
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
||||||
as_unset=unset
|
as_unset=unset
|
||||||
else
|
else
|
||||||
as_unset=false
|
as_unset=false
|
||||||
@ -2636,7 +2728,7 @@ for as_var in \
|
|||||||
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
||||||
LC_TELEPHONE LC_TIME
|
LC_TELEPHONE LC_TIME
|
||||||
do
|
do
|
||||||
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
||||||
eval $as_var=C; export $as_var
|
eval $as_var=C; export $as_var
|
||||||
else
|
else
|
||||||
$as_unset $as_var
|
$as_unset $as_var
|
||||||
@ -2815,16 +2907,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|||||||
if mkdir -p . 2>/dev/null; then
|
if mkdir -p . 2>/dev/null; then
|
||||||
as_mkdir_p=:
|
as_mkdir_p=:
|
||||||
else
|
else
|
||||||
|
test -d ./-p && rmdir ./-p
|
||||||
as_mkdir_p=false
|
as_mkdir_p=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
as_executable_p="test -f"
|
as_executable_p="test -f"
|
||||||
|
|
||||||
# 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="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'"
|
||||||
|
|
||||||
# Sed expression to map a string onto a valid variable name.
|
# Sed expression to map a string onto a valid variable name.
|
||||||
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
||||||
|
|
||||||
|
|
||||||
# IFS
|
# IFS
|
||||||
@ -2851,7 +2944,7 @@ _ASBOX
|
|||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by $as_me, which was
|
This file was extended by $as_me, which was
|
||||||
generated by GNU Autoconf 2.57. Invocation command line was
|
generated by GNU Autoconf 2.59. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
@ -2904,11 +2997,10 @@ _ACEOF
|
|||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
config.status
|
config.status
|
||||||
configured by $0, generated by GNU Autoconf 2.57,
|
configured by $0, generated by GNU Autoconf 2.59,
|
||||||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
||||||
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."
|
||||||
srcdir=$srcdir
|
srcdir=$srcdir
|
||||||
@ -3068,16 +3160,41 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
|||||||
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
||||||
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
||||||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
||||||
X"$ac_dest" : 'X\(//\)$' \| \
|
X"$ac_dest" : 'X\(//\)$' \| \
|
||||||
X"$ac_dest" : 'X\(/\)' \| \
|
X"$ac_dest" : 'X\(/\)' \| \
|
||||||
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
echo X"$ac_dest" |
|
echo X"$ac_dest" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
s/.*/./; q'`
|
s/.*/./; q'`
|
||||||
|
{ if $as_mkdir_p; then
|
||||||
|
mkdir -p "$ac_dir"
|
||||||
|
else
|
||||||
|
as_dir="$ac_dir"
|
||||||
|
as_dirs=
|
||||||
|
while test ! -d "$as_dir"; do
|
||||||
|
as_dirs="$as_dir $as_dirs"
|
||||||
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
||||||
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)$' \| \
|
||||||
|
X"$as_dir" : 'X\(/\)' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X"$as_dir" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`
|
||||||
|
done
|
||||||
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
||||||
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
||||||
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }; }
|
||||||
|
|
||||||
ac_builddir=.
|
ac_builddir=.
|
||||||
|
|
||||||
if test "$ac_dir" != .; then
|
if test "$ac_dir" != .; then
|
||||||
@ -3103,12 +3220,45 @@ case $srcdir in
|
|||||||
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
||||||
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
||||||
esac
|
esac
|
||||||
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
||||||
# absolute.
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
||||||
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
# the directories may not exist.
|
||||||
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
case `pwd` in
|
||||||
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
.) ac_abs_builddir="$ac_dir";;
|
||||||
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
*)
|
||||||
|
case "$ac_dir" in
|
||||||
|
.) ac_abs_builddir=`pwd`;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
||||||
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
||||||
|
*)
|
||||||
|
case ${ac_top_builddir}. in
|
||||||
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
||||||
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_srcdir=$ac_srcdir;;
|
||||||
|
*)
|
||||||
|
case $ac_srcdir in
|
||||||
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
||||||
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
case $ac_abs_builddir in
|
||||||
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
||||||
|
*)
|
||||||
|
case $ac_top_srcdir in
|
||||||
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
||||||
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
||||||
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
// we shouldn't really need this - but too many things choke
|
// we shouldn't really need this - but too many things choke
|
||||||
// without it, this needs more investigation:
|
// without it, this needs more investigation:
|
||||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
|
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
# ifdef NDEBUG
|
# ifdef NDEBUG
|
||||||
// fix broken <cstring> so that Boost.test works:
|
// fix broken <cstring> so that Boost.test works:
|
||||||
# include <cstring>
|
# include <cstring>
|
||||||
|
@ -135,6 +135,13 @@
|
|||||||
# define BOOST_NO_STD_ALLOCATOR
|
# define BOOST_NO_STD_ALLOCATOR
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// without ADL support then using declarations will break ADL as well:
|
||||||
|
//
|
||||||
|
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
|
||||||
|
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// If we have a standard allocator, then we have a partial one as well:
|
// If we have a standard allocator, then we have a partial one as well:
|
||||||
//
|
//
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Regression test Jamfile for boost configuration setup.
|
# Regression test Jamfile for boost configuration setup.
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Tue Oct 7 11:26:18 GMTST 2003,
|
# This file was automatically generated on Wed Dec 10 13:38:42 GMTST 2003,
|
||||||
# by libs/config/tools/generate
|
# by libs/config/tools/generate
|
||||||
#
|
#
|
||||||
# If you need to alter build preferences then set them in
|
# If you need to alter build preferences then set them in
|
||||||
@ -109,6 +109,9 @@ test-suite "BOOST_NO_POINTER_TO_MEMBER_CONST" :
|
|||||||
test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" :
|
test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" :
|
||||||
[ run no_ret_det_pass.cpp <template>config_test_options ]
|
[ run no_ret_det_pass.cpp <template>config_test_options ]
|
||||||
[ compile-fail no_ret_det_fail.cpp <template>config_test_options ] ;
|
[ compile-fail no_ret_det_fail.cpp <template>config_test_options ] ;
|
||||||
|
test-suite "BOOST_NO_SFINAE" :
|
||||||
|
[ run no_sfinae_pass.cpp <template>config_test_options ]
|
||||||
|
[ compile-fail no_sfinae_fail.cpp <template>config_test_options ] ;
|
||||||
test-suite "BOOST_NO_STRINGSTREAM" :
|
test-suite "BOOST_NO_STRINGSTREAM" :
|
||||||
[ run no_sstream_pass.cpp <template>config_test_options ]
|
[ run no_sstream_pass.cpp <template>config_test_options ]
|
||||||
[ compile-fail no_sstream_fail.cpp <template>config_test_options ] ;
|
[ compile-fail no_sstream_fail.cpp <template>config_test_options ] ;
|
||||||
@ -154,6 +157,9 @@ test-suite "BOOST_NO_SWPRINTF" :
|
|||||||
test-suite "BOOST_NO_TEMPLATE_TEMPLATES" :
|
test-suite "BOOST_NO_TEMPLATE_TEMPLATES" :
|
||||||
[ run no_template_template_pass.cpp <template>config_test_options ]
|
[ run no_template_template_pass.cpp <template>config_test_options ]
|
||||||
[ compile-fail no_template_template_fail.cpp <template>config_test_options ] ;
|
[ compile-fail no_template_template_fail.cpp <template>config_test_options ] ;
|
||||||
|
test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" :
|
||||||
|
[ run no_using_breaks_adl_pass.cpp <template>config_test_options ]
|
||||||
|
[ compile-fail no_using_breaks_adl_fail.cpp <template>config_test_options ] ;
|
||||||
test-suite "BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE" :
|
test-suite "BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE" :
|
||||||
[ run no_using_decl_overld_pass.cpp <template>config_test_options ]
|
[ run no_using_decl_overld_pass.cpp <template>config_test_options ]
|
||||||
[ compile-fail no_using_decl_overld_fail.cpp <template>config_test_options ] ;
|
[ compile-fail no_using_decl_overld_fail.cpp <template>config_test_options ] ;
|
||||||
|
72
test/boost_no_using_breaks_adl.ipp
Normal file
72
test/boost_no_using_breaks_adl.ipp
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
// (C) Copyright John Maddock 2001.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
// TITLE: broken ADL
|
||||||
|
// DESCRIPTION: Using declarations break argument dependent lookup
|
||||||
|
// (probably Borland specific), the fix is to use
|
||||||
|
// using namespace whatever; rather than
|
||||||
|
// using whatever::symbol;.
|
||||||
|
|
||||||
|
|
||||||
|
namespace boost
|
||||||
|
{
|
||||||
|
template <class T>
|
||||||
|
T* get_pointer(T* p)
|
||||||
|
{ return p; }
|
||||||
|
|
||||||
|
namespace inner2
|
||||||
|
{
|
||||||
|
template <class T>
|
||||||
|
struct X {};
|
||||||
|
|
||||||
|
template <class T>
|
||||||
|
T* get_pointer(X<T>)
|
||||||
|
{ return 0; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace user
|
||||||
|
{
|
||||||
|
template <class T>
|
||||||
|
struct Y{};
|
||||||
|
|
||||||
|
template <class T>
|
||||||
|
T* get_pointer(user::Y<T>)
|
||||||
|
{ return 0; }
|
||||||
|
|
||||||
|
template <class T>
|
||||||
|
int f(T x)
|
||||||
|
{
|
||||||
|
// use this as a workaround:
|
||||||
|
//using namespace boost;
|
||||||
|
// this statement breaks ADL:
|
||||||
|
using boost::get_pointer; // conforming compilers require
|
||||||
|
// this one to find the auto_ptr
|
||||||
|
// and T* overloads
|
||||||
|
return get_pointer(x) == 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace boost_function_scope_using_declaration_breaks_adl{
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
typedef void* pv;
|
||||||
|
i = user::f(pv());
|
||||||
|
i = user::f(boost::inner2::X<int>());
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
// Do not edit this file, it was generated automatically by
|
// Do not edit this file, it was generated automatically by
|
||||||
// ../tools/generate from boost_*.cxx on
|
// ../tools/generate from boost_*.cxx on
|
||||||
// Tue Oct 7 11:26:18 GMTST 2003
|
// Wed Dec 10 13:38:42 GMTST 2003
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#define BOOST_INCLUDE_MAIN
|
#define BOOST_INCLUDE_MAIN
|
||||||
@ -33,131 +33,66 @@ namespace boost_no_auto_ptr = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_bcb_partial_specialization_bug = empty_boost;
|
namespace boost_bcb_partial_specialization_bug = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_CTYPE_FUNCTIONS
|
|
||||||
#include "boost_no_ctype_functions.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_ctype_functions = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_CV_SPECIALIZATIONS
|
#ifndef BOOST_NO_CV_SPECIALIZATIONS
|
||||||
#include "boost_no_cv_spec.cxx"
|
#include "boost_no_cv_spec.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_cv_specializations = empty_boost;
|
namespace boost_no_cv_specializations = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
|
|
||||||
#include "boost_no_cv_void_spec.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_cv_void_specializations = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_CWCHAR
|
#ifndef BOOST_NO_CWCHAR
|
||||||
#include "boost_no_cwchar.cxx"
|
#include "boost_no_cwchar.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_cwchar = empty_boost;
|
namespace boost_no_cwchar = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_CWCTYPE
|
|
||||||
#include "boost_no_cwctype.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_cwctype = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_DEDUCED_TYPENAME
|
#ifndef BOOST_DEDUCED_TYPENAME
|
||||||
#include "boost_no_ded_typename.cxx"
|
#include "boost_no_ded_typename.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_deduced_typename = empty_boost;
|
namespace boost_deduced_typename = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
|
||||||
#include "boost_no_dep_nested_class.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_dependent_nested_derivations = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
#ifndef BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||||
#include "boost_no_dep_val_param.cxx"
|
#include "boost_no_dep_val_param.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_dependent_types_in_template_value_parameters = empty_boost;
|
namespace boost_no_dependent_types_in_template_value_parameters = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
|
||||||
#include "boost_no_excep_std.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_exception_std_namespace = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_EXCEPTIONS
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
#include "boost_no_exceptions.cxx"
|
#include "boost_no_exceptions.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_exceptions = empty_boost;
|
namespace boost_no_exceptions = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
|
||||||
#include "boost_no_exp_func_tem_arg.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_explicit_function_template_arguments = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
#include "boost_no_func_tmp_order.cxx"
|
#include "boost_no_func_tmp_order.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_function_template_ordering = empty_boost;
|
namespace boost_no_function_template_ordering = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
|
||||||
#include "boost_no_i64_limits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_ms_int64_numeric_limits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
#include "boost_no_inline_memb_init.cxx"
|
#include "boost_no_inline_memb_init.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_inclass_member_initialization = empty_boost;
|
namespace boost_no_inclass_member_initialization = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_INTEGRAL_INT64_T
|
|
||||||
#include "boost_no_integral_int64_t.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_integral_int64_t = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
#ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||||
#include "boost_no_iter_construct.cxx"
|
#include "boost_no_iter_construct.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_templated_iterator_constructors = empty_boost;
|
namespace boost_no_templated_iterator_constructors = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_LIMITS
|
|
||||||
#include "boost_no_limits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_limits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
#include "boost_no_limits_const_exp.cxx"
|
#include "boost_no_limits_const_exp.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_limits_compile_time_constants = empty_boost;
|
namespace boost_no_limits_compile_time_constants = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
|
||||||
#include "boost_no_ll_limits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_long_long_numeric_limits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
#ifndef BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||||
#include "boost_no_mem_func_spec.cxx"
|
#include "boost_no_mem_func_spec.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_member_function_specializations = empty_boost;
|
namespace boost_no_member_function_specializations = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
|
||||||
#include "boost_no_mem_tem_keyword.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_member_template_keyword = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
#include "boost_no_mem_templ_frnds.cxx"
|
#include "boost_no_mem_templ_frnds.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_member_template_friends = empty_boost;
|
namespace boost_no_member_template_friends = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATES
|
|
||||||
#include "boost_no_mem_templates.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_member_templates = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
|
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||||
#include "boost_no_ops_in_namespace.cxx"
|
#include "boost_no_ops_in_namespace.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_operators_in_namespace = empty_boost;
|
namespace boost_no_operators_in_namespace = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
|
||||||
#include "boost_no_partial_spec.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_template_partial_specialization = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_PRIVATE_IN_AGGREGATE
|
#ifndef BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||||
#include "boost_no_priv_aggregate.cxx"
|
#include "boost_no_priv_aggregate.cxx"
|
||||||
#else
|
#else
|
||||||
@ -168,11 +103,6 @@ namespace boost_no_private_in_aggregate = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_pointer_to_member_const = empty_boost;
|
namespace boost_no_pointer_to_member_const = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
|
||||||
#include "boost_no_ret_det.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_unreachable_return_detection = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STRINGSTREAM
|
#ifndef BOOST_NO_STRINGSTREAM
|
||||||
#include "boost_no_sstream.cxx"
|
#include "boost_no_sstream.cxx"
|
||||||
#else
|
#else
|
||||||
@ -183,61 +113,21 @@ namespace boost_no_stringstream = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_std_allocator = empty_boost;
|
namespace boost_no_std_allocator = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STD_DISTANCE
|
|
||||||
#include "boost_no_std_distance.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_distance = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
|
|
||||||
#include "boost_no_std_iter_traits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_iterator_traits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_ITERATOR
|
#ifndef BOOST_NO_STD_ITERATOR
|
||||||
#include "boost_no_std_iterator.cxx"
|
#include "boost_no_std_iterator.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_std_iterator = empty_boost;
|
namespace boost_no_std_iterator = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STD_LOCALE
|
|
||||||
#include "boost_no_std_locale.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_locale = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_MESSAGES
|
|
||||||
#include "boost_no_std_messages.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_messages = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_MIN_MAX
|
#ifndef BOOST_NO_STD_MIN_MAX
|
||||||
#include "boost_no_std_min_max.cxx"
|
#include "boost_no_std_min_max.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_std_min_max = empty_boost;
|
namespace boost_no_std_min_max = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
|
|
||||||
#include "boost_no_std_oi_assign.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_output_iterator_assign = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_USE_FACET
|
|
||||||
#include "boost_no_std_use_facet.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_use_facet = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_WSTREAMBUF
|
#ifndef BOOST_NO_STD_WSTREAMBUF
|
||||||
#include "boost_no_std_wstreambuf.cxx"
|
#include "boost_no_std_wstreambuf.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_std_wstreambuf = empty_boost;
|
namespace boost_no_std_wstreambuf = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STD_WSTRING
|
|
||||||
#include "boost_no_std_wstring.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_wstring = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STDC_NAMESPACE
|
|
||||||
#include "boost_no_stdc_namespace.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_stdc_namespace = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_SWPRINTF
|
#ifndef BOOST_NO_SWPRINTF
|
||||||
#include "boost_no_swprintf.cxx"
|
#include "boost_no_swprintf.cxx"
|
||||||
#else
|
#else
|
||||||
@ -248,11 +138,6 @@ namespace boost_no_swprintf = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_template_templates = empty_boost;
|
namespace boost_no_template_templates = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
|
||||||
#include "boost_no_using_decl_overld.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_using_declaration_overloads_from_typename_base = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_USING_TEMPLATE
|
#ifndef BOOST_NO_USING_TEMPLATE
|
||||||
#include "boost_no_using_template.cxx"
|
#include "boost_no_using_template.cxx"
|
||||||
#else
|
#else
|
||||||
@ -263,146 +148,36 @@ namespace boost_no_using_template = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_void_returns = empty_boost;
|
namespace boost_no_void_returns = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
|
|
||||||
#include "boost_no_wchar_t.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_intrinsic_wchar_t = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_TWO_ARG_USE_FACET
|
|
||||||
#include "boost_has_2arg_use_facet.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_two_arg_use_facet = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_BETHREADS
|
|
||||||
#include "boost_has_bethreads.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_bethreads = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_CLOCK_GETTIME
|
|
||||||
#include "boost_has_clock_gettime.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_clock_gettime = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_DIRENT_H
|
|
||||||
#include "boost_has_dirent_h.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_dirent_h = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_FTIME
|
|
||||||
#include "boost_has_ftime.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_ftime = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_GETTIMEOFDAY
|
#ifdef BOOST_HAS_GETTIMEOFDAY
|
||||||
#include "boost_has_gettimeofday.cxx"
|
#include "boost_has_gettimeofday.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_gettimeofday = empty_boost;
|
namespace boost_has_gettimeofday = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_HAS_HASH
|
|
||||||
#include "boost_has_hash.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_hash = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_LONG_LONG
|
|
||||||
#include "boost_has_long_long.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_long_long = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_MACRO_USE_FACET
|
#ifdef BOOST_HAS_MACRO_USE_FACET
|
||||||
#include "boost_has_macro_use_facet.cxx"
|
#include "boost_has_macro_use_facet.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_macro_use_facet = empty_boost;
|
namespace boost_has_macro_use_facet = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_HAS_MS_INT64
|
|
||||||
#include "boost_has_ms_int64.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_ms_int64 = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_NANOSLEEP
|
|
||||||
#include "boost_has_nanosleep.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_nanosleep = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_NL_TYPES_H
|
|
||||||
#include "boost_has_nl_types_h.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_nl_types_h = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_NRVO
|
#ifdef BOOST_HAS_NRVO
|
||||||
#include "boost_has_nrvo.cxx"
|
#include "boost_has_nrvo.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_nrvo = empty_boost;
|
namespace boost_has_nrvo = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
|
||||||
#include "boost_has_part_alloc.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_partial_std_allocator = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_PTHREAD_DELAY_NP
|
|
||||||
#include "boost_has_pthread_delay_np.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_pthread_delay_np = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
#include "boost_has_pthread_ma_st.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_pthread_mutexattr_settype = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_PTHREAD_YIELD
|
#ifdef BOOST_HAS_PTHREAD_YIELD
|
||||||
#include "boost_has_pthread_yield.cxx"
|
#include "boost_has_pthread_yield.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_pthread_yield = empty_boost;
|
namespace boost_has_pthread_yield = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_HAS_PTHREADS
|
|
||||||
#include "boost_has_pthreads.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_pthreads = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_SCHED_YIELD
|
|
||||||
#include "boost_has_sched_yield.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_sched_yield = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
|
|
||||||
#include "boost_has_sgi_type_traits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_sgi_type_traits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_SIGACTION
|
#ifdef BOOST_HAS_SIGACTION
|
||||||
#include "boost_has_sigaction.cxx"
|
#include "boost_has_sigaction.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_sigaction = empty_boost;
|
namespace boost_has_sigaction = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_HAS_SLIST
|
|
||||||
#include "boost_has_slist.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_slist = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_STDINT_H
|
|
||||||
#include "boost_has_stdint_h.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_stdint_h = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_STLP_USE_FACET
|
|
||||||
#include "boost_has_stlp_use_facet.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_has_stlp_use_facet = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_UNISTD_H
|
#ifdef BOOST_HAS_UNISTD_H
|
||||||
#include "boost_has_unistd_h.cxx"
|
#include "boost_has_unistd_h.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_has_unistd_h = empty_boost;
|
namespace boost_has_unistd_h = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BOOST_MSVC6_MEMBER_TEMPLATES
|
|
||||||
#include "boost_has_vc6_mem_templ.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_msvc6_member_templates = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_MSVC_STD_ITERATOR
|
|
||||||
#include "boost_has_vc_iterator.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_msvc_std_iterator = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifdef BOOST_HAS_WINTHREADS
|
#ifdef BOOST_HAS_WINTHREADS
|
||||||
#include "boost_has_winthreads.cxx"
|
#include "boost_has_winthreads.cxx"
|
||||||
#else
|
#else
|
||||||
@ -415,6 +190,7 @@ int test_main( int, char *[] )
|
|||||||
BOOST_TEST(0 == boost_no_void_returns::test());
|
BOOST_TEST(0 == boost_no_void_returns::test());
|
||||||
BOOST_TEST(0 == boost_no_using_template::test());
|
BOOST_TEST(0 == boost_no_using_template::test());
|
||||||
BOOST_TEST(0 == boost_no_using_declaration_overloads_from_typename_base::test());
|
BOOST_TEST(0 == boost_no_using_declaration_overloads_from_typename_base::test());
|
||||||
|
BOOST_TEST(0 == boost_function_scope_using_declaration_breaks_adl::test());
|
||||||
BOOST_TEST(0 == boost_no_template_templates::test());
|
BOOST_TEST(0 == boost_no_template_templates::test());
|
||||||
BOOST_TEST(0 == boost_no_swprintf::test());
|
BOOST_TEST(0 == boost_no_swprintf::test());
|
||||||
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
||||||
@ -430,6 +206,7 @@ int test_main( int, char *[] )
|
|||||||
BOOST_TEST(0 == boost_no_std_distance::test());
|
BOOST_TEST(0 == boost_no_std_distance::test());
|
||||||
BOOST_TEST(0 == boost_no_std_allocator::test());
|
BOOST_TEST(0 == boost_no_std_allocator::test());
|
||||||
BOOST_TEST(0 == boost_no_stringstream::test());
|
BOOST_TEST(0 == boost_no_stringstream::test());
|
||||||
|
BOOST_TEST(0 == boost_no_sfinae::test());
|
||||||
BOOST_TEST(0 == boost_no_unreachable_return_detection::test());
|
BOOST_TEST(0 == boost_no_unreachable_return_detection::test());
|
||||||
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
||||||
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
||||||
|
36
test/no_sfinae_fail.cpp
Normal file
36
test/no_sfinae_fail.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_SFINAE
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_SFINAE need not be defined.
|
||||||
|
// see boost_no_sfinae.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_sfinae.cxx on
|
||||||
|
// Wed Dec 10 13:13:32 GMTST 2003
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_SFINAE
|
||||||
|
#include "boost_no_sfinae.cxx"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_sfinae::test();
|
||||||
|
}
|
||||||
|
|
36
test/no_sfinae_pass.cpp
Normal file
36
test/no_sfinae_pass.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_SFINAE
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_SFINAE needs to be defined.
|
||||||
|
// see boost_no_sfinae.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_sfinae.cxx on
|
||||||
|
// Wed Dec 10 13:13:32 GMTST 2003
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_SFINAE
|
||||||
|
#include "boost_no_sfinae.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_sfinae = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_sfinae::test();
|
||||||
|
}
|
||||||
|
|
36
test/no_using_breaks_adl_fail.cpp
Normal file
36
test/no_using_breaks_adl_fail.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL need not be defined.
|
||||||
|
// see boost_no_using_breaks_adl.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_using_breaks_adl.cxx on
|
||||||
|
// Wed Dec 10 13:13:32 GMTST 2003
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
#include "boost_no_using_breaks_adl.cxx"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return ::test();
|
||||||
|
}
|
||||||
|
|
36
test/no_using_breaks_adl_pass.cpp
Normal file
36
test/no_using_breaks_adl_pass.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL needs to be defined.
|
||||||
|
// see boost_no_using_breaks_adl.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_using_breaks_adl.cxx on
|
||||||
|
// Wed Dec 10 13:13:32 GMTST 2003
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
|
#include "boost_no_using_breaks_adl.cxx"
|
||||||
|
#else
|
||||||
|
namespace = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return ::test();
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user