This commit is contained in:
briano%netscape.com 1999-03-01 12:15:39 +00:00
Родитель 90607bf011
Коммит 11078a1e76
1 изменённых файлов: 130 добавлений и 96 удалений

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

@ -5823,14 +5823,48 @@ EOF
fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:5828: checking for C++ \"using\" keyword" >&5
if eval "test \"`echo '$''{'ac_cv_cpp_using'+set}'`\" = set"; then
echo $ac_n "checking for C++ \"exceptions\"""... $ac_c" 1>&6
echo "configure:5828: checking for C++ \"exceptions\"" >&5
if eval "test \"`echo '$''{'ac_cv_cpp_exceptions'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5833 "configure"
#include "confdefs.h"
class X { public: X() {} };
static void F() { throw X(); }
int main() {
try { F(); } catch(X & e) { }
; return 0; }
EOF
if { (eval echo configure:5841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_exceptions=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_exceptions=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_exceptions" 1>&6
if test $ac_cv_cpp_exceptions = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_EXCEPTIONS 1
EOF
fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:5862: 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 5867 "configure"
#include "confdefs.h"
class X { public: int go() {return 3;} };
class Y : public X {
private: using X::go;
@ -5839,7 +5873,7 @@ int main() {
X x; Y y;
; return 0; }
EOF
if { (eval echo configure:5843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_using=yes
else
@ -5860,12 +5894,12 @@ EOF
fi
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
echo "configure:5864: checking for C++ reinterpret_cast" >&5
echo "configure:5898: 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 5869 "configure"
#line 5903 "configure"
#include "confdefs.h"
struct X { int i; };
struct Y { int i; };
@ -5873,7 +5907,7 @@ int main() {
X x; Y*y = reinterpret_cast<Y*>(&x);
; return 0; }
EOF
if { (eval echo configure:5877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=yes
else
@ -5894,19 +5928,19 @@ EOF
fi
echo $ac_n "checking if C++ requires implementation of unused methods""... $ac_c" 1>&6
echo "configure:5898: checking if C++ requires implementation of unused methods" >&5
echo "configure:5932: checking if 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 5903 "configure"
#line 5937 "configure"
#include "confdefs.h"
class X {private: void never_called();};
int main() {
X x;
; return 0; }
EOF
if { (eval echo configure:5910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_unused_required=no
else
@ -5931,7 +5965,7 @@ CC=$_SAVE_CC
echo $ac_n "checking $CC for \"-include <file>\" option""... $ac_c" 1>&6
echo "configure:5935: checking $CC for \"-include <file>\" option" >&5
echo "configure:5969: checking $CC for \"-include <file>\" option" >&5
_tmp_header="include-test-$$.h"
echo "char *booboo;" > $_tmp_header
_SAVE_CFLAGS=$CFLAGS ; CFLAGS="$CFLAGS -include $_tmp_header"
@ -5939,14 +5973,14 @@ if eval "test \"`echo '$''{'ac_cv_cxx_include_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5943 "configure"
#line 5977 "configure"
#include "confdefs.h"
int main() {
booboo = "yogi";
; return 0; }
EOF
if { (eval echo configure:5950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cxx_include_flag=true
else
@ -5969,20 +6003,20 @@ rm -f $_tmp_header
CFLAGS=$_SAVE_CFLAGS
echo $ac_n "checking $CC for \"-Wall\" support""... $ac_c" 1>&6
echo "configure:5973: checking $CC for \"-Wall\" support" >&5
echo "configure:6007: checking $CC for \"-Wall\" support" >&5
_SAVE_CFLAGS=$CFLAGS ; CFLAGS="$CFLAGS -Wall"
if eval "test \"`echo '$''{'ac_cv_cc_wall_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5979 "configure"
#line 6013 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:5986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cc_wall_flag=true
else
@ -6001,19 +6035,19 @@ else
fi
_SAVE_CC=$CC ; CC=$CXX
echo $ac_n "checking $CXX for \"-Wall\" support""... $ac_c" 1>&6
echo "configure:6005: checking $CXX for \"-Wall\" support" >&5
echo "configure:6039: checking $CXX for \"-Wall\" support" >&5
if eval "test \"`echo '$''{'ac_cv_cxx_wall_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6010 "configure"
#line 6044 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:6017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cxx_wall_flag=true
else
@ -6468,7 +6502,7 @@ if test "$no_x" != "yes" ; then
_SAVE_LDFLAGS="$LDFLAGS"
LDFLAGS="$XLDFLAGS $LDFLAGS"
echo $ac_n "checking for XDrawLines in -lX11""... $ac_c" 1>&6
echo "configure:6472: checking for XDrawLines in -lX11" >&5
echo "configure:6506: checking for XDrawLines in -lX11" >&5
ac_lib_var=`echo X11'_'XDrawLines | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6476,7 +6510,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lX11 $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6480 "configure"
#line 6514 "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
@ -6487,7 +6521,7 @@ int main() {
XDrawLines()
; return 0; }
EOF
if { (eval echo configure:6491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6525: \"$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
@ -6509,7 +6543,7 @@ MISSING_X="$MISSING_X -lX11"
fi
echo $ac_n "checking for XextAddDisplay in -lXext""... $ac_c" 1>&6
echo "configure:6513: checking for XextAddDisplay in -lXext" >&5
echo "configure:6547: checking for XextAddDisplay in -lXext" >&5
ac_lib_var=`echo Xext'_'XextAddDisplay | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6517,7 +6551,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXext $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6521 "configure"
#line 6555 "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
@ -6528,7 +6562,7 @@ int main() {
XextAddDisplay()
; return 0; }
EOF
if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6566: \"$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
@ -6550,7 +6584,7 @@ MISSING_X="$MISSING_X -lXext"
fi
echo $ac_n "checking for IceFlush in -lICE""... $ac_c" 1>&6
echo "configure:6554: checking for IceFlush in -lICE" >&5
echo "configure:6588: checking for IceFlush in -lICE" >&5
ac_lib_var=`echo ICE'_'IceFlush | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6558,7 +6592,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lICE $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6562 "configure"
#line 6596 "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
@ -6569,7 +6603,7 @@ int main() {
IceFlush()
; return 0; }
EOF
if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6607: \"$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
@ -6590,7 +6624,7 @@ else
fi
echo $ac_n "checking for SmcCloseConnection in -lSM""... $ac_c" 1>&6
echo "configure:6594: checking for SmcCloseConnection in -lSM" >&5
echo "configure:6628: checking for SmcCloseConnection in -lSM" >&5
ac_lib_var=`echo SM'_'SmcCloseConnection | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6598,7 +6632,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lSM $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6602 "configure"
#line 6636 "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
@ -6609,7 +6643,7 @@ int main() {
SmcCloseConnection()
; return 0; }
EOF
if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6647: \"$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
@ -6630,7 +6664,7 @@ else
fi
echo $ac_n "checking for XtFree in -lXt""... $ac_c" 1>&6
echo "configure:6634: checking for XtFree in -lXt" >&5
echo "configure:6668: checking for XtFree in -lXt" >&5
ac_lib_var=`echo Xt'_'XtFree | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6638,7 +6672,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXt $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6642 "configure"
#line 6676 "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
@ -6649,7 +6683,7 @@ int main() {
XtFree()
; return 0; }
EOF
if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6687: \"$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
@ -6671,7 +6705,7 @@ MISSING_X="$MISSING_X -lXt"
fi
echo $ac_n "checking for XmuLookupString in -lXmu""... $ac_c" 1>&6
echo "configure:6675: checking for XmuLookupString in -lXmu" >&5
echo "configure:6709: checking for XmuLookupString in -lXmu" >&5
ac_lib_var=`echo Xmu'_'XmuLookupString | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6679,7 +6713,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXmu $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6683 "configure"
#line 6717 "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
@ -6690,7 +6724,7 @@ int main() {
XmuLookupString()
; return 0; }
EOF
if { (eval echo configure:6694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6728: \"$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
@ -6735,7 +6769,7 @@ fi
LDFLAGS="$XLDFLAGS $LDFLAGS"
if test "$MOTIF_REQUIRES_XPM" = "True" ; then
echo $ac_n "checking for XpmWriteFileFromImage in -lXpm""... $ac_c" 1>&6
echo "configure:6739: checking for XpmWriteFileFromImage in -lXpm" >&5
echo "configure:6773: checking for XpmWriteFileFromImage in -lXpm" >&5
ac_lib_var=`echo Xpm'_'XpmWriteFileFromImage | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6743,7 +6777,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXpm $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6747 "configure"
#line 6781 "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
@ -6754,7 +6788,7 @@ int main() {
XpmWriteFileFromImage()
; return 0; }
EOF
if { (eval echo configure:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6792: \"$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
@ -6778,7 +6812,7 @@ fi
fi
if test "$MOTIF_VERSION" = "2.1" ; then
echo $ac_n "checking for XpGetPrinterList in -lXp""... $ac_c" 1>&6
echo "configure:6782: checking for XpGetPrinterList in -lXp" >&5
echo "configure:6816: checking for XpGetPrinterList in -lXp" >&5
ac_lib_var=`echo Xp'_'XpGetPrinterList | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6786,7 +6820,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXp $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6790 "configure"
#line 6824 "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
@ -6797,7 +6831,7 @@ int main() {
XpGetPrinterList()
; return 0; }
EOF
if { (eval echo configure:6801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6835: \"$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
@ -6855,7 +6889,7 @@ fi
_SAVE_LDFLAGS="$LDFLAGS"
LDFLAGS="$MOTIF_DYNAMIC_PATHS $XLDFLAGS $LDFLAGS"
echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6
echo "configure:6859: checking for XmStringCreate in -lXm" >&5
echo "configure:6893: checking for XmStringCreate in -lXm" >&5
ac_lib_var=`echo Xm'_'XmStringCreate | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6863,7 +6897,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $MOTIF_DYNAMIC_PATHS $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6867 "configure"
#line 6901 "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
@ -6874,7 +6908,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6912: \"$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
@ -6898,7 +6932,7 @@ fi
LDFLAGS="$_SAVE_LDFLAGS"
else
echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6
echo "configure:6902: checking for XmStringCreate in -lXm" >&5
echo "configure:6936: checking for XmStringCreate in -lXm" >&5
ac_lib_var=`echo Xm'_'XmStringCreate | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6906,7 +6940,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6910 "configure"
#line 6944 "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
@ -6917,7 +6951,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6955: \"$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
@ -6986,7 +7020,7 @@ fi
# Extract the first word of "gtk-config", so it can be a program name with args.
set dummy gtk-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6990: checking for $ac_word" >&5
echo "configure:7024: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7017,7 +7051,7 @@ fi
min_gtk_version=$GTK_VERSION
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
echo "configure:7021: checking for GTK - version >= $min_gtk_version" >&5
echo "configure:7055: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
@ -7040,7 +7074,7 @@ echo "configure:7021: checking for GTK - version >= $min_gtk_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 7044 "configure"
#line 7078 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -7118,7 +7152,7 @@ main ()
}
EOF
if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
@ -7152,7 +7186,7 @@ fi
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
cat > conftest.$ac_ext <<EOF
#line 7156 "configure"
#line 7190 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -7162,7 +7196,7 @@ int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
EOF
if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
@ -7267,7 +7301,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:7271: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:7305: 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
@ -7275,7 +7309,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7279 "configure"
#line 7313 "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
@ -7286,7 +7320,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7324: \"$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
@ -7315,7 +7349,7 @@ if test "$SYSTEM_JPEG" = 1 ; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 7319 "configure"
#line 7353 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -7329,7 +7363,7 @@ else
}
EOF
if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -7367,16 +7401,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:7371: checking "for zlib.h"" >&5
echo "configure:7405: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 7373 "configure"
#line 7407 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:7380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:7414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -7390,7 +7424,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:7394: checking for gzread in -lz" >&5
echo "configure:7428: 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
@ -7398,7 +7432,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7402 "configure"
#line 7436 "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
@ -7409,7 +7443,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:7413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7447: \"$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
@ -7455,7 +7489,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:7459: checking for png_get_valid in -lpng" >&5
echo "configure:7493: 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
@ -7463,7 +7497,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7467 "configure"
#line 7501 "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
@ -7474,7 +7508,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7512: \"$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
@ -7502,7 +7536,7 @@ if test "$SYSTEM_PNG" = 1 ; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 7506 "configure"
#line 7540 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -7516,7 +7550,7 @@ else
}
EOF
if { (eval echo configure:7520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -7560,10 +7594,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:7564: checking "for FC_Initialize in -ltalkback"" >&5;
echo "configure:7598: checking "for FC_Initialize in -ltalkback"" >&5;
LIBS="-ltalkback $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7567 "configure"
#line 7601 "configure"
#include "confdefs.h"
#include "fullcircle.h"
@ -7575,7 +7609,7 @@ FC_Initialize();
; return 0; }
EOF
if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
FULLCIRCLE_LIB="-ltalkback $FULLCIRCLE_LIB" result="yes"
else
@ -7602,7 +7636,7 @@ if test "${with_pthreads+set}" = set; then
withval="$with_pthreads"
if test "$withval" = "yes"; then
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7606: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7640: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7610,7 +7644,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7614 "configure"
#line 7648 "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
@ -7621,7 +7655,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7659: \"$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
@ -7680,13 +7714,13 @@ CFLAGS="$CFLAGS -I${NSPR_DIR}/include"
LDFLAGS="$LDFLAGS -L${NSPR_DIR}/lib $NSPR_LIBS"
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr21"""... $ac_c" 1>&6
echo "configure:7684: checking "for PR_GetCurrentThread in -lnspr21"" >&5
echo "configure:7718: checking "for PR_GetCurrentThread in -lnspr21"" >&5
LIBS="-lnspr21 $NSPR_LIBS $LIBS"
if test "$cross_compiling" = yes; then
_NSPR_NEEDS_THREAD_LIB=1 result="no"
else
cat > conftest.$ac_ext <<EOF
#line 7690 "configure"
#line 7724 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7696,7 +7730,7 @@ else
}
EOF
if { (eval echo configure:7700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
NSPR_LIBS="-lnspr21 $NSPR_LIBS" result="yes"
else
@ -7717,7 +7751,7 @@ LIBS=$_SAVE_LIBS
case "$target" in
*-*-solaris*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7721: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7755: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7725,7 +7759,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7729 "configure"
#line 7763 "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
@ -7736,7 +7770,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7774: \"$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
@ -7758,7 +7792,7 @@ fi
;;
*-*-linux*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7762: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7796: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7766,7 +7800,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7770 "configure"
#line 7804 "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
@ -7777,7 +7811,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7815: \"$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
@ -7800,13 +7834,13 @@ fi
esac
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr21 with thread lib"""... $ac_c" 1>&6
echo "configure:7804: checking "for PR_GetCurrentThread in -lnspr21 with thread lib"" >&5
echo "configure:7838: checking "for PR_GetCurrentThread in -lnspr21 with thread lib"" >&5
LIBS="-lnspr21 $NSPR_LIBS $LIBS"
if test "$cross_compiling" = yes; then
MISSING_NSPR="$MISSING_NSPR -lnspr21" result="no"
else
cat > conftest.$ac_ext <<EOF
#line 7810 "configure"
#line 7844 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7816,7 +7850,7 @@ else
}
EOF
if { (eval echo configure:7820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
NSPR_LIBS="-lnspr21 $NSPR_LIBS" result="yes"
else
@ -7834,7 +7868,7 @@ fi
echo $ac_n "checking for PL_CreateOptState in -lplc21""... $ac_c" 1>&6
echo "configure:7838: checking for PL_CreateOptState in -lplc21" >&5
echo "configure:7872: checking for PL_CreateOptState in -lplc21" >&5
ac_lib_var=`echo plc21'_'PL_CreateOptState | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7842,7 +7876,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplc21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7846 "configure"
#line 7880 "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
@ -7853,7 +7887,7 @@ int main() {
PL_CreateOptState()
; return 0; }
EOF
if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7891: \"$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
@ -7875,7 +7909,7 @@ MISSING_NSPR="$MISSING_NSPR -lplc21"
fi
echo $ac_n "checking for PL_GetEvent in -lplds21""... $ac_c" 1>&6
echo "configure:7879: checking for PL_GetEvent in -lplds21" >&5
echo "configure:7913: checking for PL_GetEvent in -lplds21" >&5
ac_lib_var=`echo plds21'_'PL_GetEvent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7883,7 +7917,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplds21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7887 "configure"
#line 7921 "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
@ -7894,7 +7928,7 @@ int main() {
PL_GetEvent()
; return 0; }
EOF
if { (eval echo configure:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7932: \"$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
@ -7933,7 +7967,7 @@ CFLAGS=`echo \
# Extract the first word of "makedepend", so it can be a program name with args.
set dummy makedepend; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7937: checking for $ac_word" >&5
echo "configure:7971: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SYSTEM_MAKEDEPEND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else