|
|
|
|
@ -47,6 +47,8 @@ ac_help="$ac_help
|
|
|
|
|
--with-xmhtml-includes=DIR specify where to look for xmhtml headers"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-xmhtml-libraries=DIR specify where to look for xmhtml libs"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-guile=PATH specify where to look for guile includes and libs"
|
|
|
|
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
|
|
# The variables have the same names as the options, with
|
|
|
|
|
@ -584,7 +586,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:588: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:590: 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
|
|
|
|
|
@ -636,7 +638,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:640: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:642: 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
|
|
|
|
|
@ -665,7 +667,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:669: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:671: 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
|
|
|
|
|
@ -694,7 +696,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:698: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:700: 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
|
|
|
|
|
@ -742,7 +744,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:746: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:748: 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.
|
|
|
|
|
@ -752,11 +754,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 756 "configure"
|
|
|
|
|
#line 758 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:762: \"$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
|
|
|
|
|
@ -776,12 +778,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:780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:782: 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:785: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:787: 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
|
|
|
|
|
@ -790,7 +792,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:794: \"$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:796: \"$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
|
|
|
|
|
@ -805,7 +807,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:809: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:811: 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
|
|
|
|
|
@ -833,7 +835,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:837: checking for POSIXized ISC" >&5
|
|
|
|
|
echo "configure:839: 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
|
|
|
|
|
@ -854,14 +856,14 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:858: checking whether byte ordering is bigendian" >&5
|
|
|
|
|
echo "configure:860: 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 865 "configure"
|
|
|
|
|
#line 867 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
|
@ -872,11 +874,11 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:878: \"$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 880 "configure"
|
|
|
|
|
#line 882 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
|
@ -887,7 +889,7 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_bigendian=yes
|
|
|
|
|
else
|
|
|
|
|
@ -907,7 +909,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 911 "configure"
|
|
|
|
|
#line 913 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main () {
|
|
|
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
|
|
|
@ -920,7 +922,7 @@ main () {
|
|
|
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_c_bigendian=no
|
|
|
|
|
else
|
|
|
|
|
@ -944,7 +946,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:948: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
echo "configure:950: 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
|
|
|
|
|
@ -971,7 +973,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Variables
|
|
|
|
|
### Set up all the initial variable values...
|
|
|
|
|
|
|
|
|
|
@ -1052,7 +1054,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Programs
|
|
|
|
|
|
|
|
|
|
# Check for perl, force version 5
|
|
|
|
|
@ -1060,7 +1062,7 @@ fi
|
|
|
|
|
# Extract the first word of "perl", so it can be a program name with args.
|
|
|
|
|
set dummy perl; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1064: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1066: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -1131,7 +1133,7 @@ fi
|
|
|
|
|
# Extract the first word of "swig", so it can be a program name with args.
|
|
|
|
|
set dummy swig; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1135: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1137: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_SWIG'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -1186,7 +1188,7 @@ then
|
|
|
|
|
# Extract the first word of "gnome-config", so it can be a program name with args.
|
|
|
|
|
set dummy gnome-config; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1190: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1192: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG_BIN'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -1233,7 +1235,7 @@ fi
|
|
|
|
|
# --with-guile-config=...])
|
|
|
|
|
# fi
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Libraries
|
|
|
|
|
LIBS="$LIBS -lm"
|
|
|
|
|
|
|
|
|
|
@ -1243,7 +1245,7 @@ LIBS="$LIBS -lm"
|
|
|
|
|
# important.
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1247: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:1249: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
|
@ -1258,13 +1260,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 1262 "configure"
|
|
|
|
|
#line 1264 "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:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
@ -1275,13 +1277,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1279 "configure"
|
|
|
|
|
#line 1281 "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:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
@ -1308,7 +1310,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:1312: checking for X" >&5
|
|
|
|
|
echo "configure:1314: checking for X" >&5
|
|
|
|
|
|
|
|
|
|
# Check whether --with-x or --without-x was given.
|
|
|
|
|
if test "${with_x+set}" = set; then
|
|
|
|
|
@ -1370,12 +1372,12 @@ if test "$ac_x_includes" = NO; then
|
|
|
|
|
|
|
|
|
|
# First, try using that file with no special directory specified.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1374 "configure"
|
|
|
|
|
#line 1376 "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:1379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
@ -1444,14 +1446,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 1448 "configure"
|
|
|
|
|
#line 1450 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
${x_direct_test_function}()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1457: \"$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.
|
|
|
|
|
@ -1557,17 +1559,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:1561: checking whether -R must be followed by a space" >&5
|
|
|
|
|
echo "configure:1563: 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 1564 "configure"
|
|
|
|
|
#line 1566 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_R_nospace=yes
|
|
|
|
|
else
|
|
|
|
|
@ -1583,14 +1585,14 @@ rm -f conftest*
|
|
|
|
|
else
|
|
|
|
|
LIBS="$ac_xsave_LIBS -R $x_libraries"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1587 "configure"
|
|
|
|
|
#line 1589 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_R_space=yes
|
|
|
|
|
else
|
|
|
|
|
@ -1622,7 +1624,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:1626: checking for dnet_ntoa in -ldnet" >&5
|
|
|
|
|
echo "configure:1628: 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
|
|
|
|
|
@ -1630,7 +1632,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldnet $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1634 "configure"
|
|
|
|
|
#line 1636 "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
|
|
|
|
|
@ -1641,7 +1643,7 @@ int main() {
|
|
|
|
|
dnet_ntoa()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1647: \"$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
|
|
|
|
|
@ -1663,7 +1665,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:1667: checking for dnet_ntoa in -ldnet_stub" >&5
|
|
|
|
|
echo "configure:1669: 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
|
|
|
|
|
@ -1671,7 +1673,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldnet_stub $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1675 "configure"
|
|
|
|
|
#line 1677 "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
|
|
|
|
|
@ -1682,7 +1684,7 @@ int main() {
|
|
|
|
|
dnet_ntoa()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1688: \"$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
|
|
|
|
|
@ -1711,12 +1713,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:1715: checking for gethostbyname" >&5
|
|
|
|
|
echo "configure:1717: 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 1720 "configure"
|
|
|
|
|
#line 1722 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char gethostbyname(); below. */
|
|
|
|
|
@ -1739,7 +1741,7 @@ gethostbyname();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_gethostbyname=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1760,7 +1762,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_gethostbyname = no; then
|
|
|
|
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1764: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
echo "configure:1766: 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
|
|
|
|
|
@ -1768,7 +1770,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1772 "configure"
|
|
|
|
|
#line 1774 "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
|
|
|
|
|
@ -1779,7 +1781,7 @@ int main() {
|
|
|
|
|
gethostbyname()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1785: \"$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
|
|
|
|
|
@ -1809,12 +1811,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:1813: checking for connect" >&5
|
|
|
|
|
echo "configure:1815: 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 1818 "configure"
|
|
|
|
|
#line 1820 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char connect(); below. */
|
|
|
|
|
@ -1837,7 +1839,7 @@ connect();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_connect=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1858,7 +1860,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_connect = no; then
|
|
|
|
|
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1862: checking for connect in -lsocket" >&5
|
|
|
|
|
echo "configure:1864: 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
|
|
|
|
|
@ -1866,7 +1868,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1870 "configure"
|
|
|
|
|
#line 1872 "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
|
|
|
|
|
@ -1877,7 +1879,7 @@ int main() {
|
|
|
|
|
connect()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1883: \"$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
|
|
|
|
|
@ -1901,12 +1903,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:1905: checking for remove" >&5
|
|
|
|
|
echo "configure:1907: 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 1910 "configure"
|
|
|
|
|
#line 1912 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char remove(); below. */
|
|
|
|
|
@ -1929,7 +1931,7 @@ remove();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_remove=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -1950,7 +1952,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_remove = no; then
|
|
|
|
|
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1954: checking for remove in -lposix" >&5
|
|
|
|
|
echo "configure:1956: 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
|
|
|
|
|
@ -1958,7 +1960,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lposix $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1962 "configure"
|
|
|
|
|
#line 1964 "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
|
|
|
|
|
@ -1969,7 +1971,7 @@ int main() {
|
|
|
|
|
remove()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1975: \"$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
|
|
|
|
|
@ -1993,12 +1995,12 @@ fi
|
|
|
|
|
|
|
|
|
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
|
|
|
|
|
echo $ac_n "checking for shmat""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1997: checking for shmat" >&5
|
|
|
|
|
echo "configure:1999: 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 2002 "configure"
|
|
|
|
|
#line 2004 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char shmat(); below. */
|
|
|
|
|
@ -2021,7 +2023,7 @@ shmat();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_shmat=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -2042,7 +2044,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_shmat = no; then
|
|
|
|
|
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2046: checking for shmat in -lipc" >&5
|
|
|
|
|
echo "configure:2048: 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
|
|
|
|
|
@ -2050,7 +2052,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lipc $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2054 "configure"
|
|
|
|
|
#line 2056 "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
|
|
|
|
|
@ -2061,7 +2063,7 @@ int main() {
|
|
|
|
|
shmat()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2067: \"$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
|
|
|
|
|
@ -2094,7 +2096,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:2098: checking for IceConnectionNumber in -lICE" >&5
|
|
|
|
|
echo "configure:2100: 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
|
|
|
|
|
@ -2102,7 +2104,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lICE $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2106 "configure"
|
|
|
|
|
#line 2108 "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
|
|
|
|
|
@ -2113,7 +2115,7 @@ int main() {
|
|
|
|
|
IceConnectionNumber()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2119: \"$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
|
|
|
|
|
@ -2149,7 +2151,7 @@ X_LIBS="$X_LIBS -lXext -lXmu -lXt -lX11"
|
|
|
|
|
# XXX - Ask Motif what it wants
|
|
|
|
|
MOTIF_LIBS="-lXm"
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Motif libs -- these are needed for the motif builds only
|
|
|
|
|
# Let the user specify motif paths:
|
|
|
|
|
# Check whether --with-motif or --without-motif was given.
|
|
|
|
|
@ -2173,7 +2175,7 @@ if test "${with_motif_libraries+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Gnome libs -- these are needed for the gnome builds only
|
|
|
|
|
# Let the user specify gnome paths:
|
|
|
|
|
# -I...libgnomesupport is to fix bug in gnome-1.3 release
|
|
|
|
|
@ -2202,6 +2204,7 @@ if test "${with_gnome_libraries+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Let the user specify imlib paths:
|
|
|
|
|
# Check whether --with-imlib or --without-imlib was given.
|
|
|
|
|
if test "${with_imlib+set}" = set; then
|
|
|
|
|
@ -2210,7 +2213,7 @@ if test "${with_imlib+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
# The XmHTML widget is used by motif and gnome alike.
|
|
|
|
|
|
|
|
|
|
# Check whether --with-xmhtml-includes or --without-xmhtml-includes was given.
|
|
|
|
|
@ -2230,7 +2233,7 @@ fi
|
|
|
|
|
# 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:2234: checking for deflateEnd in -lz" >&5
|
|
|
|
|
echo "configure:2237: 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
|
|
|
|
|
@ -2238,7 +2241,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2242 "configure"
|
|
|
|
|
#line 2245 "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
|
|
|
|
|
@ -2249,7 +2252,7 @@ int main() {
|
|
|
|
|
deflateEnd()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2256: \"$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
|
|
|
|
|
@ -2273,7 +2276,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for jpeg_read_scanlines in -ljpeg""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2277: checking for jpeg_read_scanlines in -ljpeg" >&5
|
|
|
|
|
echo "configure:2280: 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
|
|
|
|
|
@ -2281,7 +2284,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ljpeg $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2285 "configure"
|
|
|
|
|
#line 2288 "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
|
|
|
|
|
@ -2292,7 +2295,7 @@ int main() {
|
|
|
|
|
jpeg_read_scanlines()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2299: \"$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
|
|
|
|
|
@ -2316,7 +2319,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2320: checking for png_read_image in -lpng" >&5
|
|
|
|
|
echo "configure:2323: 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
|
|
|
|
|
@ -2324,7 +2327,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lpng $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2328 "configure"
|
|
|
|
|
#line 2331 "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
|
|
|
|
|
@ -2335,7 +2338,7 @@ int main() {
|
|
|
|
|
png_read_image()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2342: \"$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
|
|
|
|
|
@ -2365,7 +2368,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:2369: checking for XpmReadFileToXpmImage in -lXpm" >&5
|
|
|
|
|
echo "configure:2372: 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
|
|
|
|
|
@ -2373,7 +2376,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lXpm -L$x_libraries -lX11 $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2377 "configure"
|
|
|
|
|
#line 2380 "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
|
|
|
|
|
@ -2384,7 +2387,7 @@ int main() {
|
|
|
|
|
XpmReadFileToXpmImage()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2391: \"$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
|
|
|
|
|
@ -2415,7 +2418,7 @@ fi
|
|
|
|
|
# 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:2419: checking for XmHTMLTextScrollToLine in -lXmHTML" >&5
|
|
|
|
|
echo "configure:2422: 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
|
|
|
|
|
@ -2423,7 +2426,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lXmHTML $X_PRE_LIBS $MOTIF_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2427 "configure"
|
|
|
|
|
#line 2430 "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
|
|
|
|
|
@ -2434,7 +2437,7 @@ int main() {
|
|
|
|
|
XmHTMLTextScrollToLine()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2441: \"$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
|
|
|
|
|
@ -2458,7 +2461,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
## Nana
|
|
|
|
|
# XXX - There should probably be a --without-nana option (e.g., for
|
|
|
|
|
# someone who happens to have it installed on his local machine, but
|
|
|
|
|
@ -2469,17 +2472,17 @@ for ac_hdr in nana.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2473: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:2476: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2478 "configure"
|
|
|
|
|
#line 2481 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
@ -2506,7 +2509,7 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for L_buffer_create in -lnana""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2510: checking for L_buffer_create in -lnana" >&5
|
|
|
|
|
echo "configure:2513: checking for L_buffer_create in -lnana" >&5
|
|
|
|
|
ac_lib_var=`echo nana'_'L_buffer_create | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2514,7 +2517,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lnana $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2518 "configure"
|
|
|
|
|
#line 2521 "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
|
|
|
|
|
@ -2525,7 +2528,7 @@ int main() {
|
|
|
|
|
L_buffer_create()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2532: \"$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
|
|
|
|
|
@ -2546,10 +2549,10 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
# If readline exists, just assume that guile needs it. It probably does.
|
|
|
|
|
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2553: checking for readline in -lreadline" >&5
|
|
|
|
|
echo "configure:2556: checking for readline in -lreadline" >&5
|
|
|
|
|
ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2557,7 +2560,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lreadline $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2561 "configure"
|
|
|
|
|
#line 2564 "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
|
|
|
|
|
@ -2568,7 +2571,7 @@ int main() {
|
|
|
|
|
readline()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2575: \"$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
|
|
|
|
|
@ -2600,15 +2603,22 @@ fi
|
|
|
|
|
# Set GUILELIBS according to the set of libraries needed to link
|
|
|
|
|
# with guile.
|
|
|
|
|
|
|
|
|
|
# Check whether --with-guile or --without-guile was given.
|
|
|
|
|
if test "${with_guile+set}" = set; then
|
|
|
|
|
withval="$with_guile"
|
|
|
|
|
LIBS="-L$with_guile/lib ${LIBS}" CFLAGS="$CFLAGS -I$with_guile/include"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Have to use AC_TRY_LINK here because AC_CHECK_LIB caches the
|
|
|
|
|
# results, so one failure makes all further attempts fail.
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for guile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2608: checking for guile" >&5
|
|
|
|
|
echo "configure:2618: checking for guile" >&5
|
|
|
|
|
|
|
|
|
|
GNC_LIBS_SAFE=${LIBS}
|
|
|
|
|
echo $ac_n "checking for guile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2612: checking for guile" >&5
|
|
|
|
|
echo "configure:2622: checking for guile" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_guile'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -2621,14 +2631,14 @@ else
|
|
|
|
|
else
|
|
|
|
|
LIBS="${GNC_TEST_LIBS} ${GNC_LIBS_SAFE}"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2625 "configure"
|
|
|
|
|
#line 2635 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include<guile/gh.h>
|
|
|
|
|
int main() {
|
|
|
|
|
gh_eval_file;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
GUILELIBS="${GNC_TEST_LIBS}"
|
|
|
|
|
else
|
|
|
|
|
@ -2651,11 +2661,11 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
### Plotutils
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for openpl in -lplot""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2659: checking for openpl in -lplot" >&5
|
|
|
|
|
echo "configure:2669: checking for openpl in -lplot" >&5
|
|
|
|
|
ac_lib_var=`echo plot'_'openpl | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -2663,7 +2673,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lplot $X_PRE_LIBS $MOTIF_LIBS $X_EXTRA_LIBS -lXaw $X_LIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2667 "configure"
|
|
|
|
|
#line 2677 "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
|
|
|
|
|
@ -2674,7 +2684,7 @@ int main() {
|
|
|
|
|
openpl()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2688: \"$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
|
|
|
|
|
@ -2708,7 +2718,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ------------------------------------------------------------------------------
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
#############################################################
|
|
|
|
|
### Set up the install style and all the default paths... ###
|
|
|
|
|
|
|
|
|
|
@ -2760,7 +2770,6 @@ GTKSHEET_DIR="gtksheet-5.7"
|
|
|
|
|
|
|
|
|
|
CFLAGS="${CFLAGS} -Werror"
|
|
|
|
|
|
|
|
|
|
*******************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trap '' 1 2 15
|
|
|
|
|
|