2274
2288
echo timestamp > conftest.file
2289
# Reject unsafe characters in $srcdir or the absolute working directory
2290
# name. Accept space and tab only in the latter.
2294
*[\\\"\#\$\&\'\`$am_lf]*)
2295
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2296
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2297
{ (exit 1); exit 1; }; };;
2300
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2301
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2302
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2303
{ (exit 1); exit 1; }; };;
2275
2306
# Do `set' in a subshell so we don't clobber the current shell's
2276
2307
# arguments. Must try -L first in case configure is actually a
2277
2308
# symlink; some systems play weird games with the mod time of symlinks
2278
2309
# (eg FreeBSD returns the mod time of the symlink's containing
2281
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2312
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2282
2313
if test "$*" = "X"; then
2283
2314
# -L didn't work.
2284
set X `ls -t $srcdir/configure conftest.file`
2315
set X `ls -t "$srcdir/configure" conftest.file`
2286
2317
rm -f conftest.file
2287
2318
if test "$*" != "X $srcdir/configure conftest.file" \
2335
2373
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2376
if test x"${install_sh}" != xset; then
2379
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2381
install_sh="\${SHELL} $am_aux_dir/install-sh"
2385
# Installed binaries are usually stripped using `strip' when the user
2386
# run `make install-strip'. However `strip' might not be the right
2387
# tool to use in cross-compilation environments, therefore Automake
2388
# will honor the `STRIP' environment variable to overrule this program.
2389
if test "$cross_compiling" != no; then
2390
if test -n "$ac_tool_prefix"; then
2391
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2392
set dummy ${ac_tool_prefix}strip; ac_word=$2
2393
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394
$as_echo_n "checking for $ac_word... " >&6; }
2395
if test "${ac_cv_prog_STRIP+set}" = set; then
2396
$as_echo_n "(cached) " >&6
2398
if test -n "$STRIP"; then
2399
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2401
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405
test -z "$as_dir" && as_dir=.
2406
for ac_exec_ext in '' $ac_executable_extensions; do
2407
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2409
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418
STRIP=$ac_cv_prog_STRIP
2419
if test -n "$STRIP"; then
2420
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2421
$as_echo "$STRIP" >&6; }
2423
{ $as_echo "$as_me:$LINENO: result: no" >&5
2424
$as_echo "no" >&6; }
2429
if test -z "$ac_cv_prog_STRIP"; then
2431
# Extract the first word of "strip", so it can be a program name with args.
2432
set dummy strip; ac_word=$2
2433
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2434
$as_echo_n "checking for $ac_word... " >&6; }
2435
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2436
$as_echo_n "(cached) " >&6
2438
if test -n "$ac_ct_STRIP"; then
2439
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445
test -z "$as_dir" && as_dir=.
2446
for ac_exec_ext in '' $ac_executable_extensions; do
2447
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448
ac_cv_prog_ac_ct_STRIP="strip"
2449
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2459
if test -n "$ac_ct_STRIP"; then
2460
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2461
$as_echo "$ac_ct_STRIP" >&6; }
2463
{ $as_echo "$as_me:$LINENO: result: no" >&5
2464
$as_echo "no" >&6; }
2467
if test "x$ac_ct_STRIP" = x; then
2470
case $cross_compiling:$ac_tool_warned in
2472
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2473
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474
ac_tool_warned=yes ;;
2479
STRIP="$ac_cv_prog_STRIP"
2483
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2338
2485
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2339
2486
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2340
2487
if test -z "$MKDIR_P"; then
2509
2656
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2511
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2513
# Installed binaries are usually stripped using `strip' when the user
2514
# run `make install-strip'. However `strip' might not be the right
2515
# tool to use in cross-compilation environments, therefore Automake
2516
# will honor the `STRIP' environment variable to overrule this program.
2517
if test "$cross_compiling" != no; then
2518
if test -n "$ac_tool_prefix"; then
2519
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2520
set dummy ${ac_tool_prefix}strip; ac_word=$2
2521
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2522
$as_echo_n "checking for $ac_word... " >&6; }
2523
if test "${ac_cv_prog_STRIP+set}" = set; then
2524
$as_echo_n "(cached) " >&6
2526
if test -n "$STRIP"; then
2527
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533
test -z "$as_dir" && as_dir=.
2534
for ac_exec_ext in '' $ac_executable_extensions; do
2535
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2537
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546
STRIP=$ac_cv_prog_STRIP
2547
if test -n "$STRIP"; then
2548
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2549
$as_echo "$STRIP" >&6; }
2551
{ $as_echo "$as_me:$LINENO: result: no" >&5
2552
$as_echo "no" >&6; }
2557
if test -z "$ac_cv_prog_STRIP"; then
2559
# Extract the first word of "strip", so it can be a program name with args.
2560
set dummy strip; ac_word=$2
2561
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2562
$as_echo_n "checking for $ac_word... " >&6; }
2563
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2564
$as_echo_n "(cached) " >&6
2566
if test -n "$ac_ct_STRIP"; then
2567
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573
test -z "$as_dir" && as_dir=.
2574
for ac_exec_ext in '' $ac_executable_extensions; do
2575
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576
ac_cv_prog_ac_ct_STRIP="strip"
2577
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2587
if test -n "$ac_ct_STRIP"; then
2588
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2589
$as_echo "$ac_ct_STRIP" >&6; }
2591
{ $as_echo "$as_me:$LINENO: result: no" >&5
2592
$as_echo "no" >&6; }
2595
if test "x$ac_ct_STRIP" = x; then
2598
case $cross_compiling:$ac_tool_warned in
2600
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2601
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2602
ac_tool_warned=yes ;;
2607
STRIP="$ac_cv_prog_STRIP"
2611
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2613
2658
# We need awk for the "check" target. The system "awk" is bad on
2614
2659
# some platforms.
2615
2660
# Always define AMTAR for backward compatibility.
3702
3747
_am_result=none
3703
3748
# First try GNU make style include.
3704
3749
echo "include confinc" > confmf
3705
# We grep out `Entering directory' and `Leaving directory'
3706
# messages which can occur if `w' ends up in MAKEFLAGS.
3707
# In particular we don't look at `^make:' because GNU make might
3708
# be invoked under some other name (usually "gmake"), in which
3709
# case it prints its new name instead of `make'.
3710
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3750
# Ignore all kinds of additional output from `make'.
3751
case `$am_make -s -f confmf 2> /dev/null` in #(
3752
*the\ am__doit\ target*)
3715
3758
# Now try BSD make style include.
3716
3759
if test "$am__include" = "#"; then
3717
3760
echo '.include "confinc"' > confmf
3718
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3719
am__include=.include
3761
case `$am_make -s -f confmf 2> /dev/null` in #(
3762
*the\ am__doit\ target*)
3763
am__include=.include
3794
3844
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3846
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3847
# mode. It turns out that the SunPro C++ compiler does not properly
3848
# handle `-M -o', and we need to detect this. Also, some Intel
3849
# versions had trouble with output in subdirs
3850
am__obj=sub/conftest.${OBJEXT-o}
3851
am__minus_obj="-o $am__obj"
3796
3852
case $depmode in
3854
# This depmode causes a compiler race in universal mode.
3855
test "$am__universal" = false || continue
3798
3858
# after this tag, mechanisms are not by side-effect, so they'll
3799
3859
# only be used when explicitly requested
3866
msvisualcpp | msvcmsys)
3867
# This compiler won't grok `-c -o', but also, the minuso test has
3868
# not run yet. These depmodes are late enough in the game, and
3869
# so weak that their functioning should not be impacted.
3870
am__obj=conftest.${OBJEXT-o}
3808
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3809
# mode. It turns out that the SunPro C++ compiler does not properly
3810
# handle `-M -o', and we need to detect this.
3811
3875
if depmode=$depmode \
3812
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3876
source=sub/conftest.c object=$am__obj \
3813
3877
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3814
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3878
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3815
3879
>/dev/null 2>conftest.err &&
3816
3880
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3817
3881
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3818
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3882
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3819
3883
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3820
3884
# icc doesn't choke on unknown options, it will just issue warnings
3821
3885
# or remarks (even with -Werror). So we grep stderr for any message
4875
4939
lt_cv_nm_interface="BSD nm"
4876
4940
echo "int some_variable = 0;" > conftest.$ac_ext
4877
(eval echo "\"\$as_me:4877: $ac_compile\"" >&5)
4941
(eval echo "\"\$as_me:4941: $ac_compile\"" >&5)
4878
4942
(eval "$ac_compile" 2>conftest.err)
4879
4943
cat conftest.err >&5
4880
(eval echo "\"\$as_me:4880: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4944
(eval echo "\"\$as_me:4944: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4881
4945
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4882
4946
cat conftest.err >&5
4883
(eval echo "\"\$as_me:4883: output\"" >&5)
4947
(eval echo "\"\$as_me:4947: output\"" >&5)
4884
4948
cat conftest.out >&5
4885
4949
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4886
4950
lt_cv_nm_interface="MS dumpbin"
7932
7996
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7933
7997
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7934
7998
-e 's:$: $lt_compiler_flag:'`
7935
(eval echo "\"\$as_me:7935: $lt_compile\"" >&5)
7999
(eval echo "\"\$as_me:7999: $lt_compile\"" >&5)
7936
8000
(eval "$lt_compile" 2>conftest.err)
7938
8002
cat conftest.err >&5
7939
echo "$as_me:7939: \$? = $ac_status" >&5
8003
echo "$as_me:8003: \$? = $ac_status" >&5
7940
8004
if (exit $ac_status) && test -s "$ac_outfile"; then
7941
8005
# The compiler can only warn and ignore the option if not recognized
7942
8006
# So say no if there are warnings other than the usual output.
8271
8335
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8272
8336
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8273
8337
-e 's:$: $lt_compiler_flag:'`
8274
(eval echo "\"\$as_me:8274: $lt_compile\"" >&5)
8338
(eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8275
8339
(eval "$lt_compile" 2>conftest.err)
8277
8341
cat conftest.err >&5
8278
echo "$as_me:8278: \$? = $ac_status" >&5
8342
echo "$as_me:8342: \$? = $ac_status" >&5
8279
8343
if (exit $ac_status) && test -s "$ac_outfile"; then
8280
8344
# The compiler can only warn and ignore the option if not recognized
8281
8345
# So say no if there are warnings other than the usual output.
8376
8440
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8377
8441
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8378
8442
-e 's:$: $lt_compiler_flag:'`
8379
(eval echo "\"\$as_me:8379: $lt_compile\"" >&5)
8443
(eval echo "\"\$as_me:8443: $lt_compile\"" >&5)
8380
8444
(eval "$lt_compile" 2>out/conftest.err)
8382
8446
cat out/conftest.err >&5
8383
echo "$as_me:8383: \$? = $ac_status" >&5
8447
echo "$as_me:8447: \$? = $ac_status" >&5
8384
8448
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8386
8450
# The compiler can only warn and ignore the option if not recognized
8431
8495
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8432
8496
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8433
8497
-e 's:$: $lt_compiler_flag:'`
8434
(eval echo "\"\$as_me:8434: $lt_compile\"" >&5)
8498
(eval echo "\"\$as_me:8498: $lt_compile\"" >&5)
8435
8499
(eval "$lt_compile" 2>out/conftest.err)
8437
8501
cat out/conftest.err >&5
8438
echo "$as_me:8438: \$? = $ac_status" >&5
8502
echo "$as_me:8502: \$? = $ac_status" >&5
8439
8503
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8441
8505
# The compiler can only warn and ignore the option if not recognized
10283
10347
# before this can be enabled.
10284
10348
hardcode_into_libs=yes
10286
# Add ABI-specific directories to the system library path.
10287
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10289
10350
# Append ld.so.conf contents to the search path
10290
10351
if test -f /etc/ld.so.conf; then
10291
10352
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10292
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10353
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10295
10356
# We used to test for /lib/ld.so.1 and disable shared libraries on
18750
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
18751
set dummy gtkdoc-check; ac_word=$2
18752
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18753
$as_echo_n "checking for $ac_word... " >&6; }
18754
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
18755
$as_echo_n "(cached) " >&6
18757
case $GTKDOC_CHECK in
18759
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
18762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763
for as_dir in $PATH
18766
test -z "$as_dir" && as_dir=.
18767
for ac_exec_ext in '' $ac_executable_extensions; do
18768
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18769
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
18770
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18780
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
18781
if test -n "$GTKDOC_CHECK"; then
18782
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
18783
$as_echo "$GTKDOC_CHECK" >&6; }
18785
{ $as_echo "$as_me:$LINENO: result: no" >&5
18786
$as_echo "no" >&6; }
18790
for ac_prog in gtkdoc-rebase
18792
# Extract the first word of "$ac_prog", so it can be a program name with args.
18793
set dummy $ac_prog; ac_word=$2
18794
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18795
$as_echo_n "checking for $ac_word... " >&6; }
18796
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then
18797
$as_echo_n "(cached) " >&6
18799
case $GTKDOC_REBASE in
18801
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
18804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18805
for as_dir in $PATH
18808
test -z "$as_dir" && as_dir=.
18809
for ac_exec_ext in '' $ac_executable_extensions; do
18810
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18811
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
18812
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18822
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
18823
if test -n "$GTKDOC_REBASE"; then
18824
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_REBASE" >&5
18825
$as_echo "$GTKDOC_REBASE" >&6; }
18827
{ $as_echo "$as_me:$LINENO: result: no" >&5
18828
$as_echo "no" >&6; }
18832
test -n "$GTKDOC_REBASE" && break
18834
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
18836
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
18837
set dummy gtkdoc-mkpdf; ac_word=$2
18838
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18839
$as_echo_n "checking for $ac_word... " >&6; }
18840
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then
18841
$as_echo_n "(cached) " >&6
18843
case $GTKDOC_MKPDF in
18845
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
18848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18849
for as_dir in $PATH
18852
test -z "$as_dir" && as_dir=.
18853
for ac_exec_ext in '' $ac_executable_extensions; do
18854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18855
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
18856
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18866
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
18867
if test -n "$GTKDOC_MKPDF"; then
18868
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_MKPDF" >&5
18869
$as_echo "$GTKDOC_MKPDF" >&6; }
18871
{ $as_echo "$as_me:$LINENO: result: no" >&5
18872
$as_echo "no" >&6; }
18688
18878
# Check whether --with-html-dir was given.
18689
18879
if test "${with_html_dir+set}" = set; then
18690
18880
withval=$with_html_dir;
18723
18913
{ $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
18724
18914
$as_echo "$enable_gtk_doc" >&6; }
18726
for ac_prog in gtkdoc-check
18728
# Extract the first word of "$ac_prog", so it can be a program name with args.
18729
set dummy $ac_prog; ac_word=$2
18730
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18731
$as_echo_n "checking for $ac_word... " >&6; }
18732
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
18733
$as_echo_n "(cached) " >&6
18735
case $GTKDOC_CHECK in
18737
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
18740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18741
for as_dir in $PATH
18744
test -z "$as_dir" && as_dir=.
18745
for ac_exec_ext in '' $ac_executable_extensions; do
18746
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18747
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
18748
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18916
# Check whether --enable-gtk-doc-html was given.
18917
if test "${enable_gtk_doc_html+set}" = set; then
18918
enableval=$enable_gtk_doc_html;
18920
enable_gtk_doc_html=yes
18923
# Check whether --enable-gtk-doc-pdf was given.
18924
if test "${enable_gtk_doc_pdf+set}" = set; then
18925
enableval=$enable_gtk_doc_pdf;
18927
enable_gtk_doc_pdf=no
18931
if test -z "$GTKDOC_MKPDF"; then
18932
enable_gtk_doc_pdf=no
18758
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
18759
if test -n "$GTKDOC_CHECK"; then
18760
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
18761
$as_echo "$GTKDOC_CHECK" >&6; }
18763
{ $as_echo "$as_me:$LINENO: result: no" >&5
18764
$as_echo "no" >&6; }
18768
test -n "$GTKDOC_CHECK" && break
18772
18936
if test x$enable_gtk_doc = xyes; then
18777
18941
ENABLE_GTK_DOC_FALSE=
18944
if test x$enable_gtk_doc_html = xyes; then
18945
GTK_DOC_BUILD_HTML_TRUE=
18946
GTK_DOC_BUILD_HTML_FALSE='#'
18948
GTK_DOC_BUILD_HTML_TRUE='#'
18949
GTK_DOC_BUILD_HTML_FALSE=
18952
if test x$enable_gtk_doc_pdf = xyes; then
18953
GTK_DOC_BUILD_PDF_TRUE=
18954
GTK_DOC_BUILD_PDF_FALSE='#'
18956
GTK_DOC_BUILD_PDF_TRUE='#'
18957
GTK_DOC_BUILD_PDF_FALSE=
18780
18960
if test -n "$LIBTOOL"; then
18781
18961
GTK_DOC_USE_LIBTOOL_TRUE=
18782
18962
GTK_DOC_USE_LIBTOOL_FALSE='#'
18931
19127
Usually this means the macro was only invoked conditionally." >&2;}
18932
19128
{ (exit 1); exit 1; }; }
19130
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19131
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19132
Usually this means the macro was only invoked conditionally." >&5
19133
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19134
Usually this means the macro was only invoked conditionally." >&2;}
19135
{ (exit 1); exit 1; }; }
19137
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19138
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19139
Usually this means the macro was only invoked conditionally." >&5
19140
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19141
Usually this means the macro was only invoked conditionally." >&2;}
19142
{ (exit 1); exit 1; }; }
18934
19144
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
18935
19145
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
18936
19146
Usually this means the macro was only invoked conditionally." >&5
20411
20628
case $ac_file$ac_mode in
20412
"depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
20413
# are listed without --file. Let's play safe and only enable the eval
20414
# if we detect the quoting.
20415
case $CONFIG_FILES in
20416
*\'*) eval set x "$CONFIG_FILES" ;;
20417
*) set x $CONFIG_FILES ;;
20422
# Strip MF so we end up with the name of the file.
20423
mf=`echo "$mf" | sed -e 's/:.*$//'`
20424
# Check whether this is an Automake generated Makefile or not.
20425
# We used to match only the files named `Makefile.in', but
20426
# some people rename them; so instead we look at the file content.
20427
# Grep'ing the first line is not enough: some people post-process
20428
# each Makefile.in and add a new line on top of each file to say so.
20429
# Grep'ing the whole file is not good either: AIX grep has a line
20430
# limit of 2048, but all sed's we know have understand at least 4000.
20431
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20432
dirpart=`$as_dirname -- "$mf" ||
20629
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20630
# Autoconf 2.62 quotes --file arguments for eval, but not when files
20631
# are listed without --file. Let's play safe and only enable the eval
20632
# if we detect the quoting.
20633
case $CONFIG_FILES in
20634
*\'*) eval set x "$CONFIG_FILES" ;;
20635
*) set x $CONFIG_FILES ;;
20640
# Strip MF so we end up with the name of the file.
20641
mf=`echo "$mf" | sed -e 's/:.*$//'`
20642
# Check whether this is an Automake generated Makefile or not.
20643
# We used to match only the files named `Makefile.in', but
20644
# some people rename them; so instead we look at the file content.
20645
# Grep'ing the first line is not enough: some people post-process
20646
# each Makefile.in and add a new line on top of each file to say so.
20647
# Grep'ing the whole file is not good either: AIX grep has a line
20648
# limit of 2048, but all sed's we know have understand at least 4000.
20649
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20650
dirpart=`$as_dirname -- "$mf" ||
20433
20651
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20434
20652
X"$mf" : 'X\(//\)[^/]' \| \
20435
20653
X"$mf" : 'X\(//\)$' \| \
20458
# Extract the definition of DEPDIR, am__include, and am__quote
20459
# from the Makefile without running `make'.
20460
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20461
test -z "$DEPDIR" && continue
20462
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20463
test -z "am__include" && continue
20464
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20465
# When using ansi2knr, U may be empty or an underscore; expand it
20466
U=`sed -n 's/^U = //p' < "$mf"`
20467
# Find all dependency output files, they are included files with
20468
# $(DEPDIR) in their names. We invoke sed twice because it is the
20469
# simplest approach to changing $(DEPDIR) to its actual value in the
20471
for file in `sed -n "
20472
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20473
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20474
# Make sure the directory exists.
20475
test -f "$dirpart/$file" && continue
20476
fdir=`$as_dirname -- "$file" ||
20676
# Extract the definition of DEPDIR, am__include, and am__quote
20677
# from the Makefile without running `make'.
20678
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20679
test -z "$DEPDIR" && continue
20680
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20681
test -z "am__include" && continue
20682
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20683
# When using ansi2knr, U may be empty or an underscore; expand it
20684
U=`sed -n 's/^U = //p' < "$mf"`
20685
# Find all dependency output files, they are included files with
20686
# $(DEPDIR) in their names. We invoke sed twice because it is the
20687
# simplest approach to changing $(DEPDIR) to its actual value in the
20689
for file in `sed -n "
20690
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20691
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20692
# Make sure the directory exists.
20693
test -f "$dirpart/$file" && continue
20694
fdir=`$as_dirname -- "$file" ||
20477
20695
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20478
20696
X"$file" : 'X\(//\)[^/]' \| \
20479
20697
X"$file" : 'X\(//\)$' \| \