This commit is contained in:
briano%netscape.com 1999-09-22 00:46:15 +00:00
Родитель bad009a041
Коммит d0255c618f
1 изменённых файлов: 53 добавлений и 86 удалений

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

@ -8305,53 +8305,20 @@ else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for namespaces""... $ac_c" 1>&6
echo "configure:8310: 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 8315 "configure"
#include "confdefs.h"
namespace X {}
int main() {
using namespace X;
; return 0; }
EOF
if { (eval echo configure:8322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_namespaces=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_namespaces=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_namespaces" 1>&6
if test "$ac_cv_cpp_namespaces" = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_NAMESPACES 1
EOF
fi
echo $ac_n "checking for ostreams""... $ac_c" 1>&6
echo "configure:8343: checking for ostreams" >&5
echo "configure:8310: 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 8348 "configure"
#line 8315 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
streambuf *xxx; ostream *foo=new ostream(xxx);
; return 0; }
EOF
if { (eval echo configure:8355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_ostream=true
else
@ -8374,19 +8341,19 @@ else
_SAVE_LIBS=$LIBS
LIBS="$LIBS -lstdc++"
echo $ac_n "checking for ostreams in -lstdc++""... $ac_c" 1>&6
echo "configure:8378: checking for ostreams in -lstdc++" >&5
echo "configure:8345: 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 8383 "configure"
#line 8350 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
ostream *foo=new ostream();
; return 0; }
EOF
if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8357: \"$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
@ -8411,19 +8378,19 @@ EOF
fi
echo $ac_n "checking for C++ \"bool\" keyword""... $ac_c" 1>&6
echo "configure:8415: checking for C++ \"bool\" keyword" >&5
echo "configure:8382: 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 8420 "configure"
#line 8387 "configure"
#include "confdefs.h"
bool b;
int main() {
b = true;
; return 0; }
EOF
if { (eval echo configure:8427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_bool=yes
else
@ -8445,12 +8412,12 @@ fi
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
echo "configure:8449: checking for C++ \"explicit\" keyword" >&5
echo "configure:8416: 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 8454 "configure"
#line 8421 "configure"
#include "confdefs.h"
class X {
public: explicit X(int i) : i_(i) {}
@ -8460,7 +8427,7 @@ int main() {
X x(3);
; return 0; }
EOF
if { (eval echo configure:8464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_explicit=yes
else
@ -8481,12 +8448,12 @@ EOF
fi
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
echo "configure:8485: checking for C++ template specialization support" >&5
echo "configure:8452: 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 8490 "configure"
#line 8457 "configure"
#include "confdefs.h"
template <class T> struct X { int a; };
class Y {};
@ -8496,7 +8463,7 @@ X<int> int_x;
X<Y> y_x;
; return 0; }
EOF
if { (eval echo configure:8500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_template_specialization=yes
else
@ -8528,12 +8495,12 @@ fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:8532: checking for C++ \"using\" keyword" >&5
echo "configure:8499: 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 8537 "configure"
#line 8504 "configure"
#include "confdefs.h"
class X { public: int go() {return 3;} };
class Y : public X {
@ -8543,7 +8510,7 @@ int main() {
X x; Y y;
; return 0; }
EOF
if { (eval echo configure:8547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_using=yes
else
@ -8564,12 +8531,12 @@ EOF
fi
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
echo "configure:8568: checking for C++ reinterpret_cast" >&5
echo "configure:8535: 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 8573 "configure"
#line 8540 "configure"
#include "confdefs.h"
struct X { int i; };
struct Y { int i; };
@ -8577,7 +8544,7 @@ int main() {
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
; return 0; }
EOF
if { (eval echo configure:8581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=yes
else
@ -8598,19 +8565,19 @@ EOF
fi
echo $ac_n "checking whether C++ requires implementation of unused methods""... $ac_c" 1>&6
echo "configure:8602: checking whether C++ requires implementation of unused methods" >&5
echo "configure:8569: 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 8607 "configure"
#line 8574 "configure"
#include "confdefs.h"
class X {private: void never_called();};
int main() {
X x;
; return 0; }
EOF
if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8581: \"$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
@ -8636,19 +8603,19 @@ ac_ext=c
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:8640: checking for LC_MESSAGES" >&5
echo "configure:8607: 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 8645 "configure"
#line 8612 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
int catagory = LC_MESSAGES;
; return 0; }
EOF
if { (eval echo configure:8652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_i18n_lc_messages=yes
else
@ -9195,16 +9162,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:9199: checking whether compiler supports -Wno-long-long" >&5
echo "configure:9166: checking whether compiler supports -Wno-long-long" >&5
cat > conftest.$ac_ext <<EOF
#line 9201 "configure"
#line 9168 "configure"
#include "confdefs.h"
int main() {
return(0);
; return 0; }
EOF
if { (eval echo configure:9208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:9175: \"$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"
@ -9360,7 +9327,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:9364: checking for malloc in -lefence" >&5
echo "configure:9331: 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
@ -9368,7 +9335,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lefence $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9372 "configure"
#line 9339 "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
@ -9379,7 +9346,7 @@ int main() {
malloc()
; return 0; }
EOF
if { (eval echo configure:9383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9350: \"$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
@ -9570,7 +9537,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:9574: checking for $ac_word" >&5
echo "configure:9541: 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
@ -9689,7 +9656,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:9693: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:9660: 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
@ -9697,7 +9664,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9701 "configure"
#line 9668 "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
@ -9708,7 +9675,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:9712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9679: \"$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
@ -9737,7 +9704,7 @@ if test "$SYSTEM_JPEG" = 1; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 9741 "configure"
#line 9708 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9751,7 +9718,7 @@ else
}
EOF
if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -9789,16 +9756,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:9793: checking "for zlib.h"" >&5
echo "configure:9760: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 9795 "configure"
#line 9762 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:9802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:9769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -9812,7 +9779,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:9816: checking for gzread in -lz" >&5
echo "configure:9783: 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
@ -9820,7 +9787,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9824 "configure"
#line 9791 "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
@ -9831,7 +9798,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9802: \"$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
@ -9877,7 +9844,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:9881: checking for png_get_valid in -lpng" >&5
echo "configure:9848: 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
@ -9885,7 +9852,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9889 "configure"
#line 9856 "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
@ -9896,7 +9863,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9867: \"$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
@ -9924,7 +9891,7 @@ if test "$SYSTEM_PNG" = 1; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 9928 "configure"
#line 9895 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9938,7 +9905,7 @@ else
}
EOF
if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -9997,9 +9964,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:10001: checking "for FCInitialize in -lfullsoft"" >&5;
echo "configure:9968: checking "for FCInitialize in -lfullsoft"" >&5;
cat > conftest.$ac_ext <<EOF
#line 10003 "configure"
#line 9970 "configure"
#include "confdefs.h"
#include <stdio.h>
#include "fullsoft.h"
@ -10007,7 +9974,7 @@ int main() {
FCInitialize(); exit(0);
; return 0; }
EOF
if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9978: \"$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