mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Use C++ compiler when doing gnu_get_libc_version() check
This commit is contained in:
parent
db95b02ecb
commit
c2de6d7458
262
configure
vendored
262
configure
vendored
@ -2846,7 +2846,7 @@ else
|
|||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_prog in gawk mawk nawk awk
|
for ac_prog in mawk gawk nawk awk
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@ -9763,13 +9763,20 @@ fi
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
ac_ext=C
|
||||||
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||||
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||||
|
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||||
|
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||||
|
cross_compiling=$ac_cv_prog_cxx_cross
|
||||||
|
|
||||||
echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
|
echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
|
||||||
echo "configure:9768: checking for gnu_get_libc_version()" >&5
|
echo "configure:9775: checking for gnu_get_libc_version()" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 9773 "configure"
|
#line 9780 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#ifdef HAVE_GNU_LIBC_VERSION_H
|
#ifdef HAVE_GNU_LIBC_VERSION_H
|
||||||
@ -9780,7 +9787,7 @@ int main() {
|
|||||||
const char *glibc_version = gnu_get_libc_version();
|
const char *glibc_version = gnu_get_libc_version();
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:9791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_func_gnu_get_libc_version=yes
|
ac_cv_func_gnu_get_libc_version=yes
|
||||||
else
|
else
|
||||||
@ -9802,14 +9809,21 @@ if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
ac_ext=c
|
||||||
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||||
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||||
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||||
|
cross_compiling=$ac_cv_prog_cc_cross
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking how to call gettimeofday""... $ac_c" 1>&6
|
echo $ac_n "checking how to call gettimeofday""... $ac_c" 1>&6
|
||||||
echo "configure:9808: checking how to call gettimeofday" >&5
|
echo "configure:9822: checking how to call gettimeofday" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 9813 "configure"
|
#line 9827 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
@ -9818,7 +9832,7 @@ struct timeval tv; struct timezone tzp;
|
|||||||
gettimeofday(&tv, &tzp);
|
gettimeofday(&tv, &tzp);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:9822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:9836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_gettimeofday_args=2
|
ac_cv_gettimeofday_args=2
|
||||||
else
|
else
|
||||||
@ -9826,7 +9840,7 @@ else
|
|||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 9830 "configure"
|
#line 9844 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
@ -9834,7 +9848,7 @@ int main() {
|
|||||||
struct timeval tv; gettimeofday(&tv);
|
struct timeval tv; gettimeofday(&tv);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:9838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:9852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_gettimeofday_args=1
|
ac_cv_gettimeofday_args=1
|
||||||
else
|
else
|
||||||
@ -9870,7 +9884,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for /dev/zero""... $ac_c" 1>&6
|
echo $ac_n "checking for /dev/zero""... $ac_c" 1>&6
|
||||||
echo "configure:9874: checking for /dev/zero" >&5
|
echo "configure:9888: checking for /dev/zero" >&5
|
||||||
if test "$HAVE_DEV_ZERO"; then
|
if test "$HAVE_DEV_ZERO"; then
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_DEV_ZERO 1
|
#define HAVE_DEV_ZERO 1
|
||||||
@ -9887,19 +9901,19 @@ EOF
|
|||||||
else
|
else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
echo $ac_n "checking for valloc""... $ac_c" 1>&6
|
echo $ac_n "checking for valloc""... $ac_c" 1>&6
|
||||||
echo "configure:9891: checking for valloc" >&5
|
echo "configure:9905: checking for valloc" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_valloc'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_valloc'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 9896 "configure"
|
#line 9910 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
int main() {
|
int main() {
|
||||||
void *ptr = valloc(1);
|
void *ptr = valloc(1);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:9903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:9917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_valloc=true
|
ac_cv_valloc=true
|
||||||
else
|
else
|
||||||
@ -9925,7 +9939,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether va_list assignments need array notation""... $ac_c" 1>&6
|
echo $ac_n "checking whether va_list assignments need array notation""... $ac_c" 1>&6
|
||||||
echo "configure:9929: checking whether va_list assignments need array notation" >&5
|
echo "configure:9943: checking whether va_list assignments need array notation" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_valistisarray'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_valistisarray'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -9933,7 +9947,7 @@ else
|
|||||||
ac_cv_valistisarray=false
|
ac_cv_valistisarray=false
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 9937 "configure"
|
#line 9951 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@ -9946,7 +9960,7 @@ else
|
|||||||
}
|
}
|
||||||
int main() { foo(0, 123); return(0); }
|
int main() { foo(0, 123); return(0); }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:9950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_valistisarray=false
|
ac_cv_valistisarray=false
|
||||||
else
|
else
|
||||||
@ -10022,12 +10036,12 @@ EOF
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo $ac_n "checking for sys_errlist/sys_nerr""... $ac_c" 1>&6
|
echo $ac_n "checking for sys_errlist/sys_nerr""... $ac_c" 1>&6
|
||||||
echo "configure:10026: checking for sys_errlist/sys_nerr" >&5
|
echo "configure:10040: checking for sys_errlist/sys_nerr" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_syserrlist'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_syserrlist'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10031 "configure"
|
#line 10045 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -10035,7 +10049,7 @@ int main() {
|
|||||||
char *foo = sys_errlist[sys_nerr-1];
|
char *foo = sys_errlist[sys_nerr-1];
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_syserrlist=true
|
ac_cv_syserrlist=true
|
||||||
else
|
else
|
||||||
@ -10062,7 +10076,7 @@ if test "$GNU_CXX"; then
|
|||||||
_MOZ_RTTI_FLAGS=${_COMPILER_PREFIX}-fno-rtti
|
_MOZ_RTTI_FLAGS=${_COMPILER_PREFIX}-fno-rtti
|
||||||
|
|
||||||
echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
|
||||||
echo "configure:10066: checking for C++ exceptions flag" >&5
|
echo "configure:10080: checking for C++ exceptions flag" >&5
|
||||||
|
|
||||||
if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -10094,12 +10108,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for ios::binary""... $ac_c" 1>&6
|
echo $ac_n "checking for ios::binary""... $ac_c" 1>&6
|
||||||
echo "configure:10098: checking for ios::binary" >&5
|
echo "configure:10112: checking for ios::binary" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_ios_binary'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_ios_binary'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10103 "configure"
|
#line 10117 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
@ -10108,7 +10122,7 @@ char *buffer = "config.log";
|
|||||||
fstream *mFileStream=new fstream(buffer, ios::binary);
|
fstream *mFileStream=new fstream(buffer, ios::binary);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_ios_binary=true
|
ac_cv_ios_binary=true
|
||||||
else
|
else
|
||||||
@ -10132,12 +10146,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for ios::bin""... $ac_c" 1>&6
|
echo $ac_n "checking for ios::bin""... $ac_c" 1>&6
|
||||||
echo "configure:10136: checking for ios::bin" >&5
|
echo "configure:10150: checking for ios::bin" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_ios_bin'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_ios_bin'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10141 "configure"
|
#line 10155 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
@ -10146,7 +10160,7 @@ char *buffer = "config.log";
|
|||||||
fstream *mFileStream=new fstream(buffer, ios::bin);
|
fstream *mFileStream=new fstream(buffer, ios::bin);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_ios_bin=true
|
ac_cv_ios_bin=true
|
||||||
else
|
else
|
||||||
@ -10169,19 +10183,19 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
|
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
|
||||||
echo "configure:10173: checking for ostreams" >&5
|
echo "configure:10187: checking for ostreams" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_ostream'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_ostream'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10178 "configure"
|
#line 10192 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
int main() {
|
int main() {
|
||||||
streambuf *xxx; ostream *foo=new ostream(xxx);
|
streambuf *xxx; ostream *foo=new ostream(xxx);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_ostream=true
|
ac_cv_ostream=true
|
||||||
else
|
else
|
||||||
@ -10207,19 +10221,19 @@ else
|
|||||||
LIBS='-lemxio -lsocket -lstdcpp'
|
LIBS='-lemxio -lsocket -lstdcpp'
|
||||||
fi
|
fi
|
||||||
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
|
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
|
||||||
echo "configure:10211: checking for ostreams in -lstdc++" >&5
|
echo "configure:10225: checking for ostreams in -lstdc++" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_stdcpp_ostream'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_stdcpp_ostream'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10216 "configure"
|
#line 10230 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
int main() {
|
int main() {
|
||||||
ostream *foo=new ostream();
|
ostream *foo=new ostream();
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_lib_stdcpp_ostream=true
|
ac_cv_lib_stdcpp_ostream=true
|
||||||
else
|
else
|
||||||
@ -10244,19 +10258,19 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
|
||||||
echo "configure:10248: checking for C++ \"bool\" keyword" >&5
|
echo "configure:10262: checking for C++ \"bool\" keyword" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_bool'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_bool'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10253 "configure"
|
#line 10267 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
bool b;
|
bool b;
|
||||||
int main() {
|
int main() {
|
||||||
b = true;
|
b = true;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_bool=yes
|
ac_cv_cpp_bool=yes
|
||||||
else
|
else
|
||||||
@ -10278,12 +10292,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
|
||||||
echo "configure:10282: checking for C++ \"explicit\" keyword" >&5
|
echo "configure:10296: checking for C++ \"explicit\" keyword" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10287 "configure"
|
#line 10301 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
class X {
|
class X {
|
||||||
public: explicit X(int i) : i_(i) {}
|
public: explicit X(int i) : i_(i) {}
|
||||||
@ -10293,7 +10307,7 @@ int main() {
|
|||||||
X x(3);
|
X x(3);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_explicit=yes
|
ac_cv_cpp_explicit=yes
|
||||||
else
|
else
|
||||||
@ -10314,12 +10328,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
|
||||||
echo "configure:10318: checking for C++ template specialization support" >&5
|
echo "configure:10332: checking for C++ template specialization support" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_template_specialization'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_template_specialization'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10323 "configure"
|
#line 10337 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
template <class T> struct X { int a; };
|
template <class T> struct X { int a; };
|
||||||
class Y {};
|
class Y {};
|
||||||
@ -10329,7 +10343,7 @@ X<int> int_x;
|
|||||||
X<Y> y_x;
|
X<Y> y_x;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_template_specialization=yes
|
ac_cv_cpp_template_specialization=yes
|
||||||
else
|
else
|
||||||
@ -10359,12 +10373,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for modern C++ template specialization syntax support""... $ac_c" 1>&6
|
echo $ac_n "checking for modern C++ template specialization syntax support""... $ac_c" 1>&6
|
||||||
echo "configure:10363: checking for modern C++ template specialization syntax support" >&5
|
echo "configure:10377: checking for modern C++ template specialization syntax support" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_modern_specialize_template_syntax'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_modern_specialize_template_syntax'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10368 "configure"
|
#line 10382 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
template <class T> struct X { int a; };
|
template <class T> struct X { int a; };
|
||||||
class Y {};
|
class Y {};
|
||||||
@ -10374,7 +10388,7 @@ X<int> int_x;
|
|||||||
X<Y> y_x;
|
X<Y> y_x;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_modern_specialize_template_syntax=yes
|
ac_cv_cpp_modern_specialize_template_syntax=yes
|
||||||
else
|
else
|
||||||
@ -10396,12 +10410,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether partial template specialization works""... $ac_c" 1>&6
|
echo $ac_n "checking whether partial template specialization works""... $ac_c" 1>&6
|
||||||
echo "configure:10400: checking whether partial template specialization works" >&5
|
echo "configure:10414: checking whether partial template specialization works" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10405 "configure"
|
#line 10419 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
template <class T> class Foo {};
|
template <class T> class Foo {};
|
||||||
template <class T> class Foo<T*> {};
|
template <class T> class Foo<T*> {};
|
||||||
@ -10409,7 +10423,7 @@ int main() {
|
|||||||
return 0;
|
return 0;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_partial_specialization=yes
|
ac_cv_cpp_partial_specialization=yes
|
||||||
else
|
else
|
||||||
@ -10431,12 +10445,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether operators must be re-defined for templates derived from templates""... $ac_c" 1>&6
|
echo $ac_n "checking whether operators must be re-defined for templates derived from templates""... $ac_c" 1>&6
|
||||||
echo "configure:10435: checking whether operators must be re-defined for templates derived from templates" >&5
|
echo "configure:10449: checking whether operators must be re-defined for templates derived from templates" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_need_derived_template_operators'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_need_derived_template_operators'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10440 "configure"
|
#line 10454 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
template <class T> class Base { };
|
template <class T> class Base { };
|
||||||
template <class T>
|
template <class T>
|
||||||
@ -10448,7 +10462,7 @@ Derived<char> a, b;
|
|||||||
return 0;
|
return 0;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_need_derived_template_operators=no
|
ac_cv_need_derived_template_operators=no
|
||||||
else
|
else
|
||||||
@ -10470,12 +10484,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether we need to cast a derived template to pass as its base class""... $ac_c" 1>&6
|
echo $ac_n "checking whether we need to cast a derived template to pass as its base class""... $ac_c" 1>&6
|
||||||
echo "configure:10474: checking whether we need to cast a derived template to pass as its base class" >&5
|
echo "configure:10488: checking whether we need to cast a derived template to pass as its base class" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_need_cpp_template_cast_to_base'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_need_cpp_template_cast_to_base'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10479 "configure"
|
#line 10493 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
template <class T> class Base { };
|
template <class T> class Base { };
|
||||||
template <class T> class Derived : public Base<T> { };
|
template <class T> class Derived : public Base<T> { };
|
||||||
@ -10484,7 +10498,7 @@ int main() {
|
|||||||
Derived<char> bar; return foo(bar);
|
Derived<char> bar; return foo(bar);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_need_cpp_template_cast_to_base=no
|
ac_cv_need_cpp_template_cast_to_base=no
|
||||||
else
|
else
|
||||||
@ -10505,12 +10519,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether the compiler can resolve const ambiguities for templates""... $ac_c" 1>&6
|
echo $ac_n "checking whether the compiler can resolve const ambiguities for templates""... $ac_c" 1>&6
|
||||||
echo "configure:10509: checking whether the compiler can resolve const ambiguities for templates" >&5
|
echo "configure:10523: checking whether the compiler can resolve const ambiguities for templates" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_can_resolve_const_ambiguity'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_can_resolve_const_ambiguity'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10514 "configure"
|
#line 10528 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
template <class T> class ptrClass {
|
template <class T> class ptrClass {
|
||||||
@ -10531,7 +10545,7 @@ int main() {
|
|||||||
a(&i);
|
a(&i);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_can_resolve_const_ambiguity=yes
|
ac_cv_can_resolve_const_ambiguity=yes
|
||||||
else
|
else
|
||||||
@ -10553,12 +10567,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether the C++ \"using\" keyword can change access""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C++ \"using\" keyword can change access""... $ac_c" 1>&6
|
||||||
echo "configure:10557: checking whether the C++ \"using\" keyword can change access" >&5
|
echo "configure:10571: checking whether the C++ \"using\" keyword can change access" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_access_changing_using'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_access_changing_using'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10562 "configure"
|
#line 10576 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
class X { public: int go(const X&) {return 3;} };
|
class X { public: int go(const X&) {return 3;} };
|
||||||
class Y : public X {
|
class Y : public X {
|
||||||
@ -10569,7 +10583,7 @@ int main() {
|
|||||||
X x; Y y;
|
X x; Y y;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_access_changing_using=yes
|
ac_cv_cpp_access_changing_using=yes
|
||||||
else
|
else
|
||||||
@ -10590,12 +10604,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
|
||||||
echo "configure:10594: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
|
echo "configure:10608: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10599 "configure"
|
#line 10613 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
class X {
|
class X {
|
||||||
public: int go(const X&) {return 3;}
|
public: int go(const X&) {return 3;}
|
||||||
@ -10611,7 +10625,7 @@ int main() {
|
|||||||
X x; Y y; y.jo(x);
|
X x; Y y; y.jo(x);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_ambiguity_resolving_using=yes
|
ac_cv_cpp_ambiguity_resolving_using=yes
|
||||||
else
|
else
|
||||||
@ -10632,19 +10646,19 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for \"std::\" namespace""... $ac_c" 1>&6
|
echo $ac_n "checking for \"std::\" namespace""... $ac_c" 1>&6
|
||||||
echo "configure:10636: checking for \"std::\" namespace" >&5
|
echo "configure:10650: checking for \"std::\" namespace" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_namespace_std'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_namespace_std'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10641 "configure"
|
#line 10655 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
int main() {
|
int main() {
|
||||||
return std::min(0, 1);
|
return std::min(0, 1);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_namespace_std=yes
|
ac_cv_cpp_namespace_std=yes
|
||||||
else
|
else
|
||||||
@ -10665,12 +10679,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether standard template operator!=() is ambiguous""... $ac_c" 1>&6
|
echo $ac_n "checking whether standard template operator!=() is ambiguous""... $ac_c" 1>&6
|
||||||
echo "configure:10669: checking whether standard template operator!=() is ambiguous" >&5
|
echo "configure:10683: checking whether standard template operator!=() is ambiguous" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_unambiguous_std_notequal'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_unambiguous_std_notequal'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10674 "configure"
|
#line 10688 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
struct T1 {};
|
struct T1 {};
|
||||||
@ -10680,7 +10694,7 @@ int main() {
|
|||||||
T1 a,b; return a != b;
|
T1 a,b; return a != b;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_unambiguous_std_notequal=unambiguous
|
ac_cv_cpp_unambiguous_std_notequal=unambiguous
|
||||||
else
|
else
|
||||||
@ -10702,12 +10716,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
|
||||||
echo "configure:10706: checking for C++ reinterpret_cast" >&5
|
echo "configure:10720: checking for C++ reinterpret_cast" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_reinterpret_cast'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_reinterpret_cast'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10711 "configure"
|
#line 10725 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
struct X { int i; };
|
struct X { int i; };
|
||||||
struct Y { int i; };
|
struct Y { int i; };
|
||||||
@ -10715,7 +10729,7 @@ int main() {
|
|||||||
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
|
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_reinterpret_cast=yes
|
ac_cv_cpp_reinterpret_cast=yes
|
||||||
else
|
else
|
||||||
@ -10736,7 +10750,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
|
echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
|
||||||
echo "configure:10740: checking for C++ dynamic_cast to void*" >&5
|
echo "configure:10754: checking for C++ dynamic_cast to void*" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -10744,7 +10758,7 @@ else
|
|||||||
ac_cv_cpp_dynamic_cast_void_ptr=no
|
ac_cv_cpp_dynamic_cast_void_ptr=no
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10748 "configure"
|
#line 10762 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" void exit(int);
|
extern "C" void exit(int);
|
||||||
@ -10763,7 +10777,7 @@ class X { int i; public: virtual ~X() { } };
|
|||||||
((void*)&mdo == dynamic_cast<void*>(suby))));
|
((void*)&mdo == dynamic_cast<void*>(suby))));
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:10781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_cpp_dynamic_cast_void_ptr=yes
|
ac_cv_cpp_dynamic_cast_void_ptr=yes
|
||||||
else
|
else
|
||||||
@ -10787,19 +10801,19 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
|
echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
|
||||||
echo "configure:10791: checking whether C++ requires implementation of unused virtual methods" >&5
|
echo "configure:10805: checking whether C++ requires implementation of unused virtual methods" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10796 "configure"
|
#line 10810 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
class X {private: virtual void never_called();};
|
class X {private: virtual void never_called();};
|
||||||
int main() {
|
int main() {
|
||||||
X x;
|
X x;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:10817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_cpp_unused_required=no
|
ac_cv_cpp_unused_required=no
|
||||||
else
|
else
|
||||||
@ -10822,12 +10836,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
|
echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
|
||||||
echo "configure:10826: checking for trouble comparing to zero near std::operator!=()" >&5
|
echo "configure:10840: checking for trouble comparing to zero near std::operator!=()" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10831 "configure"
|
#line 10845 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
template <class T> class Foo {};
|
template <class T> class Foo {};
|
||||||
@ -10838,7 +10852,7 @@ int main() {
|
|||||||
Foo<int> f; return (0 != f);
|
Foo<int> f; return (0 != f);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_trouble_comparing_to_zero=no
|
ac_cv_trouble_comparing_to_zero=no
|
||||||
else
|
else
|
||||||
@ -10870,19 +10884,19 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
||||||
echo "configure:10874: checking for LC_MESSAGES" >&5
|
echo "configure:10888: checking for LC_MESSAGES" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10879 "configure"
|
#line 10893 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
int main() {
|
int main() {
|
||||||
int category = LC_MESSAGES;
|
int category = LC_MESSAGES;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_i18n_lc_messages=yes
|
ac_cv_i18n_lc_messages=yes
|
||||||
else
|
else
|
||||||
@ -11493,12 +11507,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
|||||||
_SAVE_CXXFLAGS=$CXXFLAGS
|
_SAVE_CXXFLAGS=$CXXFLAGS
|
||||||
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
|
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
|
||||||
echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6
|
echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6
|
||||||
echo "configure:11497: checking whether C++ compiler has -pedantic long long bug" >&5
|
echo "configure:11511: checking whether C++ compiler has -pedantic long long bug" >&5
|
||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
result="maybe"
|
result="maybe"
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11502 "configure"
|
#line 11516 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" void exit(int);
|
extern "C" void exit(int);
|
||||||
@ -11507,7 +11521,7 @@ extern "C" void exit(int);
|
|||||||
if (sizeof(long long) != 8) { return 1; }
|
if (sizeof(long long) != 8) { return 1; }
|
||||||
return 0; }
|
return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
result="no"
|
result="no"
|
||||||
else
|
else
|
||||||
@ -11555,12 +11569,12 @@ _SAVE_CXXFLAGS=$CXXFLAGS
|
|||||||
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
|
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
|
||||||
|
|
||||||
echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
|
echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
|
||||||
echo "configure:11559: checking for correct overload resolution with const and templates" >&5
|
echo "configure:11573: checking for correct overload resolution with const and templates" >&5
|
||||||
if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11564 "configure"
|
#line 11578 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
@ -11590,7 +11604,7 @@ int main() {
|
|||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_nscap_nonconst_opeq_bug="no"
|
ac_nscap_nonconst_opeq_bug="no"
|
||||||
else
|
else
|
||||||
@ -11636,16 +11650,16 @@ if test "$_IGNORE_LONG_LONG_WARNINGS"; then
|
|||||||
_SAVE_CFLAGS="$CFLAGS"
|
_SAVE_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"
|
CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"
|
||||||
echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6
|
echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6
|
||||||
echo "configure:11640: checking whether compiler supports -Wno-long-long" >&5
|
echo "configure:11654: checking whether compiler supports -Wno-long-long" >&5
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11642 "configure"
|
#line 11656 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
return(0);
|
return(0);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
||||||
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
||||||
@ -11894,7 +11908,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking webshell leaks option""... $ac_c" 1>&6
|
echo $ac_n "checking webshell leaks option""... $ac_c" 1>&6
|
||||||
echo "configure:11898: checking webshell leaks option" >&5
|
echo "configure:11912: checking webshell leaks option" >&5
|
||||||
# Check whether --enable-detect-webshell-leaks or --disable-detect-webshell-leaks was given.
|
# Check whether --enable-detect-webshell-leaks or --disable-detect-webshell-leaks was given.
|
||||||
if test "${enable_detect_webshell_leaks+set}" = set; then
|
if test "${enable_detect_webshell_leaks+set}" = set; then
|
||||||
enableval="$enable_detect_webshell_leaks"
|
enableval="$enable_detect_webshell_leaks"
|
||||||
@ -11968,7 +11982,7 @@ if test "${enable_efence+set}" = set; then
|
|||||||
enableval="$enable_efence"
|
enableval="$enable_efence"
|
||||||
if test "$enableval" = "yes"; then
|
if test "$enableval" = "yes"; then
|
||||||
echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
|
echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
|
||||||
echo "configure:11972: checking for malloc in -lefence" >&5
|
echo "configure:11986: checking for malloc in -lefence" >&5
|
||||||
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -11976,7 +11990,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lefence $LIBS"
|
LIBS="-lefence $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11980 "configure"
|
#line 11994 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -11987,7 +12001,7 @@ int main() {
|
|||||||
malloc()
|
malloc()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12023,7 +12037,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for cplus_demangle in -liberty""... $ac_c" 1>&6
|
echo $ac_n "checking for cplus_demangle in -liberty""... $ac_c" 1>&6
|
||||||
echo "configure:12027: checking for cplus_demangle in -liberty" >&5
|
echo "configure:12041: checking for cplus_demangle in -liberty" >&5
|
||||||
ac_lib_var=`echo iberty'_'cplus_demangle | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo iberty'_'cplus_demangle | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -12031,7 +12045,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-liberty "-liberty" $LIBS"
|
LIBS="-liberty "-liberty" $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12035 "configure"
|
#line 12049 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -12042,7 +12056,7 @@ int main() {
|
|||||||
cplus_demangle()
|
cplus_demangle()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12388,7 +12402,7 @@ case "$target" in
|
|||||||
# Extract the first word of "makeC++SharedLib_r", so it can be a program name with args.
|
# Extract the first word of "makeC++SharedLib_r", so it can be a program name with args.
|
||||||
set dummy makeC++SharedLib_r; ac_word=$2
|
set dummy makeC++SharedLib_r; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:12392: checking for $ac_word" >&5
|
echo "configure:12406: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_AIX_SHLIB_BIN'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_AIX_SHLIB_BIN'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -12533,7 +12547,7 @@ if test "$JPEG_DIR" = no; then
|
|||||||
SYSTEM_JPEG=
|
SYSTEM_JPEG=
|
||||||
else
|
else
|
||||||
echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
|
echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
|
||||||
echo "configure:12537: checking for jpeg_destroy_compress in -ljpeg" >&5
|
echo "configure:12551: checking for jpeg_destroy_compress in -ljpeg" >&5
|
||||||
ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -12541,7 +12555,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-ljpeg $JPEG_LIBS $LIBS"
|
LIBS="-ljpeg $JPEG_LIBS $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12545 "configure"
|
#line 12559 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -12552,7 +12566,7 @@ int main() {
|
|||||||
jpeg_destroy_compress()
|
jpeg_destroy_compress()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12581,7 +12595,7 @@ if test "$SYSTEM_JPEG" = 1; then
|
|||||||
SYSTEM_JPEG=
|
SYSTEM_JPEG=
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12585 "configure"
|
#line 12599 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -12595,7 +12609,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
SYSTEM_JPEG=1
|
SYSTEM_JPEG=1
|
||||||
else
|
else
|
||||||
@ -12633,16 +12647,16 @@ if test "$ZLIB_DIR" = no; then
|
|||||||
SYSTEM_ZLIB=
|
SYSTEM_ZLIB=
|
||||||
else
|
else
|
||||||
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
|
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
|
||||||
echo "configure:12637: checking "for zlib.h"" >&5
|
echo "configure:12651: checking "for zlib.h"" >&5
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12639 "configure"
|
#line 12653 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include "zlib.h"
|
#include "zlib.h"
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:12660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
result="yes" SYSTEM_ZLIB=1
|
result="yes" SYSTEM_ZLIB=1
|
||||||
else
|
else
|
||||||
@ -12656,7 +12670,7 @@ rm -f conftest*
|
|||||||
fi
|
fi
|
||||||
if test "$SYSTEM_ZLIB" = 1; then
|
if test "$SYSTEM_ZLIB" = 1; then
|
||||||
echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
|
echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
|
||||||
echo "configure:12660: checking for gzread in -lz" >&5
|
echo "configure:12674: checking for gzread in -lz" >&5
|
||||||
ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -12664,7 +12678,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lz $ZLIB_LIBS $LIBS"
|
LIBS="-lz $ZLIB_LIBS $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12668 "configure"
|
#line 12682 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -12675,7 +12689,7 @@ int main() {
|
|||||||
gzread()
|
gzread()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12721,7 +12735,7 @@ if test "$PNG_DIR" = no; then
|
|||||||
SYSTEM_PNG=
|
SYSTEM_PNG=
|
||||||
else
|
else
|
||||||
echo $ac_n "checking for png_get_valid in -lpng""... $ac_c" 1>&6
|
echo $ac_n "checking for png_get_valid in -lpng""... $ac_c" 1>&6
|
||||||
echo "configure:12725: checking for png_get_valid in -lpng" >&5
|
echo "configure:12739: checking for png_get_valid in -lpng" >&5
|
||||||
ac_lib_var=`echo png'_'png_get_valid | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo png'_'png_get_valid | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -12729,7 +12743,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lpng $PNG_LIBS $LIBS"
|
LIBS="-lpng $PNG_LIBS $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12733 "configure"
|
#line 12747 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -12740,7 +12754,7 @@ int main() {
|
|||||||
png_get_valid()
|
png_get_valid()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12768,7 +12782,7 @@ if test "$SYSTEM_PNG" = 1; then
|
|||||||
SYSTEM_PNG=
|
SYSTEM_PNG=
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12772 "configure"
|
#line 12786 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -12782,7 +12796,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:12800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
SYSTEM_PNG=1
|
SYSTEM_PNG=1
|
||||||
else
|
else
|
||||||
@ -12821,7 +12835,7 @@ if test "$MNG_DIR" = no; then
|
|||||||
SYSTEM_MNG=
|
SYSTEM_MNG=
|
||||||
else
|
else
|
||||||
echo $ac_n "checking for mng_initialize in -lmng""... $ac_c" 1>&6
|
echo $ac_n "checking for mng_initialize in -lmng""... $ac_c" 1>&6
|
||||||
echo "configure:12825: checking for mng_initialize in -lmng" >&5
|
echo "configure:12839: checking for mng_initialize in -lmng" >&5
|
||||||
ac_lib_var=`echo mng'_'mng_initialize | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo mng'_'mng_initialize | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -12829,7 +12843,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lmng $MNG_LIBS $LIBS"
|
LIBS="-lmng $MNG_LIBS $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12833 "configure"
|
#line 12847 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -12840,7 +12854,7 @@ int main() {
|
|||||||
mng_initialize()
|
mng_initialize()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -12868,7 +12882,7 @@ if test "$SYSTEM_MNG" = 1; then
|
|||||||
SYSTEM_MNG=
|
SYSTEM_MNG=
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12872 "configure"
|
#line 12886 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -12882,7 +12896,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:12900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
SYSTEM_MNG=1
|
SYSTEM_MNG=1
|
||||||
else
|
else
|
||||||
@ -12948,9 +12962,9 @@ CFLAGS="$CFLAGS -I${FULLCIRCLE_DIR}"
|
|||||||
LDFLAGS="$LDFLAGS -L${FULLCIRCLE_DIR}"
|
LDFLAGS="$LDFLAGS -L${FULLCIRCLE_DIR}"
|
||||||
LIBS="-lfullsoft $LIBS"
|
LIBS="-lfullsoft $LIBS"
|
||||||
echo $ac_n "checking "for FCInitialize in -lfullsoft"""... $ac_c" 1>&6
|
echo $ac_n "checking "for FCInitialize in -lfullsoft"""... $ac_c" 1>&6
|
||||||
echo "configure:12952: checking "for FCInitialize in -lfullsoft"" >&5;
|
echo "configure:12966: checking "for FCInitialize in -lfullsoft"" >&5;
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 12954 "configure"
|
#line 12968 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "fullsoft.h"
|
#include "fullsoft.h"
|
||||||
@ -12958,7 +12972,7 @@ int main() {
|
|||||||
FCInitialize(); exit(0);
|
FCInitialize(); exit(0);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
FULLCIRCLE_LIBS="-I${FULLCIRCLE_DIR} -L${FULLCIRCLE_DIR} -lfullsoft" result="yes"
|
FULLCIRCLE_LIBS="-I${FULLCIRCLE_DIR} -L${FULLCIRCLE_DIR} -lfullsoft" result="yes"
|
||||||
else
|
else
|
||||||
|
@ -2359,6 +2359,7 @@ AC_FUNC_MEMCMP
|
|||||||
AC_CHECK_FUNCS(random qsort strerror lchown fchmod snprintf localtime_r statvfs memmove usleep rint)
|
AC_CHECK_FUNCS(random qsort strerror lchown fchmod snprintf localtime_r statvfs memmove usleep rint)
|
||||||
AC_CHECK_FUNCS(nl_langinfo)
|
AC_CHECK_FUNCS(nl_langinfo)
|
||||||
|
|
||||||
|
AC_LANG_CPLUSPLUS
|
||||||
AC_CACHE_CHECK(
|
AC_CACHE_CHECK(
|
||||||
[for gnu_get_libc_version()],
|
[for gnu_get_libc_version()],
|
||||||
ac_cv_func_gnu_get_libc_version,
|
ac_cv_func_gnu_get_libc_version,
|
||||||
@ -2376,6 +2377,7 @@ AC_CACHE_CHECK(
|
|||||||
if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
|
if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
|
||||||
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)
|
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)
|
||||||
fi
|
fi
|
||||||
|
AC_LANG_C
|
||||||
|
|
||||||
AC_MSG_CHECKING(how to call gettimeofday)
|
AC_MSG_CHECKING(how to call gettimeofday)
|
||||||
AC_CACHE_VAL(ac_cv_gettimeofday_args,
|
AC_CACHE_VAL(ac_cv_gettimeofday_args,
|
||||||
|
Loading…
Reference in New Issue
Block a user