зеркало из https://github.com/mozilla/gecko-dev.git
Automated update
This commit is contained in:
Родитель
d2bf42255e
Коммит
e245370830
|
@ -7784,15 +7784,82 @@ else
|
|||
MOZ_NATIVE_NSPR=1
|
||||
fi
|
||||
|
||||
echo $ac_n "checking if mmap() sees write()s""... $ac_c" 1>&6
|
||||
echo "configure:7789: checking if mmap() sees write()s" >&5
|
||||
|
||||
|
||||
mmap_test_prog='
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
char fname[] = "conftest.file";
|
||||
char zbuff[1024]; /* Fractional page is probably worst case */
|
||||
|
||||
int main() {
|
||||
char *map;
|
||||
int fd;
|
||||
int i;
|
||||
unlink(fname);
|
||||
fd = open(fname, O_RDWR | O_CREAT, 0660);
|
||||
if(fd<0) return 1;
|
||||
unlink(fname);
|
||||
write(fd, zbuff, sizeof(zbuff));
|
||||
lseek(fd, 0, SEEK_SET);
|
||||
map = (char*)mmap(0, sizeof(zbuff), PROT_READ, MAP_SHARED, fd, 0);
|
||||
if(map==(char*)-1) return 2;
|
||||
for(i=0; fname[i]; i++) {
|
||||
int rc = write(fd, &fname[i], 1);
|
||||
if(map[i]!=fname[i]) return 4;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
'
|
||||
|
||||
|
||||
if test "$cross_compiling" = yes; then
|
||||
result="yes"
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7828 "configure"
|
||||
#include "confdefs.h"
|
||||
$mmap_test_prog
|
||||
EOF
|
||||
if { (eval echo configure:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
result="yes"
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -fr conftest*
|
||||
result="no"
|
||||
fi
|
||||
rm -fr conftest*
|
||||
fi
|
||||
|
||||
|
||||
echo "$ac_t"""$result"" 1>&6
|
||||
|
||||
if test "$result" = "no"; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define MMAP_MISSES_WRITES 1
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test $ac_cv_prog_gcc = yes; then
|
||||
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
|
||||
echo "configure:7790: checking whether ${CC-cc} needs -traditional" >&5
|
||||
echo "configure:7857: checking whether ${CC-cc} needs -traditional" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_pattern="Autoconf.*'x'"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7796 "configure"
|
||||
#line 7863 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sgtty.h>
|
||||
Autoconf TIOCGETP
|
||||
|
@ -7810,7 +7877,7 @@ rm -f conftest*
|
|||
|
||||
if test $ac_cv_prog_gcc_traditional = no; then
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7814 "configure"
|
||||
#line 7881 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <termio.h>
|
||||
Autoconf TCGETA
|
||||
|
@ -7832,7 +7899,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
|
||||
echo "configure:7836: checking for 8-bit clean memcmp" >&5
|
||||
echo "configure:7903: checking for 8-bit clean memcmp" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7840,7 +7907,7 @@ else
|
|||
ac_cv_func_memcmp_clean=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7844 "configure"
|
||||
#line 7911 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
main()
|
||||
|
@ -7850,7 +7917,7 @@ main()
|
|||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:7921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_func_memcmp_clean=yes
|
||||
else
|
||||
|
@ -7870,12 +7937,12 @@ test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
|
|||
for ac_func in random qsort strerror lchown fchmod snprintf localtime_r statvfs memmove
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:7874: checking for $ac_func" >&5
|
||||
echo "configure:7941: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7879 "configure"
|
||||
#line 7946 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -7898,7 +7965,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -7924,12 +7991,12 @@ done
|
|||
|
||||
|
||||
echo $ac_n "checking how to call gettimeofday""... $ac_c" 1>&6
|
||||
echo "configure:7928: checking how to call gettimeofday" >&5
|
||||
echo "configure:7995: checking how to call gettimeofday" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7933 "configure"
|
||||
#line 8000 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
|
@ -7938,7 +8005,7 @@ struct timeval tv; struct timezone tzp;
|
|||
gettimeofday(&tv, &tzp);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:7942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_gettimeofday_args=2
|
||||
else
|
||||
|
@ -7946,7 +8013,7 @@ else
|
|||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7950 "configure"
|
||||
#line 8017 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
|
@ -7954,7 +8021,7 @@ int main() {
|
|||
struct timeval tv; gettimeofday(&tv);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:7958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_gettimeofday_args=1
|
||||
else
|
||||
|
@ -7990,7 +8057,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking for /dev/zero""... $ac_c" 1>&6
|
||||
echo "configure:7994: checking for /dev/zero" >&5
|
||||
echo "configure:8061: checking for /dev/zero" >&5
|
||||
if test "$HAVE_DEV_ZERO"; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_DEV_ZERO 1
|
||||
|
@ -8007,19 +8074,19 @@ EOF
|
|||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
echo $ac_n "checking for valloc""... $ac_c" 1>&6
|
||||
echo "configure:8011: checking for valloc" >&5
|
||||
echo "configure:8078: checking for valloc" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_valloc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8016 "configure"
|
||||
#line 8083 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
int main() {
|
||||
void *ptr = valloc(1);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_valloc=true
|
||||
else
|
||||
|
@ -8095,12 +8162,12 @@ EOF
|
|||
esac
|
||||
|
||||
echo $ac_n "checking for sys_errlist/sys_nerr""... $ac_c" 1>&6
|
||||
echo "configure:8099: checking for sys_errlist/sys_nerr" >&5
|
||||
echo "configure:8166: checking for sys_errlist/sys_nerr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_syserrlist'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8104 "configure"
|
||||
#line 8171 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
@ -8108,7 +8175,7 @@ int main() {
|
|||
char *foo = sys_errlist[sys_nerr-1];
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_syserrlist=true
|
||||
else
|
||||
|
@ -8135,7 +8202,7 @@ if test "$GNU_CXX"; then
|
|||
_MOZ_RTTI_FLAGS=${_COMPILER_PREFIX}-fno-rtti
|
||||
|
||||
echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
|
||||
echo "configure:8139: checking for C++ exceptions flag" >&5
|
||||
echo "configure:8206: checking for C++ exceptions flag" >&5
|
||||
|
||||
if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -8162,12 +8229,12 @@ _SAVE_CC=$CC
|
|||
CC=$CXX
|
||||
ac_ext=C
|
||||
echo $ac_n "checking for ios::binary""... $ac_c" 1>&6
|
||||
echo "configure:8166: checking for ios::binary" >&5
|
||||
echo "configure:8233: checking for ios::binary" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_ios_binary'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8171 "configure"
|
||||
#line 8238 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
|
@ -8176,7 +8243,7 @@ char *buffer = "config.log";
|
|||
fstream *mFileStream=new fstream(buffer, ios::binary);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ios_binary=true
|
||||
else
|
||||
|
@ -8200,12 +8267,12 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking for ios::bin""... $ac_c" 1>&6
|
||||
echo "configure:8204: checking for ios::bin" >&5
|
||||
echo "configure:8271: checking for ios::bin" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_ios_bin'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8209 "configure"
|
||||
#line 8276 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
|
@ -8214,7 +8281,7 @@ char *buffer = "config.log";
|
|||
fstream *mFileStream=new fstream(buffer, ios::bin);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ios_bin=true
|
||||
else
|
||||
|
@ -8237,19 +8304,19 @@ else
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
|
||||
echo "configure:8241: checking for ostreams" >&5
|
||||
echo "configure:8308: checking for ostreams" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_ostream'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8246 "configure"
|
||||
#line 8313 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
int main() {
|
||||
streambuf *xxx; ostream *foo=new ostream(xxx);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:8320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ostream=true
|
||||
else
|
||||
|
@ -8272,19 +8339,19 @@ else
|
|||
_SAVE_LIBS=$LIBS
|
||||
LIBS="$LIBS -lstdc++"
|
||||
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
|
||||
echo "configure:8276: checking for ostreams in -lstdc++" >&5
|
||||
echo "configure:8343: checking for ostreams in -lstdc++" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_stdcpp_ostream'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8281 "configure"
|
||||
#line 8348 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
int main() {
|
||||
ostream *foo=new ostream();
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:8355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_lib_stdcpp_ostream=true
|
||||
else
|
||||
|
@ -8309,19 +8376,19 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
|
||||
echo "configure:8313: checking for C++ \"bool\" keyword" >&5
|
||||
echo "configure:8380: checking for C++ \"bool\" keyword" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_bool'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8318 "configure"
|
||||
#line 8385 "configure"
|
||||
#include "confdefs.h"
|
||||
bool b;
|
||||
int main() {
|
||||
b = true;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_bool=yes
|
||||
else
|
||||
|
@ -8343,12 +8410,12 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
|
||||
echo "configure:8347: checking for C++ \"explicit\" keyword" >&5
|
||||
echo "configure:8414: checking for C++ \"explicit\" keyword" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8352 "configure"
|
||||
#line 8419 "configure"
|
||||
#include "confdefs.h"
|
||||
class X {
|
||||
public: explicit X(int i) : i_(i) {}
|
||||
|
@ -8358,7 +8425,7 @@ int main() {
|
|||
X x(3);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_explicit=yes
|
||||
else
|
||||
|
@ -8379,12 +8446,12 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
|
||||
echo "configure:8383: checking for C++ template specialization support" >&5
|
||||
echo "configure:8450: checking for C++ template specialization support" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_template_specialization'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8388 "configure"
|
||||
#line 8455 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> struct X { int a; };
|
||||
class Y {};
|
||||
|
@ -8394,7 +8461,7 @@ X<int> int_x;
|
|||
X<Y> y_x;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_template_specialization=yes
|
||||
else
|
||||
|
@ -8426,12 +8493,12 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
|
||||
echo "configure:8430: checking for C++ \"using\" keyword" >&5
|
||||
echo "configure:8497: checking for C++ \"using\" keyword" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_using'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8435 "configure"
|
||||
#line 8502 "configure"
|
||||
#include "confdefs.h"
|
||||
class X { public: int go() {return 3;} };
|
||||
class Y : public X {
|
||||
|
@ -8441,7 +8508,7 @@ int main() {
|
|||
X x; Y y;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_using=yes
|
||||
else
|
||||
|
@ -8462,12 +8529,12 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
|
||||
echo "configure:8466: checking for C++ reinterpret_cast" >&5
|
||||
echo "configure:8533: checking for C++ reinterpret_cast" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_reinterpret_cast'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8471 "configure"
|
||||
#line 8538 "configure"
|
||||
#include "confdefs.h"
|
||||
struct X { int i; };
|
||||
struct Y { int i; };
|
||||
|
@ -8475,7 +8542,7 @@ int main() {
|
|||
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_reinterpret_cast=yes
|
||||
else
|
||||
|
@ -8496,19 +8563,19 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking whether C++ requires implementation of unused methods""... $ac_c" 1>&6
|
||||
echo "configure:8500: checking whether C++ requires implementation of unused methods" >&5
|
||||
echo "configure:8567: checking whether C++ requires implementation of unused methods" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8505 "configure"
|
||||
#line 8572 "configure"
|
||||
#include "confdefs.h"
|
||||
class X {private: void never_called();};
|
||||
int main() {
|
||||
X x;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_unused_required=no
|
||||
else
|
||||
|
@ -8534,19 +8601,19 @@ ac_ext=c
|
|||
|
||||
|
||||
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
||||
echo "configure:8538: checking for LC_MESSAGES" >&5
|
||||
echo "configure:8605: checking for LC_MESSAGES" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 8543 "configure"
|
||||
#line 8610 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <locale.h>
|
||||
int main() {
|
||||
int catagory = LC_MESSAGES;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:8617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_i18n_lc_messages=yes
|
||||
else
|
||||
|
@ -9086,16 +9153,16 @@ if test "$_IGNORE_LONG_LONG_WARNINGS"; then
|
|||
_SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"
|
||||
echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6
|
||||
echo "configure:9090: checking whether compiler supports -Wno-long-long" >&5
|
||||
echo "configure:9157: checking whether compiler supports -Wno-long-long" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9092 "configure"
|
||||
#line 9159 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
||||
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
|
||||
|
@ -9264,7 +9331,7 @@ if test "${enable_efence+set}" = set; then
|
|||
enableval="$enable_efence"
|
||||
if test "$enableval" = "yes"; then
|
||||
echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
|
||||
echo "configure:9268: checking for malloc in -lefence" >&5
|
||||
echo "configure:9335: checking for malloc in -lefence" >&5
|
||||
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -9272,7 +9339,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lefence $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9276 "configure"
|
||||
#line 9343 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -9283,7 +9350,7 @@ int main() {
|
|||
malloc()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:9354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -9474,7 +9541,7 @@ case "$target" in
|
|||
# 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
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:9478: checking for $ac_word" >&5
|
||||
echo "configure:9545: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_AIX_SHLIB_BIN'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -9594,7 +9661,7 @@ if test "$JPEG_DIR" = no; then
|
|||
SYSTEM_JPEG=
|
||||
else
|
||||
echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
|
||||
echo "configure:9598: checking for jpeg_destroy_compress in -ljpeg" >&5
|
||||
echo "configure:9665: checking for jpeg_destroy_compress in -ljpeg" >&5
|
||||
ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -9602,7 +9669,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-ljpeg $JPEG_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9606 "configure"
|
||||
#line 9673 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -9613,7 +9680,7 @@ int main() {
|
|||
jpeg_destroy_compress()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:9684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -9642,7 +9709,7 @@ if test "$SYSTEM_JPEG" = 1; then
|
|||
SYSTEM_JPEG=
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9646 "configure"
|
||||
#line 9713 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -9656,7 +9723,7 @@ else
|
|||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:9727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
SYSTEM_JPEG=1
|
||||
else
|
||||
|
@ -9694,16 +9761,16 @@ if test "$ZLIB_DIR" = no; then
|
|||
SYSTEM_ZLIB=
|
||||
else
|
||||
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
|
||||
echo "configure:9698: checking "for zlib.h"" >&5
|
||||
echo "configure:9765: checking "for zlib.h"" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9700 "configure"
|
||||
#line 9767 "configure"
|
||||
#include "confdefs.h"
|
||||
#include "zlib.h"
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
result="yes" SYSTEM_ZLIB=1
|
||||
else
|
||||
|
@ -9717,7 +9784,7 @@ rm -f conftest*
|
|||
fi
|
||||
if test "$SYSTEM_ZLIB" = 1; then
|
||||
echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
|
||||
echo "configure:9721: checking for gzread in -lz" >&5
|
||||
echo "configure:9788: checking for gzread in -lz" >&5
|
||||
ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -9725,7 +9792,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lz $ZLIB_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9729 "configure"
|
||||
#line 9796 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -9736,7 +9803,7 @@ int main() {
|
|||
gzread()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:9807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -9782,7 +9849,7 @@ if test "$PNG_DIR" = no; then
|
|||
SYSTEM_PNG=
|
||||
else
|
||||
echo $ac_n "checking for png_get_valid in -lpng""... $ac_c" 1>&6
|
||||
echo "configure:9786: checking for png_get_valid in -lpng" >&5
|
||||
echo "configure:9853: checking for png_get_valid in -lpng" >&5
|
||||
ac_lib_var=`echo png'_'png_get_valid | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -9790,7 +9857,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lpng $PNG_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9794 "configure"
|
||||
#line 9861 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -9801,7 +9868,7 @@ int main() {
|
|||
png_get_valid()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:9872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -9829,7 +9896,7 @@ if test "$SYSTEM_PNG" = 1; then
|
|||
SYSTEM_PNG=
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9833 "configure"
|
||||
#line 9900 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -9843,7 +9910,7 @@ else
|
|||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:9847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:9914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
SYSTEM_PNG=1
|
||||
else
|
||||
|
@ -9902,9 +9969,9 @@ CFLAGS="$CFLAGS -I${FULLCIRCLE_DIR}"
|
|||
LDFLAGS="$LDFLAGS -L${FULLCIRCLE_DIR}"
|
||||
LIBS="-lfullsoft $LIBS"
|
||||
echo $ac_n "checking "for FCInitialize in -lfullsoft"""... $ac_c" 1>&6
|
||||
echo "configure:9906: checking "for FCInitialize in -lfullsoft"" >&5;
|
||||
echo "configure:9973: checking "for FCInitialize in -lfullsoft"" >&5;
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9908 "configure"
|
||||
#line 9975 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include "fullsoft.h"
|
||||
|
@ -9912,7 +9979,7 @@ int main() {
|
|||
FCInitialize(); exit(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
FULLCIRCLE_LIBS="-I${FULLCIRCLE_DIR} -L${FULLCIRCLE_DIR} -lfullsoft" result="yes"
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче