|
|
|
|
@ -1661,7 +1661,7 @@ if test "${with_locale_dir+set}" = set; then
|
|
|
|
|
withval="$with_locale_dir"
|
|
|
|
|
LOCALE_DIR="$with_locale_dir"
|
|
|
|
|
else
|
|
|
|
|
LOCALE_DIR="$prefix/share/locale"
|
|
|
|
|
LOCALE_DIR="$datadir/locale"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -4080,63 +4080,13 @@ rm -f conftest*
|
|
|
|
|
#undo damage to CPPFLAGS
|
|
|
|
|
CPPFLAGS="$OLDCPPFLAGS"
|
|
|
|
|
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
# 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:4087: 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
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lreadline $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4095 "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 readline();
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
readline()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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
|
|
|
|
|
ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
|
|
|
|
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
|
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
|
#define $ac_tr_lib 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
LIBS="-lreadline $LIBS"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### --------------------------------------------------------------------------
|
|
|
|
|
EXTRALIBS=`$GNOME_CONFIG_BIN --libs gtkxmhtml`
|
|
|
|
|
|
|
|
|
|
#check for gtkxmhtml, export library link to variable GTK_XMHTML
|
|
|
|
|
echo $ac_n "checking for gtk_xmhtml_new in -lgtkxmhtml""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4140: checking for gtk_xmhtml_new in -lgtkxmhtml" >&5
|
|
|
|
|
echo "configure:4090: checking for gtk_xmhtml_new in -lgtkxmhtml" >&5
|
|
|
|
|
ac_lib_var=`echo gtkxmhtml'_'gtk_xmhtml_new | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -4144,7 +4094,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgtkxmhtml $EXTRALIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4148 "configure"
|
|
|
|
|
#line 4098 "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
|
|
|
|
|
@ -4155,7 +4105,7 @@ int main() {
|
|
|
|
|
gtk_xmhtml_new()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -4186,7 +4136,7 @@ EXTRALIBS=`$GNOME_CONFIG_BIN --libs xml`
|
|
|
|
|
|
|
|
|
|
#check for libxml
|
|
|
|
|
echo $ac_n "checking for xmlDefaultSAXHandlerInit in -lxml""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4190: checking for xmlDefaultSAXHandlerInit in -lxml" >&5
|
|
|
|
|
echo "configure:4140: checking for xmlDefaultSAXHandlerInit in -lxml" >&5
|
|
|
|
|
ac_lib_var=`echo xml'_'xmlDefaultSAXHandlerInit | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -4194,7 +4144,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lxml $EXTRALIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4198 "configure"
|
|
|
|
|
#line 4148 "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
|
|
|
|
|
@ -4205,7 +4155,7 @@ int main() {
|
|
|
|
|
xmlDefaultSAXHandlerInit()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -4243,7 +4193,7 @@ EXTRALIBS=`$GNOME_CONFIG_BIN --libs print`
|
|
|
|
|
# check for gnome-print and enable it via HAVE_LIBGNOMEPRINT
|
|
|
|
|
# if found
|
|
|
|
|
echo $ac_n "checking for gnome_print_context_new in -lgnomeprint""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4247: checking for gnome_print_context_new in -lgnomeprint" >&5
|
|
|
|
|
echo "configure:4197: checking for gnome_print_context_new in -lgnomeprint" >&5
|
|
|
|
|
ac_lib_var=`echo gnomeprint'_'gnome_print_context_new | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
@ -4251,7 +4201,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgnomeprint $EXTRALIBS $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4255 "configure"
|
|
|
|
|
#line 4205 "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
|
|
|
|
|
@ -4262,7 +4212,7 @@ int main() {
|
|
|
|
|
gnome_print_context_new()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
@ -4305,7 +4255,7 @@ G_WRAP_LINK_ARGS=""
|
|
|
|
|
# Extract the first word of "g-wrap-config", so it can be a program name with args.
|
|
|
|
|
set dummy g-wrap-config; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4309: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4259: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_G_WRAP_CONFIG'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -4349,7 +4299,7 @@ fi
|
|
|
|
|
# Extract the first word of "g-wrap", so it can be a program name with args.
|
|
|
|
|
set dummy g-wrap; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4353: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4303: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_G_WRAP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -4407,7 +4357,7 @@ GUILE_LINK_ARGS=""
|
|
|
|
|
# Extract the first word of "guile-config", so it can be a program name with args.
|
|
|
|
|
set dummy guile-config; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4411: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4361: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GUILE_CONFIG'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
@ -4451,7 +4401,7 @@ fi
|
|
|
|
|
# Extract the first word of "guile", so it can be a program name with args.
|
|
|
|
|
set dummy guile; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4455: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4405: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GUILE'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|