2894
2910
AMTAR='$${TAR-tar}'
2897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2913
# We'll loop over all known methods to create a tar archive until one works.
2914
_am_tools='gnutar pax cpio none'
2918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2898
2919
$as_echo_n "checking how to create a pax tar archive... " >&6; }
2899
# Loop over all known methods to create a tar archive until one works.
2900
_am_tools='gnutar pax cpio none'
2901
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2902
# Do not fold the above two line into one, because Tru64 sh and
2903
# Solaris sh will not grok spaces in the rhs of '-'.
2904
for _am_tool in $_am_tools
2908
for _am_tar in tar gnutar gtar;
2910
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2921
# Go ahead even if we have the value already cached. We do so because we
2922
# need to set the values for the 'am__tar' and 'am__untar' variables.
2923
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2925
for _am_tool in $_am_tools; do
2928
for _am_tar in tar gnutar gtar; do
2929
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2911
2930
($_am_tar --version) >&5 2>&5
2913
2932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
2933
(exit $ac_status); } && break
2916
am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2917
am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2918
am__untar="$_am_tar -xf -"
2921
# Must skip GNU tar: if it does not support --format= it doesn't create
2922
# ustar tarball either.
2923
(tar --version) >/dev/null 2>&1 && continue
2924
am__tar='tar chf - "$$tardir"'
2925
am__tar_='tar chf - "$tardir"'
2926
am__untar='tar xf -'
2929
am__tar='pax -L -x pax -w "$$tardir"'
2930
am__tar_='pax -L -x pax -w "$tardir"'
2934
am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2935
am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2936
am__untar='cpio -i -H pax -d'
2945
# If the value was cached, stop now. We just wanted to have am__tar
2946
# and am__untar set.
2947
test -n "${am_cv_prog_tar_pax}" && break
2949
# tar/untar a dummy directory, and stop if the command works
2952
echo GrepMe > conftest.dir/file
2953
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2935
am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2936
am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2937
am__untar="$_am_tar -xf -"
2940
# Must skip GNU tar: if it does not support --format= it doesn't create
2941
# ustar tarball either.
2942
(tar --version) >/dev/null 2>&1 && continue
2943
am__tar='tar chf - "$$tardir"'
2944
am__tar_='tar chf - "$tardir"'
2945
am__untar='tar xf -'
2948
am__tar='pax -L -x pax -w "$$tardir"'
2949
am__tar_='pax -L -x pax -w "$tardir"'
2953
am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2954
am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2955
am__untar='cpio -i -H pax -d'
2964
# If the value was cached, stop now. We just wanted to have am__tar
2965
# and am__untar set.
2966
test -n "${am_cv_prog_tar_pax}" && break
2968
# tar/untar a dummy directory, and stop if the command works.
2971
echo GrepMe > conftest.dir/file
2972
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2954
2973
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2956
2975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957
2976
(exit $ac_status); }
2959
if test -s conftest.tar; then
2960
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2978
if test -s conftest.tar; then
2979
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2961
2980
($am__untar <conftest.tar) >&5 2>&5
2963
2982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964
2983
(exit $ac_status); }
2965
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2984
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2985
(cat conftest.dir/file) >&5 2>&5
2987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988
(exit $ac_status); }
2989
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2970
if ${am_cv_prog_tar_pax+:} false; then :
2994
if ${am_cv_prog_tar_pax+:} false; then :
2971
2995
$as_echo_n "(cached) " >&6
2973
2997
am_cv_prog_tar_pax=$_am_tool
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2977
3001
$as_echo "$am_cv_prog_tar_pax" >&6; }
3008
# POSIX will say in a future version that running "rm -f" with no argument
3009
# is OK; and we want to be able to make that assumption in our Makefile
3010
# recipes. So use an aggressive probe to check that the usage we want is
3011
# actually supported "in the wild" to an acceptable degree.
3012
# See automake bug#10828.
3013
# To make any issue more visible, cause the running configure to be aborted
3014
# by default if the 'rm' program in use doesn't match our expectations; the
3015
# user can still override this though.
3016
if rm -f && rm -fr && rm -rf; then : OK; else
3020
Your 'rm' program seems unable to run without file operands specified
3021
on the command line, even when the '-f' option is present. This is contrary
3022
to the behaviour of most rm programs out there, and not conforming with
3023
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3025
Please tell bug-automake@gnu.org about your system, including the value
3026
of your $PATH and any error possibly output before this message. This
3027
can help us improve future automake versions.
3030
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3031
echo 'Configuration will proceed anyway, since you have set the' >&2
3032
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3036
Aborting the configuration process, to ensure you take notice of the issue.
3038
You can download and install GNU coreutils to get an 'rm' implementation
3039
that behaves properly: <http://www.gnu.org/software/coreutils/>.
3041
If you want to complete the configuration process using your problematic
3042
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3043
to "yes", and re-run configure.
3046
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2983
3049
DEPDIR="${am__leading_dot}deps"
2985
3051
ac_config_commands="$ac_config_commands depfiles"
3832
3898
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833
3899
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3902
ac_cpp='$CPP $CPPFLAGS'
3903
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3907
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3908
if ${am_cv_prog_cc_c_o+:} false; then :
3909
$as_echo_n "(cached) " >&6
3911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912
/* end confdefs.h. */
3922
# Make sure it works both with $CC and with simple cc.
3923
# Following AC_PROG_CC_C_O, we do the test twice because some
3924
# compilers refuse to overwrite an existing .o file with -o,
3925
# though they will create one.
3926
am_cv_prog_cc_c_o=yes
3928
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3929
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932
(exit $ac_status); } \
3933
&& test -f conftest2.$ac_objext; then
3936
am_cv_prog_cc_c_o=no
3940
rm -f core conftest*
3943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3944
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3945
if test "$am_cv_prog_cc_c_o" != yes; then
3946
# Losing compiler, so override with the script.
3947
# FIXME: It is wrong to rewrite CC.
3948
# But if we don't then we get into trouble of one sort or another.
3949
# A longer-term fix would be to have automake use am__CC in this case,
3950
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3951
CC="$am_aux_dir/compile $CC"
3954
ac_cpp='$CPP $CPPFLAGS'
3955
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835
3960
depcc="$CC" am_compiler_list=
3837
3962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12679
12809
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680
12810
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12813
ac_cpp='$CPP $CPPFLAGS'
12814
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12815
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12816
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12818
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12819
if ${am_cv_prog_cc_c_o+:} false; then :
12820
$as_echo_n "(cached) " >&6
12822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823
/* end confdefs.h. */
12833
# Make sure it works both with $CC and with simple cc.
12834
# Following AC_PROG_CC_C_O, we do the test twice because some
12835
# compilers refuse to overwrite an existing .o file with -o,
12836
# though they will create one.
12837
am_cv_prog_cc_c_o=yes
12838
for am_i in 1 2; do
12839
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12840
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843
(exit $ac_status); } \
12844
&& test -f conftest2.$ac_objext; then
12847
am_cv_prog_cc_c_o=no
12851
rm -f core conftest*
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12855
$as_echo "$am_cv_prog_cc_c_o" >&6; }
12856
if test "$am_cv_prog_cc_c_o" != yes; then
12857
# Losing compiler, so override with the script.
12858
# FIXME: It is wrong to rewrite CC.
12859
# But if we don't then we get into trouble of one sort or another.
12860
# A longer-term fix would be to have automake use am__CC in this case,
12861
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12862
CC="$am_aux_dir/compile $CC"
12865
ac_cpp='$CPP $CPPFLAGS'
12866
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12682
12871
depcc="$CC" am_compiler_list=
12684
12873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13041
if test "x$CC" != xcc; then
13042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13043
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13046
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13048
set dummy $CC; ac_cc=`$as_echo "$2" |
13049
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13050
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13051
$as_echo_n "(cached) " >&6
13053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054
/* end confdefs.h. */
13064
# Make sure it works both with $CC and with simple cc.
13065
# We do the test twice because some compilers refuse to overwrite an
13066
# existing .o file with -o, though they will create one.
13067
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13069
if { { case "(($ac_try" in
13070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13071
*) ac_try_echo=$ac_try;;
13073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13074
$as_echo "$ac_try_echo"; } >&5
13075
(eval "$ac_try") 2>&5
13077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13078
test $ac_status = 0; } &&
13079
test -f conftest2.$ac_objext && { { case "(($ac_try" in
13080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13081
*) ac_try_echo=$ac_try;;
13083
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13084
$as_echo "$ac_try_echo"; } >&5
13085
(eval "$ac_try") 2>&5
13087
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13088
test $ac_status = 0; };
13090
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13091
if test "x$CC" != xcc; then
13092
# Test first that cc exists at all.
13093
if { ac_try='cc -c conftest.$ac_ext >&5'
13094
{ { case "(($ac_try" in
13095
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13096
*) ac_try_echo=$ac_try;;
13098
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13099
$as_echo "$ac_try_echo"; } >&5
13100
(eval "$ac_try") 2>&5
13102
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13103
test $ac_status = 0; }; }; then
13104
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13106
if { { case "(($ac_try" in
13107
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108
*) ac_try_echo=$ac_try;;
13110
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13111
$as_echo "$ac_try_echo"; } >&5
13112
(eval "$ac_try") 2>&5
13114
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115
test $ac_status = 0; } &&
13116
test -f conftest2.$ac_objext && { { case "(($ac_try" in
13117
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13118
*) ac_try_echo=$ac_try;;
13120
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13121
$as_echo "$ac_try_echo"; } >&5
13122
(eval "$ac_try") 2>&5
13124
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13125
test $ac_status = 0; };
13130
# cc exists but doesn't like -o.
13131
eval ac_cv_prog_cc_${ac_cc}_c_o=no
13136
eval ac_cv_prog_cc_${ac_cc}_c_o=no
13138
rm -f core conftest*
13141
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143
$as_echo "yes" >&6; }
13145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146
$as_echo "no" >&6; }
13148
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13152
# FIXME: we rely on the cache variable name because
13153
# there is no other way.
13155
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13156
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13157
if test "$am_t" != yes; then
13158
# Losing compiler, so override with the script.
13159
# FIXME: It is wrong to rewrite CC.
13160
# But if we don't then we get into trouble of one sort or another.
13161
# A longer-term fix would be to have automake use am__CC in this case,
13162
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13163
CC="$am_aux_dir/compile $CC"
13167
13231
if test $ac_cv_c_compiler_gnu = yes; then
13168
13232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
14035
# Check whether --enable-manpages was given.
14036
if test "${enable_manpages+set}" = set; then :
14037
enableval=$enable_manpages;
14039
enable_manpages=yes
14042
if test "x$enable_manpages" = "xyes"; then
14043
BUILD_MANPAGES_TRUE=
14044
BUILD_MANPAGES_FALSE='#'
14046
BUILD_MANPAGES_TRUE='#'
14047
BUILD_MANPAGES_FALSE=
14050
# Extract the first word of "xsltproc", so it can be a program name with args.
14051
set dummy xsltproc; ac_word=$2
14052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14053
$as_echo_n "checking for $ac_word... " >&6; }
14054
if ${ac_cv_path_XSLTPROC+:} false; then :
14055
$as_echo_n "(cached) " >&6
14059
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
14062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14063
for as_dir in $PATH
14066
test -z "$as_dir" && as_dir=.
14067
for ac_exec_ext in '' $ac_executable_extensions; do
14068
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14069
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
14070
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14077
test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
14081
XSLTPROC=$ac_cv_path_XSLTPROC
14082
if test -n "$XSLTPROC"; then
14083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14084
$as_echo "$XSLTPROC" >&6; }
14086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14087
$as_echo "no" >&6; }
14091
if test "x$XSLTPROC" = "xno" && test "x$enable_manpages" = "xyes"; then :
14093
as_fn_error $? "xsltproc command not found, try ./configure --disable-manpages" "$LINENO" 5
13974
14097
# Check whether --enable-logging was given.
13975
14098
if test "${enable_logging+set}" = set; then :
13976
14099
enableval=$enable_logging;
14222
14345
# Put the nasty error message in config.log where it belongs
14223
14346
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14225
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
14227
$GTKDOC_DEPS_PKG_ERRORS
14229
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14230
installed software in a non-standard prefix.
14232
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14233
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14234
See the pkg-config man page for more details." "$LINENO" 5
14235
14349
elif test $pkg_failed = untried; then
14236
14350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14237
14351
$as_echo "no" >&6; }
14238
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14239
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14240
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14241
is in your PATH or set the PKG_CONFIG environment variable to the full
14242
path to pkg-config.
14244
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14245
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14246
See the pkg-config man page for more details.
14248
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14249
See \`config.log' for more details" "$LINENO" 5; }
14251
14354
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14252
14355
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS