|
|
|
|
@ -23,6 +23,8 @@ ac_help="$ac_help
|
|
|
|
|
--with-motif-includes=DIR specify where to look for motif includes"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-motif-libraries=DIR specify where to look for motif libs"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-xmhtml-libraries=DIR specify where to look for xmhtml libs"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-gnome=PATH specify where to look for gnome includes and libs"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
@ -631,6 +633,13 @@ if test "${with_motif_libraries+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --with-xmhtml-libraries or --without-xmhtml-libraries was given.
|
|
|
|
|
if test "${with_xmhtml_libraries+set}" = set; then
|
|
|
|
|
withval="$with_xmhtml_libraries"
|
|
|
|
|
X_LIBS="${X_LIBS} -L$with_xmhtml_libraries"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Let the user specify gnome paths:
|
|
|
|
|
# -I...libgnomesupport is to fix bug in gnome-1.3 release
|
|
|
|
|
# Check whether --with-gnome or --without-gnome was given.
|
|
|
|
|
@ -686,7 +695,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:690: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:699: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -738,7 +747,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:742: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:751: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -767,7 +776,7 @@ fi
|
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:771: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:780: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -796,7 +805,7 @@ if test -z "$CC"; then
|
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:800: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:809: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -844,7 +853,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:857: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
@ -854,11 +863,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 858 "configure"
|
|
|
|
|
#line 867 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
|
@ -878,12 +887,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:882: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:887: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:896: checking whether we are using GNU C" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -892,7 +901,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
|
@ -907,7 +916,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:911: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:920: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -935,7 +944,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:939: checking for POSIXized ISC" >&5
|
|
|
|
|
echo "configure:948: checking for POSIXized ISC" >&5
|
|
|
|
|
if test -d /etc/conf/kconfig.d &&
|
|
|
|
|
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
|
|
|
|
then
|
|
|
|
|
@ -956,14 +965,14 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:960: checking whether byte ordering is bigendian" >&5
|
|
|
|
|
echo "configure:969: checking whether byte ordering is bigendian" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_cv_c_bigendian=unknown
|
|
|
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 967 "configure"
|
|
|
|
|
#line 976 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
|
@ -974,11 +983,11 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 982 "configure"
|
|
|
|
|
#line 991 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
|
@ -989,7 +998,7 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_bigendian=yes
|
|
|
|
|
else
|
|
|
|
|
@ -1009,7 +1018,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1013 "configure"
|
|
|
|
|
#line 1022 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main () {
|
|
|
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
|
|
|
@ -1022,7 +1031,7 @@ main () {
|
|
|
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_c_bigendian=no
|
|
|
|
|
else
|
|
|
|
|
@ -1046,7 +1055,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1050: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
echo "configure:1059: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1076,7 +1085,7 @@ fi
|
|
|
|
|
# *******************************************
|
|
|
|
|
# check for UI libs:
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1080: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:1089: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
|
@ -1091,13 +1100,13 @@ else
|
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
|
# not just through cpp.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1095 "configure"
|
|
|
|
|
#line 1104 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
@ -1108,13 +1117,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1112 "configure"
|
|
|
|
|
#line 1121 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
@ -1141,7 +1150,7 @@ echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
# Uses ac_ vars as temps to allow command line to override cache and checks.
|
|
|
|
|
# --without-x overrides everything else, but does not touch the cache.
|
|
|
|
|
echo $ac_n "checking for X""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1145: checking for X" >&5
|
|
|
|
|
echo "configure:1154: checking for X" >&5
|
|
|
|
|
|
|
|
|
|
# Check whether --with-x or --without-x was given.
|
|
|
|
|
if test "${with_x+set}" = set; then
|
|
|
|
|
@ -1203,12 +1212,12 @@ if test "$ac_x_includes" = NO; then
|
|
|
|
|
|
|
|
|
|
# First, try using that file with no special directory specified.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1207 "configure"
|
|
|
|
|
#line 1216 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$x_direct_test_include>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
@ -1277,14 +1286,14 @@ if test "$ac_x_libraries" = NO; then
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-l$x_direct_test_library $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1281 "configure"
|
|
|
|
|
#line 1290 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
${x_direct_test_function}()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
# We can link X programs with no special library path.
|
|
|
|
|
@ -1390,17 +1399,17 @@ else
|
|
|
|
|
case "`(uname -sr) 2>/dev/null`" in
|
|
|
|
|
"SunOS 5"*)
|
|
|
|
|
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1394: checking whether -R must be followed by a space" >&5
|
|
|
|
|
echo "configure:1403: checking whether -R must be followed by a space" >&5
|
|
|
|
|
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1397 "configure"
|
|
|
|
|
#line 1406 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_R_nospace=yes
|
|
|
|
|
else
|
|
|
|
|
@ -1416,14 +1425,14 @@ rm -f conftest*
|
|
|
|
|
else
|
|
|
|
|
LIBS="$ac_xsave_LIBS -R $x_libraries"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1420 "configure"
|
|
|
|
|
#line 1429 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_R_space=yes
|
|
|
|
|
else
|
|
|
|
|
@ -1455,7 +1464,7 @@ rm -f conftest*
|
|
|
|
|
# libraries were built with DECnet support. And karl@cs.umb.edu says
|
|
|
|
|
# the Alpha needs dnet_stub (dnet does not exist).
|
|
|
|
|
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1459: checking for dnet_ntoa in -ldnet" >&5
|
|
|
|
|
echo "configure:1468: checking for dnet_ntoa in -ldnet" >&5
|
|
|
|
|
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1463,7 +1472,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldnet $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1467 "configure"
|
|
|
|
|
#line 1476 "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
|
|
|
|
|
@ -1474,7 +1483,7 @@ int main() {
|
|
|
|
|
dnet_ntoa()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1487: \"$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
|
|
|
|
|
@ -1496,7 +1505,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
|
|
|
|
|
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1500: checking for dnet_ntoa in -ldnet_stub" >&5
|
|
|
|
|
echo "configure:1509: checking for dnet_ntoa in -ldnet_stub" >&5
|
|
|
|
|
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1504,7 +1513,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldnet_stub $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1508 "configure"
|
|
|
|
|
#line 1517 "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
|
|
|
|
|
@ -1515,7 +1524,7 @@ int main() {
|
|
|
|
|
dnet_ntoa()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1528: \"$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
|
|
|
|
|
@ -1544,12 +1553,12 @@ fi
|
|
|
|
|
# The nsl library prevents programs from opening the X display
|
|
|
|
|
# on Irix 5.2, according to dickey@clark.net.
|
|
|
|
|
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1548: checking for gethostbyname" >&5
|
|
|
|
|
echo "configure:1557: checking for gethostbyname" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1553 "configure"
|
|
|
|
|
#line 1562 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char gethostbyname(); below. */
|
|
|
|
|
@ -1572,7 +1581,7 @@ gethostbyname();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_gethostbyname=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1593,7 +1602,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_gethostbyname = no; then
|
|
|
|
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1597: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
echo "configure:1606: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1601,7 +1610,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1605 "configure"
|
|
|
|
|
#line 1614 "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
|
|
|
|
|
@ -1612,7 +1621,7 @@ int main() {
|
|
|
|
|
gethostbyname()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1625: \"$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
|
|
|
|
|
@ -1642,12 +1651,12 @@ fi
|
|
|
|
|
# -lsocket must be given before -lnsl if both are needed.
|
|
|
|
|
# We assume that if connect needs -lnsl, so does gethostbyname.
|
|
|
|
|
echo $ac_n "checking for connect""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1646: checking for connect" >&5
|
|
|
|
|
echo "configure:1655: checking for connect" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1651 "configure"
|
|
|
|
|
#line 1660 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char connect(); below. */
|
|
|
|
|
@ -1670,7 +1679,7 @@ connect();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_connect=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1691,7 +1700,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_connect = no; then
|
|
|
|
|
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1695: checking for connect in -lsocket" >&5
|
|
|
|
|
echo "configure:1704: checking for connect in -lsocket" >&5
|
|
|
|
|
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1699,7 +1708,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1703 "configure"
|
|
|
|
|
#line 1712 "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
|
|
|
|
|
@ -1710,7 +1719,7 @@ int main() {
|
|
|
|
|
connect()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1723: \"$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
|
|
|
|
|
@ -1734,12 +1743,12 @@ fi
|
|
|
|
|
|
|
|
|
|
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
|
|
|
|
|
echo $ac_n "checking for remove""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1738: checking for remove" >&5
|
|
|
|
|
echo "configure:1747: checking for remove" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1743 "configure"
|
|
|
|
|
#line 1752 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char remove(); below. */
|
|
|
|
|
@ -1762,7 +1771,7 @@ remove();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_remove=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1783,7 +1792,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_remove = no; then
|
|
|
|
|
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1787: checking for remove in -lposix" >&5
|
|
|
|
|
echo "configure:1796: checking for remove in -lposix" >&5
|
|
|
|
|
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1791,7 +1800,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lposix $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1795 "configure"
|
|
|
|
|
#line 1804 "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
|
|
|
|
|
@ -1802,7 +1811,7 @@ int main() {
|
|
|
|
|
remove()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1815: \"$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
|
|
|
|
|
@ -1826,12 +1835,12 @@ fi
|
|
|
|
|
|
|
|
|
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
|
|
|
|
|
echo $ac_n "checking for shmat""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1830: checking for shmat" >&5
|
|
|
|
|
echo "configure:1839: checking for shmat" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1835 "configure"
|
|
|
|
|
#line 1844 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char shmat(); below. */
|
|
|
|
|
@ -1854,7 +1863,7 @@ shmat();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_shmat=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1875,7 +1884,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_shmat = no; then
|
|
|
|
|
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1879: checking for shmat in -lipc" >&5
|
|
|
|
|
echo "configure:1888: checking for shmat in -lipc" >&5
|
|
|
|
|
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1883,7 +1892,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lipc $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1887 "configure"
|
|
|
|
|
#line 1896 "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
|
|
|
|
|
@ -1894,7 +1903,7 @@ int main() {
|
|
|
|
|
shmat()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1907: \"$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
|
|
|
|
|
@ -1927,7 +1936,7 @@ fi
|
|
|
|
|
# libraries we check for below, so use a different variable.
|
|
|
|
|
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
|
|
|
|
|
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1931: checking for IceConnectionNumber in -lICE" >&5
|
|
|
|
|
echo "configure:1940: checking for IceConnectionNumber in -lICE" >&5
|
|
|
|
|
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1935,7 +1944,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lICE $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1939 "configure"
|
|
|
|
|
#line 1948 "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
|
|
|
|
|
@ -1946,7 +1955,7 @@ int main() {
|
|
|
|
|
IceConnectionNumber()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1959: \"$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
|
|
|
|
|
@ -1975,7 +1984,7 @@ LIBS="-lm"
|
|
|
|
|
# the XmHTML widget needs libz, libjpeg, libpng and libm
|
|
|
|
|
# it also uses #ifdef's not #if's so DONT #def to zero.
|
|
|
|
|
echo $ac_n "checking for deflateEnd in -lz""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1979: checking for deflateEnd in -lz" >&5
|
|
|
|
|
echo "configure:1988: checking for deflateEnd in -lz" >&5
|
|
|
|
|
ac_lib_var=`echo z'_'deflateEnd | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -1983,7 +1992,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1987 "configure"
|
|
|
|
|
#line 1996 "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
|
|
|
|
|
@ -1994,7 +2003,7 @@ int main() {
|
|
|
|
|
deflateEnd()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2007: \"$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
|
|
|
|
|
@ -2018,7 +2027,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for jpeg_read_scanlines in -ljpeg""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2022: checking for jpeg_read_scanlines in -ljpeg" >&5
|
|
|
|
|
echo "configure:2031: checking for jpeg_read_scanlines in -ljpeg" >&5
|
|
|
|
|
ac_lib_var=`echo jpeg'_'jpeg_read_scanlines | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2026,7 +2035,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ljpeg $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2030 "configure"
|
|
|
|
|
#line 2039 "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
|
|
|
|
|
@ -2037,7 +2046,7 @@ int main() {
|
|
|
|
|
jpeg_read_scanlines()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2050: \"$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
|
|
|
|
|
@ -2061,7 +2070,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2065: checking for png_read_image in -lpng" >&5
|
|
|
|
|
echo "configure:2074: checking for png_read_image in -lpng" >&5
|
|
|
|
|
ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2069,7 +2078,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lpng $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2073 "configure"
|
|
|
|
|
#line 2082 "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
|
|
|
|
|
@ -2080,7 +2089,7 @@ int main() {
|
|
|
|
|
png_read_image()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2093: \"$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
|
|
|
|
|
@ -2110,7 +2119,7 @@ fi
|
|
|
|
|
# LIBS="-lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for XpmReadFileToXpmImage in -lXpm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2114: checking for XpmReadFileToXpmImage in -lXpm" >&5
|
|
|
|
|
echo "configure:2123: checking for XpmReadFileToXpmImage in -lXpm" >&5
|
|
|
|
|
ac_lib_var=`echo Xpm'_'XpmReadFileToXpmImage | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2118,7 +2127,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lXpm -L $x_libraries -lX11 $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2122 "configure"
|
|
|
|
|
#line 2131 "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
|
|
|
|
|
@ -2129,7 +2138,7 @@ int main() {
|
|
|
|
|
XpmReadFileToXpmImage()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2142: \"$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
|
|
|
|
|
@ -2155,12 +2164,64 @@ cat >> confdefs.h <<\EOF
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# X_LIBS="-lXmHTML $X_LIBS"
|
|
|
|
|
|
|
|
|
|
# Don't build the xmhtml source if user already has it installed...
|
|
|
|
|
# this is ugly, there must be a nicer way of setting this up ...
|
|
|
|
|
echo $ac_n "checking for XmHTMLTextScrollToLine in -lXmHTML""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2175: checking for XmHTMLTextScrollToLine in -lXmHTML" >&5
|
|
|
|
|
ac_lib_var=`echo XmHTML'_'XmHTMLTextScrollToLine | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lXmHTML -lXm -L $x_libraries -lXext -lX11 $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2183 "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
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char XmHTMLTextScrollToLine();
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
XmHTMLTextScrollToLine()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2194: \"$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
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
X_LIBS="-lXmHTML $X_LIBS"
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
X_LIBS="-lXmHTML $X_LIBS"
|
|
|
|
|
XMHTML_TARGET=default
|
|
|
|
|
XMHTML_INC=/lib/XmHTML-1.1.0/src
|
|
|
|
|
LIBS="-L $srcdir/lib/XmHTML-1.1.0 $LIBS"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Set GUILELIBS according to the set of libraries needed to link
|
|
|
|
|
# with guile.
|
|
|
|
|
echo $ac_n "checking for gh_enter in -lguile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2164: checking for gh_enter in -lguile" >&5
|
|
|
|
|
echo "configure:2225: checking for gh_enter in -lguile" >&5
|
|
|
|
|
ac_lib_var=`echo guile'_'gh_enter | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2168,7 +2229,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lguile $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2172 "configure"
|
|
|
|
|
#line 2233 "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
|
|
|
|
|
@ -2179,7 +2240,7 @@ int main() {
|
|
|
|
|
gh_enter()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2244: \"$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
|
|
|
|
|
@ -2198,7 +2259,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for gh_define in -lguile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2202: checking for gh_define in -lguile" >&5
|
|
|
|
|
echo "configure:2263: checking for gh_define in -lguile" >&5
|
|
|
|
|
ac_lib_var=`echo guile'_'gh_define | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2206,7 +2267,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lguile -ldl -lreadline $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2210 "configure"
|
|
|
|
|
#line 2271 "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
|
|
|
|
|
@ -2217,7 +2278,7 @@ int main() {
|
|
|
|
|
gh_define()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2282: \"$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
|
|
|
|
|
@ -2236,7 +2297,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for gh_eval_file in -lguile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2240: checking for gh_eval_file in -lguile" >&5
|
|
|
|
|
echo "configure:2301: checking for gh_eval_file in -lguile" >&5
|
|
|
|
|
ac_lib_var=`echo guile'_'gh_eval_file | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2244,7 +2305,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lguile -ldl -lreadline -lqthreads $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2248 "configure"
|
|
|
|
|
#line 2309 "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
|
|
|
|
|
@ -2255,7 +2316,7 @@ int main() {
|
|
|
|
|
gh_eval_file()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2320: \"$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
|
|
|
|
|
@ -2427,6 +2488,8 @@ s%@X_CFLAGS@%$X_CFLAGS%g
|
|
|
|
|
s%@X_PRE_LIBS@%$X_PRE_LIBS%g
|
|
|
|
|
s%@X_LIBS@%$X_LIBS%g
|
|
|
|
|
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
|
|
|
|
|
s%@XMHTML_TARGET@%$XMHTML_TARGET%g
|
|
|
|
|
s%@XMHTML_INC@%$XMHTML_INC%g
|
|
|
|
|
s%@GUILELIBS@%$GUILELIBS%g
|
|
|
|
|
|
|
|
|
|
CEOF
|
|
|
|
|
|