This commit is contained in:
briano%netscape.com 1999-06-29 20:45:01 +00:00
Родитель f584ae618d
Коммит ad024b3b7a
1 изменённых файлов: 69 добавлений и 32 удалений

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

@ -8185,14 +8185,51 @@ EOF
fi
echo $ac_n "checking for C++ template specialization support""... $ac_c" 1>&6
echo "configure:8190: 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 8195 "configure"
#include "confdefs.h"
template <class T> struct X { int a; };
class Y {};
template <> struct X<Y> { double a; };
int main() {
X<int> int_x;
X<Y> y_x;
; return 0; }
EOF
if { (eval echo configure:8205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_template_specialization=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_template_specialization=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_template_specialization" 1>&6
if test "$ac_cv_cpp_template_specialization" = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_SPECIALIZATION 1
EOF
fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:8191: checking for C++ \"using\" keyword" >&5
echo "configure:8228: 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 8196 "configure"
#line 8233 "configure"
#include "confdefs.h"
class X { public: int go() {return 3;} };
class Y : public X {
@ -8202,7 +8239,7 @@ int main() {
X x; Y y;
; return 0; }
EOF
if { (eval echo configure:8206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_using=yes
else
@ -8223,12 +8260,12 @@ EOF
fi
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
echo "configure:8227: checking for C++ reinterpret_cast" >&5
echo "configure:8264: 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 8232 "configure"
#line 8269 "configure"
#include "confdefs.h"
struct X { int i; };
struct Y { int i; };
@ -8236,7 +8273,7 @@ int main() {
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
; return 0; }
EOF
if { (eval echo configure:8240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=yes
else
@ -8257,19 +8294,19 @@ EOF
fi
echo $ac_n "checking whether C++ requires implementation of unused methods""... $ac_c" 1>&6
echo "configure:8261: checking whether C++ requires implementation of unused methods" >&5
echo "configure:8298: 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 8266 "configure"
#line 8303 "configure"
#include "confdefs.h"
class X {private: void never_called();};
int main() {
X x;
; return 0; }
EOF
if { (eval echo configure:8273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_unused_required=no
else
@ -8295,19 +8332,19 @@ ac_ext=c
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:8299: checking for LC_MESSAGES" >&5
echo "configure:8336: 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 8304 "configure"
#line 8341 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
int catagory = LC_MESSAGES;
; return 0; }
EOF
if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:8348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_i18n_lc_messages=yes
else
@ -8967,7 +9004,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:8971: checking for $ac_word" >&5
echo "configure:9008: 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 +9107,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:9111: 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 +9115,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9082 "configure"
#line 9119 "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 +9126,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:9130: \"$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 +9155,7 @@ if test "$SYSTEM_JPEG" = 1; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 9122 "configure"
#line 9159 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9132,7 +9169,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:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -9170,16 +9207,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:9211: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 9176 "configure"
#line 9213 "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:9220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -9193,7 +9230,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:9234: 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 +9238,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9205 "configure"
#line 9242 "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 +9249,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:9253: \"$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 +9295,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:9299: 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 +9303,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9270 "configure"
#line 9307 "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 +9314,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:9318: \"$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 +9342,7 @@ if test "$SYSTEM_PNG" = 1; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 9309 "configure"
#line 9346 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -9319,7 +9356,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:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -9363,9 +9400,9 @@ CFLAGS="$CFLAGS -I${FULLCIRCLE_DIR}"
LDFLAGS="$LDFLAGS -L${FULLCIRCLE_DIR}"
LIBS="-ltalkback $LIBS"
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:9404: checking "for FC_Initialize in -ltalkback"" >&5;
cat > conftest.$ac_ext <<EOF
#line 9369 "configure"
#line 9406 "configure"
#include "confdefs.h"
#include <stdio.h>
#include "fullcircle.h"
@ -9373,7 +9410,7 @@ int main() {
FC_Initialize(); exit(0);
; return 0; }
EOF
if { (eval echo configure:9377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
FULLCIRCLE_LIB="-ltalkback $FULLCIRCLE_LIB" result="yes"
else