This commit is contained in:
briano%netscape.com 1999-02-27 04:15:38 +00:00
Родитель d95e9769af
Коммит 206ecb7778
1 изменённых файлов: 228 добавлений и 124 удалений

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

@ -5667,55 +5667,20 @@ else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for advanced C++ casting""... $ac_c" 1>&6
echo "configure:5672: checking for advanced C++ casting" >&5
if eval "test \"`echo '$''{'ac_cv_cpp_casts'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5677 "configure"
#include "confdefs.h"
class A {};
class B: public A {};
int main() {
B* b = new B;
A* a = static_cast<A*>(b);
; return 0; }
EOF
if { (eval echo configure:5686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_casts=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_casts=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_casts" 1>&6
if test $ac_cv_cpp_casts = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_CASTS 1
EOF
fi
echo $ac_n "checking for namespaces""... $ac_c" 1>&6
echo "configure:5707: checking for namespaces" >&5
echo "configure:5672: 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 5712 "configure"
#line 5677 "configure"
#include "confdefs.h"
namespace X {}
int main() {
using namespace X;
; return 0; }
EOF
if { (eval echo configure:5719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_namespaces=yes
else
@ -5735,12 +5700,151 @@ EOF
fi
echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
echo "configure:5705: 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 5710 "configure"
#include "confdefs.h"
class X {
public: explicit X(int i) : i_(i) {}
private: int i_;
};
int main() {
X x(3);
; return 0; }
EOF
if { (eval echo configure:5720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_explicit=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_explicit=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_explicit" 1>&6
if test $ac_cv_cpp_explicit = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_EXPLICIT 1
EOF
fi
echo $ac_n "checking for C++ \"using\" keyword""... $ac_c" 1>&6
echo "configure:5741: 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 5746 "configure"
#include "confdefs.h"
class X { public: int go() {return 3;} };
class Y : public X {
private: using X::go;
};
int main() {
X x; Y y;
; return 0; }
EOF
if { (eval echo configure:5756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_using=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_using=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_using" 1>&6
if test $ac_cv_cpp_using = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_USING 1
EOF
fi
echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
echo "configure:5777: 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 5782 "configure"
#include "confdefs.h"
struct X { int i; };
struct Y { int i; };
int main() {
X x; Y*y = reinterpret_cast<Y*>(&x);
; return 0; }
EOF
if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_reinterpret_cast=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_reinterpret_cast" 1>&6
if test $ac_cv_cpp_reinterpret_cast = yes ; then
cat >> confdefs.h <<\EOF
#define HAVE_CPP_NEW_CASTS 1
EOF
fi
echo $ac_n "checking if C++ requires implementation of unused methods""... $ac_c" 1>&6
echo "configure:5811: 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 5816 "configure"
#include "confdefs.h"
class X {private: void never_called();};
int main() {
X x;
; return 0; }
EOF
if { (eval echo configure:5823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cpp_unused_required=no
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cpp_unused_requires=yes
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_cpp_unused_required" 1>&6
if test $ac_cv_cpp_unused_required = yes ; then
cat >> confdefs.h <<\EOF
#define NEED_CPP_UNUSED_IMPLEMENTATIONS 1
EOF
fi
CC=$_SAVE_CC
echo $ac_n "checking $CC for \"-include <file>\" option""... $ac_c" 1>&6
echo "configure:5744: checking $CC for \"-include <file>\" option" >&5
echo "configure:5848: 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"
@ -5748,14 +5852,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 5752 "configure"
#line 5856 "configure"
#include "confdefs.h"
int main() {
booboo = "yogi";
; return 0; }
EOF
if { (eval echo configure:5759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cxx_include_flag=true
else
@ -5778,20 +5882,20 @@ rm -f $_tmp_header
CFLAGS=$_SAVE_CFLAGS
echo $ac_n "checking $CC for \"-Wall\" support""... $ac_c" 1>&6
echo "configure:5782: checking $CC for \"-Wall\" support" >&5
echo "configure:5886: 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 5788 "configure"
#line 5892 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:5795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cc_wall_flag=true
else
@ -5810,19 +5914,19 @@ else
fi
_SAVE_CC=$CC ; CC=$CXX
echo $ac_n "checking $CXX for \"-Wall\" support""... $ac_c" 1>&6
echo "configure:5814: checking $CXX for \"-Wall\" support" >&5
echo "configure:5918: 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 5819 "configure"
#line 5923 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cxx_wall_flag=true
else
@ -6277,7 +6381,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:6281: checking for XDrawLines in -lX11" >&5
echo "configure:6385: 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
@ -6285,7 +6389,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lX11 $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6289 "configure"
#line 6393 "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
@ -6296,7 +6400,7 @@ int main() {
XDrawLines()
; return 0; }
EOF
if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6404: \"$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
@ -6318,7 +6422,7 @@ MISSING_X="$MISSING_X -lX11"
fi
echo $ac_n "checking for XextAddDisplay in -lXext""... $ac_c" 1>&6
echo "configure:6322: checking for XextAddDisplay in -lXext" >&5
echo "configure:6426: 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
@ -6326,7 +6430,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXext $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6330 "configure"
#line 6434 "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
@ -6337,7 +6441,7 @@ int main() {
XextAddDisplay()
; return 0; }
EOF
if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6445: \"$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
@ -6359,7 +6463,7 @@ MISSING_X="$MISSING_X -lXext"
fi
echo $ac_n "checking for IceFlush in -lICE""... $ac_c" 1>&6
echo "configure:6363: checking for IceFlush in -lICE" >&5
echo "configure:6467: 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
@ -6367,7 +6471,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lICE $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6371 "configure"
#line 6475 "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
@ -6378,7 +6482,7 @@ int main() {
IceFlush()
; return 0; }
EOF
if { (eval echo configure:6382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6486: \"$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
@ -6399,7 +6503,7 @@ else
fi
echo $ac_n "checking for SmcCloseConnection in -lSM""... $ac_c" 1>&6
echo "configure:6403: checking for SmcCloseConnection in -lSM" >&5
echo "configure:6507: 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
@ -6407,7 +6511,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lSM $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6411 "configure"
#line 6515 "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
@ -6418,7 +6522,7 @@ int main() {
SmcCloseConnection()
; return 0; }
EOF
if { (eval echo configure:6422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6526: \"$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
@ -6439,7 +6543,7 @@ else
fi
echo $ac_n "checking for XtFree in -lXt""... $ac_c" 1>&6
echo "configure:6443: checking for XtFree in -lXt" >&5
echo "configure:6547: 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
@ -6447,7 +6551,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXt $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6451 "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
@ -6458,7 +6562,7 @@ int main() {
XtFree()
; return 0; }
EOF
if { (eval echo configure:6462: \"$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
@ -6480,7 +6584,7 @@ MISSING_X="$MISSING_X -lXt"
fi
echo $ac_n "checking for XmuLookupString in -lXmu""... $ac_c" 1>&6
echo "configure:6484: checking for XmuLookupString in -lXmu" >&5
echo "configure:6588: 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
@ -6488,7 +6592,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXmu $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6492 "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
@ -6499,7 +6603,7 @@ int main() {
XmuLookupString()
; return 0; }
EOF
if { (eval echo configure:6503: \"$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
@ -6544,7 +6648,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:6548: checking for XpmWriteFileFromImage in -lXpm" >&5
echo "configure:6652: 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
@ -6552,7 +6656,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXpm $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6556 "configure"
#line 6660 "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
@ -6563,7 +6667,7 @@ int main() {
XpmWriteFileFromImage()
; return 0; }
EOF
if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6671: \"$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
@ -6587,7 +6691,7 @@ fi
fi
if test "$MOTIF_VERSION" = "2.1" ; then
echo $ac_n "checking for XpGetPrinterList in -lXp""... $ac_c" 1>&6
echo "configure:6591: checking for XpGetPrinterList in -lXp" >&5
echo "configure:6695: 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
@ -6595,7 +6699,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXp $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6599 "configure"
#line 6703 "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
@ -6606,7 +6710,7 @@ int main() {
XpGetPrinterList()
; return 0; }
EOF
if { (eval echo configure:6610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6714: \"$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
@ -6664,7 +6768,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:6668: checking for XmStringCreate in -lXm" >&5
echo "configure:6772: 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
@ -6672,7 +6776,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $MOTIF_DYNAMIC_PATHS $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6676 "configure"
#line 6780 "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
@ -6683,7 +6787,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6791: \"$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
@ -6707,7 +6811,7 @@ fi
LDFLAGS="$_SAVE_LDFLAGS"
else
echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6
echo "configure:6711: checking for XmStringCreate in -lXm" >&5
echo "configure:6815: 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
@ -6715,7 +6819,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6719 "configure"
#line 6823 "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
@ -6726,7 +6830,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6834: \"$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
@ -6795,7 +6899,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:6799: checking for $ac_word" >&5
echo "configure:6903: 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
@ -6826,7 +6930,7 @@ fi
min_gtk_version=$GTK_VERSION
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
echo "configure:6830: checking for GTK - version >= $min_gtk_version" >&5
echo "configure:6934: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
@ -6849,7 +6953,7 @@ echo "configure:6830: checking for GTK - version >= $min_gtk_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 6853 "configure"
#line 6957 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -6927,7 +7031,7 @@ main ()
}
EOF
if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
@ -6961,7 +7065,7 @@ fi
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
cat > conftest.$ac_ext <<EOF
#line 6965 "configure"
#line 7069 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -6971,7 +7075,7 @@ int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
EOF
if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7079: \"$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"
@ -7076,7 +7180,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:7080: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:7184: 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
@ -7084,7 +7188,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7088 "configure"
#line 7192 "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
@ -7095,7 +7199,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7203: \"$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
@ -7124,7 +7228,7 @@ if test "$SYSTEM_JPEG" = 1 ; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 7128 "configure"
#line 7232 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -7138,7 +7242,7 @@ else
}
EOF
if { (eval echo configure:7142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -7176,16 +7280,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:7180: checking "for zlib.h"" >&5
echo "configure:7284: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 7182 "configure"
#line 7286 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:7189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:7293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -7199,7 +7303,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:7203: checking for gzread in -lz" >&5
echo "configure:7307: 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
@ -7207,7 +7311,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7211 "configure"
#line 7315 "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
@ -7218,7 +7322,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7326: \"$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
@ -7264,7 +7368,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:7268: checking for png_get_valid in -lpng" >&5
echo "configure:7372: 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
@ -7272,7 +7376,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7276 "configure"
#line 7380 "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
@ -7283,7 +7387,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7391: \"$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
@ -7311,7 +7415,7 @@ if test "$SYSTEM_PNG" = 1 ; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 7315 "configure"
#line 7419 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -7325,7 +7429,7 @@ else
}
EOF
if { (eval echo configure:7329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -7369,10 +7473,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:7373: checking "for FC_Initialize in -ltalkback"" >&5;
echo "configure:7477: checking "for FC_Initialize in -ltalkback"" >&5;
LIBS="-ltalkback $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7376 "configure"
#line 7480 "configure"
#include "confdefs.h"
#include "fullcircle.h"
@ -7384,7 +7488,7 @@ FC_Initialize();
; return 0; }
EOF
if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
FULLCIRCLE_LIB="-ltalkback $FULLCIRCLE_LIB" result="yes"
else
@ -7411,7 +7515,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:7415: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7519: 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
@ -7419,7 +7523,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7423 "configure"
#line 7527 "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
@ -7430,7 +7534,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7538: \"$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
@ -7489,13 +7593,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:7493: checking "for PR_GetCurrentThread in -lnspr21"" >&5
echo "configure:7597: 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 7499 "configure"
#line 7603 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7505,7 +7609,7 @@ else
}
EOF
if { (eval echo configure:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7613: \"$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
@ -7526,7 +7630,7 @@ LIBS=$_SAVE_LIBS
case "$target" in
*-*-solaris*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7530: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7634: 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
@ -7534,7 +7638,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7538 "configure"
#line 7642 "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
@ -7545,7 +7649,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7653: \"$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
@ -7567,7 +7671,7 @@ fi
;;
*-*-linux*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7571: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7675: 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
@ -7575,7 +7679,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7579 "configure"
#line 7683 "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
@ -7586,7 +7690,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7694: \"$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
@ -7609,13 +7713,13 @@ fi
esac
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr21 with thread lib"""... $ac_c" 1>&6
echo "configure:7613: checking "for PR_GetCurrentThread in -lnspr21 with thread lib"" >&5
echo "configure:7717: 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 7619 "configure"
#line 7723 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7625,7 +7729,7 @@ else
}
EOF
if { (eval echo configure:7629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7733: \"$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
@ -7643,7 +7747,7 @@ fi
echo $ac_n "checking for PL_CreateOptState in -lplc21""... $ac_c" 1>&6
echo "configure:7647: checking for PL_CreateOptState in -lplc21" >&5
echo "configure:7751: 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
@ -7651,7 +7755,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplc21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7655 "configure"
#line 7759 "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
@ -7662,7 +7766,7 @@ int main() {
PL_CreateOptState()
; return 0; }
EOF
if { (eval echo configure:7666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7770: \"$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
@ -7684,7 +7788,7 @@ MISSING_NSPR="$MISSING_NSPR -lplc21"
fi
echo $ac_n "checking for PL_GetEvent in -lplds21""... $ac_c" 1>&6
echo "configure:7688: checking for PL_GetEvent in -lplds21" >&5
echo "configure:7792: 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
@ -7692,7 +7796,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplds21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7696 "configure"
#line 7800 "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
@ -7703,7 +7807,7 @@ int main() {
PL_GetEvent()
; return 0; }
EOF
if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7811: \"$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
@ -7743,7 +7847,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:7747: checking for $ac_word" >&5
echo "configure:7851: 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