Add check for gnome-doc-tools DTD to ensure db2html success

svn: r889
This commit is contained in:
Donald A. Peterson 2002-04-04 22:30:58 +00:00
parent 2d8308bfa0
commit fa99d557a9

197
gramps/configure vendored
View File

@ -595,41 +595,6 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
# Extract the first word of "db2html", so it can be a program name with args.
set dummy db2html; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:602: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_DOCBOOKHTML'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$DOCBOOKHTML" in
/*)
ac_cv_path_DOCBOOKHTML="$DOCBOOKHTML" # Let the user override the test with a path.
;;
?:/*)
ac_cv_path_DOCBOOKHTML="$DOCBOOKHTML" # Let the user override the test with a dos path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_DOCBOOKHTML="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
;;
esac
fi
DOCBOOKHTML="$ac_cv_path_DOCBOOKHTML"
if test -n "$DOCBOOKHTML"; then
echo "$ac_t""$DOCBOOKHTML" 1>&6
else
echo "$ac_t""no" 1>&6
fi
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"` PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
@ -638,7 +603,7 @@ then
# Extract the first word of "python1.5", so it can be a program name with args. # Extract the first word of "python1.5", so it can be a program name with args.
set dummy python1.5; ac_word=$2 set dummy python1.5; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:642: checking for $ac_word" >&5 echo "configure:607: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PYTHON15'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_PYTHON15'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -679,7 +644,7 @@ then
# Extract the first word of "python2.0", so it can be a program name with args. # Extract the first word of "python2.0", so it can be a program name with args.
set dummy python2.0; ac_word=$2 set dummy python2.0; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:683: checking for $ac_word" >&5 echo "configure:648: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PYTHON20'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_PYTHON20'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -720,7 +685,7 @@ then
# Extract the first word of "python2.1", so it can be a program name with args. # Extract the first word of "python2.1", so it can be a program name with args.
set dummy python2.1; ac_word=$2 set dummy python2.1; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:724: checking for $ac_word" >&5 echo "configure:689: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PYTHON21'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_PYTHON21'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -761,7 +726,7 @@ then
# Extract the first word of "python2.2", so it can be a program name with args. # Extract the first word of "python2.2", so it can be a program name with args.
set dummy python2.2; ac_word=$2 set dummy python2.2; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:765: checking for $ac_word" >&5 echo "configure:730: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PYTHON22'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_PYTHON22'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -800,7 +765,7 @@ fi
# Extract the first word of "zip", so it can be a program name with args. # Extract the first word of "zip", so it can be a program name with args.
set dummy zip; ac_word=$2 set dummy zip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:804: checking for $ac_word" >&5 echo "configure:769: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_ZIP'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_ZIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -872,7 +837,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh. # ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:876: checking for a BSD compatible install" >&5 echo "configure:841: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -925,7 +890,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:929: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "configure:894: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 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 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -955,7 +920,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:959: checking for $ac_word" >&5 echo "configure:924: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -985,7 +950,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:989: checking for $ac_word" >&5 echo "configure:954: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -1036,7 +1001,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args. # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2 set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1040: checking for $ac_word" >&5 echo "configure:1005: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -1068,7 +1033,7 @@ fi
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 echo "configure:1037: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@ -1079,12 +1044,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 1083 "configure" #line 1048 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:1088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:1053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler. # If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then if (./conftest; exit) 2>/dev/null; then
@ -1110,12 +1075,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; } { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:1079: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1119: checking whether we are using GNU C" >&5 echo "configure:1084: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -1124,7 +1089,7 @@ else
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1128: \"$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:1093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes ac_cv_prog_gcc=yes
else else
ac_cv_prog_gcc=no ac_cv_prog_gcc=no
@ -1143,7 +1108,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1147: checking whether ${CC-cc} accepts -g" >&5 echo "configure:1112: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -1176,7 +1141,7 @@ fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1180: checking how to run the C preprocessor" >&5 echo "configure:1145: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
@ -1191,13 +1156,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. # not just through cpp.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1195 "configure" #line 1160 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
@ -1208,13 +1173,13 @@ else
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp" CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1212 "configure" #line 1177 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
@ -1225,13 +1190,13 @@ else
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -nologo -E" CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1229 "configure" #line 1194 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
@ -1257,17 +1222,17 @@ echo "$ac_t""$CPP" 1>&6
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
echo "configure:1261: checking for libintl.h" >&5 echo "configure:1226: checking for libintl.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1266 "configure" #line 1231 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <libintl.h> #include <libintl.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
@ -1290,7 +1255,7 @@ fi
echo $ac_n "checking for textdomain in -lc""... $ac_c" 1>&6 echo $ac_n "checking for textdomain in -lc""... $ac_c" 1>&6
echo "configure:1294: checking for textdomain in -lc" >&5 echo "configure:1259: checking for textdomain in -lc" >&5
ac_lib_var=`echo c'_'textdomain | sed 'y%./+-%__p_%'` ac_lib_var=`echo c'_'textdomain | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -1298,7 +1263,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lc $LIBS" LIBS="-lc $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1302 "configure" #line 1267 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
@ -1309,7 +1274,7 @@ int main() {
textdomain() textdomain()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:1278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
@ -1328,7 +1293,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for textdomain in -lintl""... $ac_c" 1>&6 echo $ac_n "checking for textdomain in -lintl""... $ac_c" 1>&6
echo "configure:1332: checking for textdomain in -lintl" >&5 echo "configure:1297: checking for textdomain in -lintl" >&5
ac_lib_var=`echo intl'_'textdomain | sed 'y%./+-%__p_%'` ac_lib_var=`echo intl'_'textdomain | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -1336,7 +1301,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS" LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1340 "configure" #line 1305 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
@ -1347,7 +1312,7 @@ int main() {
textdomain() textdomain()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
@ -1376,7 +1341,7 @@ fi
# Extract the first word of "gnome-config", so it can be a program name with args. # Extract the first word of "gnome-config", so it can be a program name with args.
set dummy gnome-config; ac_word=$2 set dummy gnome-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1380: checking for $ac_word" >&5 echo "configure:1345: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_HAVE_GNOME_CONFIG'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_HAVE_GNOME_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
@ -1407,7 +1372,7 @@ GNOMEHELP=`gnome-config --prefix`
echo $ac_n "checking Python bindings for sax/xml""... $ac_c" 1>&6 echo $ac_n "checking Python bindings for sax/xml""... $ac_c" 1>&6
echo "configure:1411: checking Python bindings for sax/xml" >&5 echo "configure:1376: checking Python bindings for sax/xml" >&5
cat > conftest.py <<EOF cat > conftest.py <<EOF
try: try:
@ -1440,7 +1405,7 @@ fi
echo "$ac_t""ok" 1>&6 echo "$ac_t""ok" 1>&6
echo $ac_n "checking Python bindings for gtk+""... $ac_c" 1>&6 echo $ac_n "checking Python bindings for gtk+""... $ac_c" 1>&6
echo "configure:1444: checking Python bindings for gtk+" >&5 echo "configure:1409: checking Python bindings for gtk+" >&5
cat > conftest.py <<EOF cat > conftest.py <<EOF
try: try:
@ -1466,7 +1431,7 @@ fi
echo "$ac_t""ok" 1>&6 echo "$ac_t""ok" 1>&6
echo $ac_n "checking Python bindings for GNOME""... $ac_c" 1>&6 echo $ac_n "checking Python bindings for GNOME""... $ac_c" 1>&6
echo "configure:1470: checking Python bindings for GNOME" >&5 echo "configure:1435: checking Python bindings for GNOME" >&5
cat > conftest.py <<EOF cat > conftest.py <<EOF
try: try:
@ -1492,7 +1457,7 @@ fi
echo "$ac_t""ok" 1>&6 echo "$ac_t""ok" 1>&6
echo $ac_n "checking Python/libglade bindings""... $ac_c" 1>&6 echo $ac_n "checking Python/libglade bindings""... $ac_c" 1>&6
echo "configure:1496: checking Python/libglade bindings" >&5 echo "configure:1461: checking Python/libglade bindings" >&5
cat > conftest.py <<EOF cat > conftest.py <<EOF
try: try:
@ -1518,7 +1483,7 @@ fi
echo "$ac_t""ok" 1>&6 echo "$ac_t""ok" 1>&6
echo $ac_n "checking Python/GNOME bindings for libglade""... $ac_c" 1>&6 echo $ac_n "checking Python/GNOME bindings for libglade""... $ac_c" 1>&6
echo "configure:1522: checking Python/GNOME bindings for libglade" >&5 echo "configure:1487: checking Python/GNOME bindings for libglade" >&5
cat > conftest.py <<EOF cat > conftest.py <<EOF
try: try:
@ -1546,7 +1511,7 @@ echo "$ac_t""ok" 1>&6
echo $ac_n "checking for headers required to compile python extensions""... $ac_c" 1>&6 echo $ac_n "checking for headers required to compile python extensions""... $ac_c" 1>&6
echo "configure:1550: checking for headers required to compile python extensions" >&5 echo "configure:1515: checking for headers required to compile python extensions" >&5
if test "$PYTHON15" != ""; then if test "$PYTHON15" != ""; then
py_prefix=`$PYTHON15 -c "import sys; print sys.prefix"` py_prefix=`$PYTHON15 -c "import sys; print sys.prefix"`
@ -1604,6 +1569,86 @@ echo "$ac_t""ok" 1>&6
# Extract the first word of "db2html", so it can be a program name with args.
set dummy db2html; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1576: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_DOCBOOKHTML'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$DOCBOOKHTML" in
/*)
ac_cv_path_DOCBOOKHTML="$DOCBOOKHTML" # Let the user override the test with a path.
;;
?:/*)
ac_cv_path_DOCBOOKHTML="$DOCBOOKHTML" # Let the user override the test with a dos path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_DOCBOOKHTML="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
;;
esac
fi
DOCBOOKHTML="$ac_cv_path_DOCBOOKHTML"
if test -n "$DOCBOOKHTML"; then
echo "$ac_t""$DOCBOOKHTML" 1>&6
else
echo "$ac_t""no" 1>&6
fi
if test $DOCBOOKHTML; then
echo $ac_n "checking for correct gnome-doc DTD""... $ac_c" 1>&6
echo "configure:1610: checking for correct gnome-doc DTD" >&5
cat > conftest.sgml <<EOF
<!DOCTYPE article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN"[
<!ENTITY version "0.0.1">
]>
<article id="index">
<artheader>
<title>Test</title>
</artheader>
<sect1 id="test">
<title>A Test</title>
<para>
This is a test.
</para>
</sect1>
</article>
EOF
$DOCBOOKHTML conftest.sgml -o conftest >&5 2>dbconf.err
testresult=`cat dbconf.err | wc | awk '{print $1}'`
if test $testresult = "0"; then
rm -f dbconf.err
echo "$ac_t""ok" 1>&6
else
echo "$ac_t""
********
I had some problem with the gnome-doc DTD. Please install
gnome-doc-tools from http://people.redhat.com/dcm/software.html.
Refer to dbconf.err for details.
I will not create documentation.
********" 1>&6
DOCBOOKHTML=
fi
rm -rf conftest
else
echo "$ac_t""********
Failed to find docbook (db2html) so will not create documentation.
********" 1>&6
fi
trap '' 1 2 15 trap '' 1 2 15
cat > confcache <<\EOF cat > confcache <<\EOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
@ -1760,7 +1805,6 @@ s%@infodir@%$infodir%g
s%@mandir@%$mandir%g s%@mandir@%$mandir%g
s%@PYTHON@%$PYTHON%g s%@PYTHON@%$PYTHON%g
s%@BINSH@%$BINSH%g s%@BINSH@%$BINSH%g
s%@DOCBOOKHTML@%$DOCBOOKHTML%g
s%@PYTHON15@%$PYTHON15%g s%@PYTHON15@%$PYTHON15%g
s%@PYTHON20@%$PYTHON20%g s%@PYTHON20@%$PYTHON20%g
s%@PYTHON21@%$PYTHON21%g s%@PYTHON21@%$PYTHON21%g
@ -1769,6 +1813,7 @@ s%@ZIP@%$ZIP%g
s%@PYTHON_VERSION@%$PYTHON_VERSION%g s%@PYTHON_VERSION@%$PYTHON_VERSION%g
s%@PACKAGE@%$PACKAGE%g s%@PACKAGE@%$PACKAGE%g
s%@GNOMEHELP@%$GNOMEHELP%g s%@GNOMEHELP@%$GNOMEHELP%g
s%@DOCBOOKHTML@%$DOCBOOKHTML%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g s%@INSTALL_DATA@%$INSTALL_DATA%g