This commit is contained in:
briano%netscape.com 1999-06-14 20:59:52 +00:00
Родитель 01ee43e340
Коммит 9a93c4d089
1 изменённых файлов: 62 добавлений и 57 удалений

119
configure поставляемый
Просмотреть файл

@ -7855,6 +7855,7 @@ case "$target" in
#include <stdio.h>
#include <link.h>
#include <dlfcn.h>
#ifdef _dl_loaded
void __dump_link_map(void) {
struct link_map *map = _dl_loaded;
while (NULL != map) {printf("0x%08x %s\n", map->l_addr, map->l_name); map = map->l_next;}
@ -7866,6 +7867,10 @@ int main() {
dlopen("/tmp/../tmp/conftest1.so",RTLD_LAZY);
__dump_link_map();
}
#else
/* _dl_loaded isn't defined, so this should be either a libc5 (glibc1) system, or a glibc2 system that doesn't have the multiple load bug (i.e., RH6.0).*/
int main() { printf("./conftest1.so\n"); }
#endif
EOF
cat >> conftest1.C <<\EOF
@ -7893,12 +7898,12 @@ EOF
esac
echo $ac_n "checking for sys_errlist/sys_nerr""... $ac_c" 1>&6
echo "configure:7897: checking for sys_errlist/sys_nerr" >&5
echo "configure:7902: 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 7902 "configure"
#line 7907 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <errno.h>
@ -7906,7 +7911,7 @@ int main() {
char *foo = sys_errlist[sys_nerr-1];
; return 0; }
EOF
if { (eval echo configure:7910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:7915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_syserrlist=true
else
@ -7933,7 +7938,7 @@ if test "$GNU_CXX"; then
_MOZ_RTTI_FLAGS=-fno-rtti
echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
echo "configure:7937: checking for C++ exceptions flag" >&5
echo "configure:7942: 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
@ -7960,12 +7965,12 @@ _SAVE_CC=$CC
CC=$CXX
ac_ext=C
echo $ac_n "checking for ios::binary""... $ac_c" 1>&6
echo "configure:7964: checking for ios::binary" >&5
echo "configure:7969: 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 7969 "configure"
#line 7974 "configure"
#include "confdefs.h"
#include <iostream.h>
#include <fstream.h>
@ -7974,7 +7979,7 @@ char *buffer = "config.log";
fstream *mFileStream=new fstream(buffer, ios::binary);
; return 0; }
EOF
if { (eval echo configure:7978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:7983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_ios_binary=true
else
@ -7998,12 +8003,12 @@ fi
echo $ac_n "checking for ios::bin""... $ac_c" 1>&6
echo "configure:8002: checking for ios::bin" >&5
echo "configure:8007: 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 8007 "configure"
#line 8012 "configure"
#include "confdefs.h"
#include <iostream.h>
#include <fstream.h>
@ -8012,7 +8017,7 @@ char *buffer = "config.log";
fstream *mFileStream=new fstream(buffer, ios::bin);
; return 0; }
EOF
if { (eval echo configure:8016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_ios_bin=true
else
@ -8035,19 +8040,19 @@ else
fi
echo $ac_n "checking for namespaces""... $ac_c" 1>&6
echo "configure:8039: checking for namespaces" >&5
echo "configure:8044: checking for namespaces" >&5
if eval "test \"`echo '$''{'ac_cv_cpp_namespaces'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 8044 "configure"
#line 8049 "configure"
#include "confdefs.h"
namespace X {}
int main() {
using namespace X;
; return 0; }
EOF
if { (eval echo configure:8051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_namespaces=yes
else
@ -8068,19 +8073,19 @@ EOF
fi
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
echo "configure:8072: checking for ostreams" >&5
echo "configure:8077: 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 8077 "configure"
#line 8082 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
streambuf *xxx; ostream *foo=new ostream(xxx);
; return 0; }
EOF
if { (eval echo configure:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_cv_ostream=true
else
@ -8103,19 +8108,19 @@ else
_SAVE_LIBS=$LIBS
LIBS="$LIBS -lstdc++"
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
echo "configure:8107: checking for ostreams in -lstdc++" >&5
echo "configure:8112: 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 8112 "configure"
#line 8117 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
ostream *foo=new ostream();
; return 0; }
EOF
if { (eval echo configure:8119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_cv_lib_stdcpp_ostream=true
else
@ -8140,19 +8145,19 @@ EOF
fi
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
echo "configure:8144: checking for C++ \"bool\" keyword" >&5
echo "configure:8149: 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 8149 "configure"
#line 8154 "configure"
#include "confdefs.h"
bool b;
int main() {
b = true;
; return 0; }
EOF
if { (eval echo configure:8156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_bool=yes
else
@ -8174,12 +8179,12 @@ fi
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
echo "configure:8178: checking for C++ \"explicit\" keyword" >&5
echo "configure:8183: 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 8183 "configure"
#line 8188 "configure"
#include "confdefs.h"
class X {
public: explicit X(int i) : i_(i) {}
@ -8189,7 +8194,7 @@ int main() {
X x(3);
; return 0; }
EOF
if { (eval echo configure:8193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_explicit=yes
else
@ -8211,12 +8216,12 @@ fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:8215: checking for C++ \"using\" keyword" >&5
echo "configure:8220: 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 8220 "configure"
#line 8225 "configure"
#include "confdefs.h"
class X { public: int go() {return 3;} };
class Y : public X {
@ -8226,7 +8231,7 @@ int main() {
X x; Y y;
; return 0; }
EOF
if { (eval echo configure:8230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_using=yes
else
@ -8247,12 +8252,12 @@ EOF
fi
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
echo "configure:8251: checking for C++ reinterpret_cast" >&5
echo "configure:8256: 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 8256 "configure"
#line 8261 "configure"
#include "confdefs.h"
struct X { int i; };
struct Y { int i; };
@ -8260,7 +8265,7 @@ int main() {
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
; return 0; }
EOF
if { (eval echo configure:8264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=yes
else
@ -8281,19 +8286,19 @@ EOF
fi
echo $ac_n "checking whether C++ requires implementation of unused methods""... $ac_c" 1>&6
echo "configure:8285: checking whether C++ requires implementation of unused methods" >&5
echo "configure:8290: 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 8290 "configure"
#line 8295 "configure"
#include "confdefs.h"
class X {private: void never_called();};
int main() {
X x;
; return 0; }
EOF
if { (eval echo configure:8297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_unused_required=no
else
@ -8319,19 +8324,19 @@ ac_ext=c
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:8323: checking for LC_MESSAGES" >&5
echo "configure:8328: 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 8328 "configure"
#line 8333 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
int catagory = LC_MESSAGES;
; return 0; }
EOF
if { (eval echo configure:8335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_i18n_lc_messages=yes
else
@ -8968,7 +8973,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:8972: checking for $ac_word" >&5
echo "configure:8977: 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
@ -9070,7 +9075,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:9074: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:9079: 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
@ -9078,7 +9083,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9082 "configure"
#line 9087 "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
@ -9089,7 +9094,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:9098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -9118,7 +9123,7 @@ if test "$SYSTEM_JPEG" = 1; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 9122 "configure"
#line 9127 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9132,7 +9137,7 @@ else
}
EOF
if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -9170,16 +9175,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:9174: checking "for zlib.h"" >&5
echo "configure:9179: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 9176 "configure"
#line 9181 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:9183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:9188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -9193,7 +9198,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:9197: checking for gzread in -lz" >&5
echo "configure:9202: 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
@ -9201,7 +9206,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9205 "configure"
#line 9210 "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
@ -9212,7 +9217,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:9221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -9258,7 +9263,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:9262: checking for png_get_valid in -lpng" >&5
echo "configure:9267: 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
@ -9266,7 +9271,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9270 "configure"
#line 9275 "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
@ -9277,7 +9282,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -9305,7 +9310,7 @@ if test "$SYSTEM_PNG" = 1; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 9309 "configure"
#line 9314 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9319,7 +9324,7 @@ else
}
EOF
if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -9363,10 +9368,10 @@ CFLAGS="$CFLAGS -I${FULLCIRCLE_DIR}"
LDFLAGS="$LDFLAGS -L${FULLCIRCLE_DIR}"
echo $ac_n "checking "for FC_Initialize in -ltalkback"""... $ac_c" 1>&6
echo "configure:9367: checking "for FC_Initialize in -ltalkback"" >&5;
echo "configure:9372: checking "for FC_Initialize in -ltalkback"" >&5;
LIBS="-ltalkback $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9370 "configure"
#line 9375 "configure"
#include "confdefs.h"
#include "fullcircle.h"
@ -9378,7 +9383,7 @@ FC_Initialize();
; return 0; }
EOF
if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:9387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
FULLCIRCLE_LIB="-ltalkback $FULLCIRCLE_LIB" result="yes"
else