This commit is contained in:
briano%netscape.com 1999-02-12 01:00:35 +00:00
Родитель 8af70f1475
Коммит 521fdbe718
1 изменённых файлов: 158 добавлений и 121 удалений

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

@ -5659,24 +5659,23 @@ else
fi
CC=$_SAVE_CC
echo $ac_n "checking $CXX for \"-include <file>\" option""... $ac_c" 1>&6
echo "configure:5664: checking $CXX for \"-include <file>\" option" >&5
echo $ac_n "checking $CC for \"-include <file>\" option""... $ac_c" 1>&6
echo "configure:5664: 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"
_SAVE_CC=$CC ; CC=$CXX
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 5673 "configure"
#line 5672 "configure"
#include "confdefs.h"
int main() {
booboo = "yogi";
; return 0; }
EOF
if { (eval echo configure:5680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cxx_include_flag=true
else
@ -5690,46 +5689,78 @@ fi
if test $ac_cv_cxx_include_flag = true ; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
fi
CC=$_SAVE_CC
echo $ac_n "checking $CC for \"-include <file>\" option""... $ac_c" 1>&6
echo "configure:5699: checking $CC for \"-include <file>\" option" >&5
if eval "test \"`echo '$''{'ac_cv_cc_include_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5704 "configure"
#include "confdefs.h"
int main() {
booboo = "yogi";
; return 0; }
EOF
if { (eval echo configure:5711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cc_include_flag=true
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cc_include_flag=false
fi
rm -f conftest*
fi
if test $ac_cv_cc_include_flag = true ; then
echo "$ac_t""yes" 1>&6
USE_CPP_INCLUDE_FLAG=1
else
echo "$ac_t""no" 1>&6
fi
CFLAGS=$_SAVE_CFLAGS
rm -r $_tmp_header
if test $ac_cv_cc_include_flag = true -a $ac_cv_cxx_include_flag = true; then
USE_CPP_INCLUDE_FLAG=1
echo $ac_n "checking $CC for \"-Wall\" support""... $ac_c" 1>&6
echo "configure:5701: 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 5707 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:5714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cc_wall_flag=true
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cc_wall_flag=false
fi
rm -f conftest*
fi
if test $ac_cv_cc_wall_flag = true ; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
CFLAGS=$_SAVE_CFLAGS
fi
echo $ac_n "checking $CC for \"-pedantic\" support""... $ac_c" 1>&6
echo "configure:5734: checking $CC for \"-pedantic\" support" >&5
_SAVE_CFLAGS=$CFLAGS ; CFLAGS="$CFLAGS -pedantic"
if eval "test \"`echo '$''{'ac_cv_cc_pedantic_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5740 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:5747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cc_pedantic_flag=true
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_cc_pedantic_flag=false
fi
rm -f conftest*
fi
if test $ac_cv_cc_pedantic_flag = true ; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
CFLAGS=$_SAVE_CFLAGS
fi
# Mozilla specific options
# ========================================================
@ -6092,7 +6123,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:6096: checking for XDrawLines in -lX11" >&5
echo "configure:6127: 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
@ -6100,7 +6131,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lX11 $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6104 "configure"
#line 6135 "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
@ -6111,7 +6142,7 @@ int main() {
XDrawLines()
; return 0; }
EOF
if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6146: \"$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
@ -6133,7 +6164,7 @@ MISSING_X="$MISSING_X -lX11"
fi
echo $ac_n "checking for XextAddDisplay in -lXext""... $ac_c" 1>&6
echo "configure:6137: checking for XextAddDisplay in -lXext" >&5
echo "configure:6168: 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
@ -6141,7 +6172,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXext $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6145 "configure"
#line 6176 "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
@ -6152,7 +6183,7 @@ int main() {
XextAddDisplay()
; return 0; }
EOF
if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6187: \"$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
@ -6174,7 +6205,7 @@ MISSING_X="$MISSING_X -lXext"
fi
echo $ac_n "checking for IceFlush in -lICE""... $ac_c" 1>&6
echo "configure:6178: checking for IceFlush in -lICE" >&5
echo "configure:6209: 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
@ -6182,7 +6213,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lICE $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6186 "configure"
#line 6217 "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
@ -6193,7 +6224,7 @@ int main() {
IceFlush()
; return 0; }
EOF
if { (eval echo configure:6197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6228: \"$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
@ -6214,7 +6245,7 @@ else
fi
echo $ac_n "checking for SmcCloseConnection in -lSM""... $ac_c" 1>&6
echo "configure:6218: checking for SmcCloseConnection in -lSM" >&5
echo "configure:6249: 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
@ -6222,7 +6253,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lSM $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6226 "configure"
#line 6257 "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
@ -6233,7 +6264,7 @@ int main() {
SmcCloseConnection()
; return 0; }
EOF
if { (eval echo configure:6237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6268: \"$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
@ -6254,7 +6285,7 @@ else
fi
echo $ac_n "checking for XtFree in -lXt""... $ac_c" 1>&6
echo "configure:6258: checking for XtFree in -lXt" >&5
echo "configure:6289: 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
@ -6262,7 +6293,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXt $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6266 "configure"
#line 6297 "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
@ -6273,7 +6304,7 @@ int main() {
XtFree()
; return 0; }
EOF
if { (eval echo configure:6277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6308: \"$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
@ -6295,7 +6326,7 @@ MISSING_X="$MISSING_X -lXt"
fi
echo $ac_n "checking for XmuLookupString in -lXmu""... $ac_c" 1>&6
echo "configure:6299: checking for XmuLookupString in -lXmu" >&5
echo "configure:6330: 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
@ -6303,7 +6334,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXmu $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6307 "configure"
#line 6338 "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
@ -6314,7 +6345,7 @@ int main() {
XmuLookupString()
; return 0; }
EOF
if { (eval echo configure:6318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6349: \"$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 +6390,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:6363: checking for XpmWriteFileFromImage in -lXpm" >&5
echo "configure:6394: 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
@ -6367,7 +6398,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXpm $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6371 "configure"
#line 6402 "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 +6409,7 @@ int main() {
XpmWriteFileFromImage()
; 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:6413: \"$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
@ -6402,7 +6433,7 @@ fi
fi
if test "$MOTIF_VERSION" = "2.1" ; then
echo $ac_n "checking for XpGetPrinterList in -lXp""... $ac_c" 1>&6
echo "configure:6406: checking for XpGetPrinterList in -lXp" >&5
echo "configure:6437: 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
@ -6410,7 +6441,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXp $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6414 "configure"
#line 6445 "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
@ -6421,7 +6452,7 @@ int main() {
XpGetPrinterList()
; return 0; }
EOF
if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6456: \"$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
@ -6479,7 +6510,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:6483: checking for XmStringCreate in -lXm" >&5
echo "configure:6514: 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
@ -6487,7 +6518,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $MOTIF_DYNAMIC_PATHS $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6491 "configure"
#line 6522 "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
@ -6498,7 +6529,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6533: \"$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
@ -6522,7 +6553,7 @@ fi
LDFLAGS="$_SAVE_LDFLAGS"
else
echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6
echo "configure:6526: checking for XmStringCreate in -lXm" >&5
echo "configure:6557: 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
@ -6530,7 +6561,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXm $TK_LIBS $XLIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6534 "configure"
#line 6565 "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
@ -6541,7 +6572,7 @@ int main() {
XmStringCreate()
; return 0; }
EOF
if { (eval echo configure:6545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6576: \"$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
@ -6610,7 +6641,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:6614: checking for $ac_word" >&5
echo "configure:6645: 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
@ -6641,7 +6672,7 @@ fi
min_gtk_version=$GTK_VERSION
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
echo "configure:6645: checking for GTK - version >= $min_gtk_version" >&5
echo "configure:6676: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
@ -6664,7 +6695,7 @@ echo "configure:6645: checking for GTK - version >= $min_gtk_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 6668 "configure"
#line 6699 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -6742,7 +6773,7 @@ main ()
}
EOF
if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
@ -6776,7 +6807,7 @@ fi
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
cat > conftest.$ac_ext <<EOF
#line 6780 "configure"
#line 6811 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -6786,7 +6817,7 @@ int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
EOF
if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6821: \"$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"
@ -6891,7 +6922,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:6895: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:6926: 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
@ -6899,7 +6930,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6903 "configure"
#line 6934 "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
@ -6910,7 +6941,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:6945: \"$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
@ -6939,7 +6970,7 @@ if test "$SYSTEM_JPEG" = 1 ; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 6943 "configure"
#line 6974 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -6953,7 +6984,7 @@ else
}
EOF
if { (eval echo configure:6957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -6991,16 +7022,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:6995: checking "for zlib.h"" >&5
echo "configure:7026: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 6997 "configure"
#line 7028 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:7004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:7035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -7014,7 +7045,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:7018: checking for gzread in -lz" >&5
echo "configure:7049: 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
@ -7022,7 +7053,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7026 "configure"
#line 7057 "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
@ -7033,7 +7064,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7068: \"$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
@ -7079,7 +7110,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:7083: checking for png_get_valid in -lpng" >&5
echo "configure:7114: 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
@ -7087,7 +7118,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7091 "configure"
#line 7122 "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
@ -7098,7 +7129,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7133: \"$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
@ -7126,7 +7157,7 @@ if test "$SYSTEM_PNG" = 1 ; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 7130 "configure"
#line 7161 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -7140,7 +7171,7 @@ else
}
EOF
if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -7184,10 +7215,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:7188: checking "for FC_Initialize in -ltalkback"" >&5;
echo "configure:7219: checking "for FC_Initialize in -ltalkback"" >&5;
LIBS="-ltalkback $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7191 "configure"
#line 7222 "configure"
#include "confdefs.h"
#include "fullcircle.h"
@ -7199,7 +7230,7 @@ FC_Initialize();
; return 0; }
EOF
if { (eval echo configure:7203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
FULLCIRCLE_LIB="-ltalkback $FULLCIRCLE_LIB" result="yes"
else
@ -7226,7 +7257,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:7230: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7261: 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
@ -7234,7 +7265,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7238 "configure"
#line 7269 "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
@ -7245,7 +7276,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7280: \"$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
@ -7295,13 +7326,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:7299: checking "for PR_GetCurrentThread in -lnspr21"" >&5
echo "configure:7330: 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 7305 "configure"
#line 7336 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7311,7 +7342,7 @@ else
}
EOF
if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7346: \"$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
@ -7332,7 +7363,7 @@ LIBS=$_SAVE_LIBS
case "$target" in
*-*-solaris*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7336: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7367: 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
@ -7340,7 +7371,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7344 "configure"
#line 7375 "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
@ -7351,7 +7382,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7386: \"$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
@ -7373,7 +7404,7 @@ fi
;;
*-*-linux*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:7377: checking for pthread_attr_init in -lpthread" >&5
echo "configure:7408: 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
@ -7381,7 +7412,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7385 "configure"
#line 7416 "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
@ -7392,7 +7423,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7427: \"$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
@ -7415,13 +7446,13 @@ fi
esac
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr21 with thread lib"""... $ac_c" 1>&6
echo "configure:7419: checking "for PR_GetCurrentThread in -lnspr21 with thread lib"" >&5
echo "configure:7450: 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 7425 "configure"
#line 7456 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -7431,7 +7462,7 @@ else
}
EOF
if { (eval echo configure:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7466: \"$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
@ -7449,7 +7480,7 @@ fi
echo $ac_n "checking for PL_CreateOptState in -lplc21""... $ac_c" 1>&6
echo "configure:7453: checking for PL_CreateOptState in -lplc21" >&5
echo "configure:7484: 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
@ -7457,7 +7488,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplc21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7461 "configure"
#line 7492 "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
@ -7468,7 +7499,7 @@ int main() {
PL_CreateOptState()
; return 0; }
EOF
if { (eval echo configure:7472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7503: \"$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
@ -7490,7 +7521,7 @@ MISSING_NSPR="$MISSING_NSPR -lplc21"
fi
echo $ac_n "checking for PL_GetEvent in -lplds21""... $ac_c" 1>&6
echo "configure:7494: checking for PL_GetEvent in -lplds21" >&5
echo "configure:7525: 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
@ -7498,7 +7529,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplds21 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7502 "configure"
#line 7533 "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
@ -7509,7 +7540,7 @@ int main() {
PL_GetEvent()
; return 0; }
EOF
if { (eval echo configure:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:7544: \"$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
@ -7532,7 +7563,7 @@ fi
CFLAGS=$_SAVE_CFLAGS
CFLAGS="${OPTIMIZE} ${GPROF} ${COMPILER_WARNINGS} ${CFLAGS}"
CFLAGS="${OPTIMIZE} ${GPROF} ${CFLAGS}"
LDFLAGS=$_SAVE_LDFLAGS
LIBS=$_SAVE_LIBS
@ -7544,7 +7575,7 @@ fi
# 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:7548: checking for $ac_word" >&5
echo "configure:7579: 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
@ -7632,14 +7663,20 @@ fi
# (Do not add AC_DEFINE calls after this line.)
if test "$USE_CPP_INCLUDE_FLAG"; then
CONFIG_DEFS_H=config-defs.h
echo "$ac_t"""creating $CONFIG_DEFS_H"" 1>&6
cat > $CONFIG_DEFS_H <<\EOF
# Only write config-defs.h when something changes (or it doesn't exist)
if test ! -f $CONFIG_DEFS_H \
|| diff confdefs.h $CONFIG_DEFS_H | grep \# > /dev/null; then
echo "$ac_t"""creating $CONFIG_DEFS_H"" 1>&6
cat > $CONFIG_DEFS_H <<\EOF
/* List of defines generated by configure. Included with preprocessor flag,
* -include, to avoid long list of -D defines on the compile command-line.
* Do not edit.
*/
EOF
cat confdefs.h >> $CONFIG_DEFS_H
cat confdefs.h >> $CONFIG_DEFS_H
fi
CONFIG_DEFS_H='$(DEPTH)/'$CONFIG_DEFS_H
fi