mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Expand the function check for gnu_get_libc_version() into a full compile check as BeOS has the function in libroot.so but it is not declared in any headers.
This commit is contained in:
parent
73d8f227a4
commit
00c15765a7
283
configure
vendored
283
configure
vendored
@ -2841,7 +2841,7 @@ else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
for ac_prog in gawk mawk nawk awk
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
@ -9792,7 +9792,7 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
for ac_func in nl_langinfo gnu_get_libc_version
|
||||
for ac_func in nl_langinfo
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:9799: checking for $ac_func" >&5
|
||||
@ -9848,13 +9848,50 @@ fi
|
||||
done
|
||||
|
||||
|
||||
echo $ac_n "checking how to call gettimeofday""... $ac_c" 1>&6
|
||||
echo "configure:9853: checking how to call gettimeofday" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then
|
||||
echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
|
||||
echo "configure:9853: checking for gnu_get_libc_version()" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9858 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef HAVE_GNU_LIBC_VERSION_H
|
||||
#include <gnu/libc-version.h>
|
||||
#endif
|
||||
|
||||
int main() {
|
||||
const char *glibc_version = gnu_get_libc_version();
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_func_gnu_get_libc_version=yes
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_GNU_GET_LIBC_VERSION 1
|
||||
EOF
|
||||
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
ac_cv_func_gnu_get_libc_version=no
|
||||
|
||||
fi
|
||||
rm -f conftest*
|
||||
|
||||
fi
|
||||
|
||||
echo "$ac_t""$ac_cv_func_gnu_get_libc_version" 1>&6
|
||||
|
||||
echo $ac_n "checking how to call gettimeofday""... $ac_c" 1>&6
|
||||
echo "configure:9890: 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 9895 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
@ -9863,7 +9900,7 @@ struct timeval tv; struct timezone tzp;
|
||||
gettimeofday(&tv, &tzp);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_gettimeofday_args=2
|
||||
else
|
||||
@ -9871,7 +9908,7 @@ else
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9875 "configure"
|
||||
#line 9912 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
@ -9879,7 +9916,7 @@ int main() {
|
||||
struct timeval tv; gettimeofday(&tv);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_gettimeofday_args=1
|
||||
else
|
||||
@ -9915,7 +9952,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for /dev/zero""... $ac_c" 1>&6
|
||||
echo "configure:9919: checking for /dev/zero" >&5
|
||||
echo "configure:9956: checking for /dev/zero" >&5
|
||||
if test "$HAVE_DEV_ZERO"; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_DEV_ZERO 1
|
||||
@ -9932,19 +9969,19 @@ EOF
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
echo $ac_n "checking for valloc""... $ac_c" 1>&6
|
||||
echo "configure:9936: checking for valloc" >&5
|
||||
echo "configure:9973: 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 9941 "configure"
|
||||
#line 9978 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
int main() {
|
||||
void *ptr = valloc(1);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:9948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:9985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_valloc=true
|
||||
else
|
||||
@ -9970,7 +10007,7 @@ fi
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether va_list assignments need array notation""... $ac_c" 1>&6
|
||||
echo "configure:9974: checking whether va_list assignments need array notation" >&5
|
||||
echo "configure:10011: checking whether va_list assignments need array notation" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_valistisarray'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -9978,7 +10015,7 @@ else
|
||||
ac_cv_valistisarray=false
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 9982 "configure"
|
||||
#line 10019 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
@ -9991,7 +10028,7 @@ else
|
||||
}
|
||||
int main() { foo(0, 123); return(0); }
|
||||
EOF
|
||||
if { (eval echo configure:9995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_valistisarray=false
|
||||
else
|
||||
@ -10067,12 +10104,12 @@ EOF
|
||||
esac
|
||||
|
||||
echo $ac_n "checking for sys_errlist/sys_nerr""... $ac_c" 1>&6
|
||||
echo "configure:10071: checking for sys_errlist/sys_nerr" >&5
|
||||
echo "configure:10108: 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 10076 "configure"
|
||||
#line 10113 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
@ -10080,7 +10117,7 @@ int main() {
|
||||
char *foo = sys_errlist[sys_nerr-1];
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_syserrlist=true
|
||||
else
|
||||
@ -10107,7 +10144,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:10111: checking for C++ exceptions flag" >&5
|
||||
echo "configure:10148: 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
|
||||
@ -10139,12 +10176,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
||||
|
||||
|
||||
echo $ac_n "checking for ios::binary""... $ac_c" 1>&6
|
||||
echo "configure:10143: checking for ios::binary" >&5
|
||||
echo "configure:10180: 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 10148 "configure"
|
||||
#line 10185 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
@ -10153,7 +10190,7 @@ char *buffer = "config.log";
|
||||
fstream *mFileStream=new fstream(buffer, ios::binary);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ios_binary=true
|
||||
else
|
||||
@ -10177,12 +10214,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for ios::bin""... $ac_c" 1>&6
|
||||
echo "configure:10181: checking for ios::bin" >&5
|
||||
echo "configure:10218: 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 10186 "configure"
|
||||
#line 10223 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
@ -10191,7 +10228,7 @@ char *buffer = "config.log";
|
||||
fstream *mFileStream=new fstream(buffer, ios::bin);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ios_bin=true
|
||||
else
|
||||
@ -10214,19 +10251,19 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
|
||||
echo "configure:10218: checking for ostreams" >&5
|
||||
echo "configure:10255: 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 10223 "configure"
|
||||
#line 10260 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
int main() {
|
||||
streambuf *xxx; ostream *foo=new ostream(xxx);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_ostream=true
|
||||
else
|
||||
@ -10252,19 +10289,19 @@ else
|
||||
LIBS='-lemxio -lsocket -lstdcpp'
|
||||
fi
|
||||
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
|
||||
echo "configure:10256: checking for ostreams in -lstdc++" >&5
|
||||
echo "configure:10293: 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 10261 "configure"
|
||||
#line 10298 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <iostream.h>
|
||||
int main() {
|
||||
ostream *foo=new ostream();
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10305: \"$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
|
||||
@ -10289,19 +10326,19 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
|
||||
echo "configure:10293: checking for C++ \"bool\" keyword" >&5
|
||||
echo "configure:10330: 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 10298 "configure"
|
||||
#line 10335 "configure"
|
||||
#include "confdefs.h"
|
||||
bool b;
|
||||
int main() {
|
||||
b = true;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_bool=yes
|
||||
else
|
||||
@ -10323,12 +10360,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
|
||||
echo "configure:10327: checking for C++ \"explicit\" keyword" >&5
|
||||
echo "configure:10364: 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 10332 "configure"
|
||||
#line 10369 "configure"
|
||||
#include "confdefs.h"
|
||||
class X {
|
||||
public: explicit X(int i) : i_(i) {}
|
||||
@ -10338,7 +10375,7 @@ int main() {
|
||||
X x(3);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_explicit=yes
|
||||
else
|
||||
@ -10359,12 +10396,12 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
|
||||
echo "configure:10363: checking for C++ template specialization support" >&5
|
||||
echo "configure:10400: 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 10368 "configure"
|
||||
#line 10405 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> struct X { int a; };
|
||||
class Y {};
|
||||
@ -10374,7 +10411,7 @@ X<int> int_x;
|
||||
X<Y> y_x;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_template_specialization=yes
|
||||
else
|
||||
@ -10404,12 +10441,12 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for modern C++ template specialization syntax support""... $ac_c" 1>&6
|
||||
echo "configure:10408: checking for modern C++ template specialization syntax support" >&5
|
||||
echo "configure:10445: checking for modern C++ template specialization syntax support" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_modern_specialize_template_syntax'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10413 "configure"
|
||||
#line 10450 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> struct X { int a; };
|
||||
class Y {};
|
||||
@ -10419,7 +10456,7 @@ X<int> int_x;
|
||||
X<Y> y_x;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_modern_specialize_template_syntax=yes
|
||||
else
|
||||
@ -10441,12 +10478,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking whether partial template specialization works""... $ac_c" 1>&6
|
||||
echo "configure:10445: checking whether partial template specialization works" >&5
|
||||
echo "configure:10482: checking whether partial template specialization works" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10450 "configure"
|
||||
#line 10487 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> class Foo {};
|
||||
template <class T> class Foo<T*> {};
|
||||
@ -10454,7 +10491,7 @@ int main() {
|
||||
return 0;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_partial_specialization=yes
|
||||
else
|
||||
@ -10476,12 +10513,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking whether operators must be re-defined for templates derived from templates""... $ac_c" 1>&6
|
||||
echo "configure:10480: checking whether operators must be re-defined for templates derived from templates" >&5
|
||||
echo "configure:10517: 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
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10485 "configure"
|
||||
#line 10522 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> class Base { };
|
||||
template <class T>
|
||||
@ -10493,7 +10530,7 @@ Derived<char> a, b;
|
||||
return 0;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_need_derived_template_operators=no
|
||||
else
|
||||
@ -10515,12 +10552,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 "configure:10519: checking whether we need to cast a derived template to pass as its base class" >&5
|
||||
echo "configure:10556: 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
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10524 "configure"
|
||||
#line 10561 "configure"
|
||||
#include "confdefs.h"
|
||||
template <class T> class Base { };
|
||||
template <class T> class Derived : public Base<T> { };
|
||||
@ -10529,7 +10566,7 @@ int main() {
|
||||
Derived<char> bar; return foo(bar);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_need_cpp_template_cast_to_base=no
|
||||
else
|
||||
@ -10550,12 +10587,12 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether the compiler can resolve const ambiguities for templates""... $ac_c" 1>&6
|
||||
echo "configure:10554: checking whether the compiler can resolve const ambiguities for templates" >&5
|
||||
echo "configure:10591: checking whether the compiler can resolve const ambiguities for templates" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_can_resolve_const_ambiguity'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10559 "configure"
|
||||
#line 10596 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
template <class T> class ptrClass {
|
||||
@ -10576,7 +10613,7 @@ int main() {
|
||||
a(&i);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_can_resolve_const_ambiguity=yes
|
||||
else
|
||||
@ -10598,12 +10635,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking whether the C++ \"using\" keyword can change access""... $ac_c" 1>&6
|
||||
echo "configure:10602: checking whether the C++ \"using\" keyword can change access" >&5
|
||||
echo "configure:10639: checking whether the C++ \"using\" keyword can change access" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_access_changing_using'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10607 "configure"
|
||||
#line 10644 "configure"
|
||||
#include "confdefs.h"
|
||||
class X { public: int go(const X&) {return 3;} };
|
||||
class Y : public X {
|
||||
@ -10614,7 +10651,7 @@ int main() {
|
||||
X x; Y y;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_access_changing_using=yes
|
||||
else
|
||||
@ -10635,12 +10672,12 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
|
||||
echo "configure:10639: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
|
||||
echo "configure:10676: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10644 "configure"
|
||||
#line 10681 "configure"
|
||||
#include "confdefs.h"
|
||||
class X {
|
||||
public: int go(const X&) {return 3;}
|
||||
@ -10656,7 +10693,7 @@ int main() {
|
||||
X x; Y y; y.jo(x);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_ambiguity_resolving_using=yes
|
||||
else
|
||||
@ -10677,19 +10714,19 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for \"std::\" namespace""... $ac_c" 1>&6
|
||||
echo "configure:10681: checking for \"std::\" namespace" >&5
|
||||
echo "configure:10718: checking for \"std::\" namespace" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_namespace_std'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10686 "configure"
|
||||
#line 10723 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <algorithm>
|
||||
int main() {
|
||||
return std::min(0, 1);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_namespace_std=yes
|
||||
else
|
||||
@ -10710,12 +10747,12 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether standard template operator!=() is ambiguous""... $ac_c" 1>&6
|
||||
echo "configure:10714: checking whether standard template operator!=() is ambiguous" >&5
|
||||
echo "configure:10751: checking whether standard template operator!=() is ambiguous" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_unambiguous_std_notequal'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10719 "configure"
|
||||
#line 10756 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <algorithm>
|
||||
struct T1 {};
|
||||
@ -10725,7 +10762,7 @@ int main() {
|
||||
T1 a,b; return a != b;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_unambiguous_std_notequal=unambiguous
|
||||
else
|
||||
@ -10747,12 +10784,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
|
||||
echo "configure:10751: checking for C++ reinterpret_cast" >&5
|
||||
echo "configure:10788: 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 10756 "configure"
|
||||
#line 10793 "configure"
|
||||
#include "confdefs.h"
|
||||
struct X { int i; };
|
||||
struct Y { int i; };
|
||||
@ -10760,7 +10797,7 @@ int main() {
|
||||
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_cpp_reinterpret_cast=yes
|
||||
else
|
||||
@ -10781,7 +10818,7 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
|
||||
echo "configure:10785: checking for C++ dynamic_cast to void*" >&5
|
||||
echo "configure:10822: checking for C++ dynamic_cast to void*" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10789,7 +10826,7 @@ else
|
||||
ac_cv_cpp_dynamic_cast_void_ptr=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10793 "configure"
|
||||
#line 10830 "configure"
|
||||
#include "confdefs.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" void exit(int);
|
||||
@ -10808,7 +10845,7 @@ class X { int i; public: virtual ~X() { } };
|
||||
((void*)&mdo == dynamic_cast<void*>(suby))));
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:10812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:10849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_cpp_dynamic_cast_void_ptr=yes
|
||||
else
|
||||
@ -10832,19 +10869,19 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
|
||||
echo "configure:10836: checking whether C++ requires implementation of unused virtual methods" >&5
|
||||
echo "configure:10873: checking whether C++ requires implementation of unused virtual 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 10841 "configure"
|
||||
#line 10878 "configure"
|
||||
#include "confdefs.h"
|
||||
class X {private: virtual void never_called();};
|
||||
int main() {
|
||||
X x;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:10885: \"$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
|
||||
@ -10867,12 +10904,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
|
||||
echo "configure:10871: checking for trouble comparing to zero near std::operator!=()" >&5
|
||||
echo "configure:10908: checking for trouble comparing to zero near std::operator!=()" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 10876 "configure"
|
||||
#line 10913 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <algorithm>
|
||||
template <class T> class Foo {};
|
||||
@ -10883,7 +10920,7 @@ int main() {
|
||||
Foo<int> f; return (0 != f);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_trouble_comparing_to_zero=no
|
||||
else
|
||||
@ -10915,19 +10952,19 @@ cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
|
||||
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
||||
echo "configure:10919: checking for LC_MESSAGES" >&5
|
||||
echo "configure:10956: 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 10924 "configure"
|
||||
#line 10961 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <locale.h>
|
||||
int main() {
|
||||
int category = LC_MESSAGES;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:10968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_i18n_lc_messages=yes
|
||||
else
|
||||
@ -11502,12 +11539,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
||||
_SAVE_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
|
||||
echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6
|
||||
echo "configure:11506: checking whether C++ compiler has -pedantic long long bug" >&5
|
||||
echo "configure:11543: checking whether C++ compiler has -pedantic long long bug" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
result="maybe"
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11511 "configure"
|
||||
#line 11548 "configure"
|
||||
#include "confdefs.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" void exit(int);
|
||||
@ -11516,7 +11553,7 @@ extern "C" void exit(int);
|
||||
if (sizeof(long long) != 8) { return 1; }
|
||||
return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:11520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
result="no"
|
||||
else
|
||||
@ -11564,12 +11601,12 @@ _SAVE_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
|
||||
|
||||
echo $ac_n "checking for bug where toplevel cv-qualifiers are used in overload resolution""... $ac_c" 1>&6
|
||||
echo "configure:11568: checking for bug where toplevel cv-qualifiers are used in overload resolution" >&5
|
||||
echo "configure:11605: checking for bug where toplevel cv-qualifiers are used in overload resolution" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_quals_ambig_bug'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11573 "configure"
|
||||
#line 11610 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
inline int f(void *p, int *q) { return 1; }
|
||||
@ -11582,7 +11619,7 @@ int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:11586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:11623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_quals_ambig_bug="no"
|
||||
else
|
||||
@ -11628,16 +11665,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:11632: checking whether compiler supports -Wno-long-long" >&5
|
||||
echo "configure:11669: checking whether compiler supports -Wno-long-long" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11634 "configure"
|
||||
#line 11671 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:11641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:11678: \"$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"
|
||||
@ -11886,7 +11923,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking webshell leaks option""... $ac_c" 1>&6
|
||||
echo "configure:11890: checking webshell leaks option" >&5
|
||||
echo "configure:11927: checking webshell leaks option" >&5
|
||||
# Check whether --enable-detect-webshell-leaks or --disable-detect-webshell-leaks was given.
|
||||
if test "${enable_detect_webshell_leaks+set}" = set; then
|
||||
enableval="$enable_detect_webshell_leaks"
|
||||
@ -11960,7 +11997,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:11964: checking for malloc in -lefence" >&5
|
||||
echo "configure:12001: 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
|
||||
@ -11968,7 +12005,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lefence $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11972 "configure"
|
||||
#line 12009 "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
|
||||
@ -11979,7 +12016,7 @@ int main() {
|
||||
malloc()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:11983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12020: \"$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
|
||||
@ -12015,7 +12052,7 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for cplus_demangle in -liberty""... $ac_c" 1>&6
|
||||
echo "configure:12019: checking for cplus_demangle in -liberty" >&5
|
||||
echo "configure:12056: checking for cplus_demangle in -liberty" >&5
|
||||
ac_lib_var=`echo iberty'_'cplus_demangle | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -12023,7 +12060,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-liberty "-liberty" $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12027 "configure"
|
||||
#line 12064 "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
|
||||
@ -12034,7 +12071,7 @@ int main() {
|
||||
cplus_demangle()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12075: \"$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
|
||||
@ -12380,7 +12417,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:12384: checking for $ac_word" >&5
|
||||
echo "configure:12421: 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
|
||||
@ -12525,7 +12562,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:12529: checking for jpeg_destroy_compress in -ljpeg" >&5
|
||||
echo "configure:12566: 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
|
||||
@ -12533,7 +12570,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-ljpeg $JPEG_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12537 "configure"
|
||||
#line 12574 "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
|
||||
@ -12544,7 +12581,7 @@ int main() {
|
||||
jpeg_destroy_compress()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12585: \"$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
|
||||
@ -12573,7 +12610,7 @@ if test "$SYSTEM_JPEG" = 1; then
|
||||
SYSTEM_JPEG=
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12577 "configure"
|
||||
#line 12614 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@ -12587,7 +12624,7 @@ else
|
||||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:12591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
SYSTEM_JPEG=1
|
||||
else
|
||||
@ -12625,16 +12662,16 @@ if test "$ZLIB_DIR" = no; then
|
||||
SYSTEM_ZLIB=
|
||||
else
|
||||
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
|
||||
echo "configure:12629: checking "for zlib.h"" >&5
|
||||
echo "configure:12666: checking "for zlib.h"" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12631 "configure"
|
||||
#line 12668 "configure"
|
||||
#include "confdefs.h"
|
||||
#include "zlib.h"
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:12675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
result="yes" SYSTEM_ZLIB=1
|
||||
else
|
||||
@ -12648,7 +12685,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:12652: checking for gzread in -lz" >&5
|
||||
echo "configure:12689: 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
|
||||
@ -12656,7 +12693,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lz $ZLIB_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12660 "configure"
|
||||
#line 12697 "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
|
||||
@ -12667,7 +12704,7 @@ int main() {
|
||||
gzread()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12708: \"$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
|
||||
@ -12713,7 +12750,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:12717: checking for png_get_valid in -lpng" >&5
|
||||
echo "configure:12754: 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
|
||||
@ -12721,7 +12758,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lpng $PNG_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12725 "configure"
|
||||
#line 12762 "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
|
||||
@ -12732,7 +12769,7 @@ int main() {
|
||||
png_get_valid()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12773: \"$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
|
||||
@ -12760,7 +12797,7 @@ if test "$SYSTEM_PNG" = 1; then
|
||||
SYSTEM_PNG=
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12764 "configure"
|
||||
#line 12801 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@ -12774,7 +12811,7 @@ else
|
||||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:12778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
SYSTEM_PNG=1
|
||||
else
|
||||
@ -12813,7 +12850,7 @@ if test "$MNG_DIR" = no; then
|
||||
SYSTEM_MNG=
|
||||
else
|
||||
echo $ac_n "checking for mng_initialize in -lmng""... $ac_c" 1>&6
|
||||
echo "configure:12817: checking for mng_initialize in -lmng" >&5
|
||||
echo "configure:12854: checking for mng_initialize in -lmng" >&5
|
||||
ac_lib_var=`echo mng'_'mng_initialize | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -12821,7 +12858,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lmng $MNG_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12825 "configure"
|
||||
#line 12862 "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
|
||||
@ -12832,7 +12869,7 @@ int main() {
|
||||
mng_initialize()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12873: \"$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
|
||||
@ -12860,7 +12897,7 @@ if test "$SYSTEM_MNG" = 1; then
|
||||
SYSTEM_MNG=
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12864 "configure"
|
||||
#line 12901 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@ -12874,7 +12911,7 @@ else
|
||||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
SYSTEM_MNG=1
|
||||
else
|
||||
@ -12940,9 +12977,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:12944: checking "for FCInitialize in -lfullsoft"" >&5;
|
||||
echo "configure:12981: checking "for FCInitialize in -lfullsoft"" >&5;
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12946 "configure"
|
||||
#line 12983 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include "fullsoft.h"
|
||||
@ -12950,7 +12987,7 @@ int main() {
|
||||
FCInitialize(); exit(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12991: \"$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
|
||||
|
17
configure.in
17
configure.in
@ -2448,7 +2448,22 @@ AC_PROG_GCC_TRADITIONAL
|
||||
AC_FUNC_MEMCMP
|
||||
AC_CHECK_FUNCS(random qsort strerror lchown fchmod snprintf localtime_r statvfs memmove usleep rint)
|
||||
AC_CHECK_HEADERS(gnu/libc-version.h)
|
||||
AC_CHECK_FUNCS(nl_langinfo gnu_get_libc_version)
|
||||
AC_CHECK_FUNCS(nl_langinfo)
|
||||
|
||||
AC_CACHE_CHECK(
|
||||
[for gnu_get_libc_version()],
|
||||
ac_cv_func_gnu_get_libc_version,
|
||||
[AC_TRY_COMPILE([
|
||||
#ifdef HAVE_GNU_LIBC_VERSION_H
|
||||
#include <gnu/libc-version.h>
|
||||
#endif
|
||||
],
|
||||
[const char *glibc_version = gnu_get_libc_version();],
|
||||
[ac_cv_func_gnu_get_libc_version=yes
|
||||
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)],
|
||||
[ac_cv_func_gnu_get_libc_version=no]
|
||||
)]
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING(how to call gettimeofday)
|
||||
AC_CACHE_VAL(ac_cv_gettimeofday_args,
|
||||
|
Loading…
Reference in New Issue
Block a user