3419
3453
{ as_fn_set_status 77
3420
3454
as_fn_error "C compiler cannot create executables
3421
3455
See \`config.log' for more details." "$LINENO" 5; }; }
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458
$as_echo "yes" >&6; }
3460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3461
$as_echo_n "checking for C compiler default output file name... " >&6; }
3462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3463
$as_echo "$ac_file" >&6; }
3423
3464
ac_exeext=$ac_cv_exeext
3425
# Check that the compiler produces executables we can run. If not, either
3426
# the compiler is broken, or we cross compile.
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3428
$as_echo_n "checking whether the C compiler works... " >&6; }
3429
# If not cross compiling, check that we can run a simple program.
3430
if test "$cross_compiling" != yes; then
3431
if { ac_try='./$ac_file'
3432
{ { case "(($ac_try" in
3433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434
*) ac_try_echo=$ac_try;;
3436
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437
$as_echo "$ac_try_echo"; } >&5
3438
(eval "$ac_try") 2>&5
3440
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441
test $ac_status = 0; }; }; then
3444
if test "$cross_compiling" = maybe; then
3447
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449
as_fn_error "cannot run C compiled programs.
3450
If you meant to cross compile, use \`--host'.
3451
See \`config.log' for more details." "$LINENO" 5; }
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456
$as_echo "yes" >&6; }
3458
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3466
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3459
3467
ac_clean_files=$ac_clean_files_save
3460
# Check that the compiler produces executables we can run. If not, either
3461
# the compiler is broken, or we cross compile.
3462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3463
$as_echo_n "checking whether we are cross compiling... " >&6; }
3464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3465
$as_echo "$cross_compiling" >&6; }
3467
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3468
3469
$as_echo_n "checking for suffix of executables... " >&6; }
3469
3470
if { { ac_try="$ac_link"
3496
3497
as_fn_error "cannot compute suffix of executables: cannot compile and link
3497
3498
See \`config.log' for more details." "$LINENO" 5; }
3499
rm -f conftest$ac_cv_exeext
3500
rm -f conftest conftest$ac_cv_exeext
3500
3501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3501
3502
$as_echo "$ac_cv_exeext" >&6; }
3503
3504
rm -f conftest.$ac_ext
3504
3505
EXEEXT=$ac_cv_exeext
3505
3506
ac_exeext=$EXEEXT
3507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508
/* end confdefs.h. */
3513
FILE *f = fopen ("conftest.out", "w");
3514
return ferror (f) || fclose (f) != 0;
3520
ac_clean_files="$ac_clean_files conftest.out"
3521
# Check that the compiler produces executables we can run. If not, either
3522
# the compiler is broken, or we cross compile.
3523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3524
$as_echo_n "checking whether we are cross compiling... " >&6; }
3525
if test "$cross_compiling" != yes; then
3526
{ { ac_try="$ac_link"
3528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529
*) ac_try_echo=$ac_try;;
3531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532
$as_echo "$ac_try_echo"; } >&5
3533
(eval "$ac_link") 2>&5
3535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536
test $ac_status = 0; }
3537
if { ac_try='./conftest$ac_cv_exeext'
3538
{ { case "(($ac_try" in
3539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540
*) ac_try_echo=$ac_try;;
3542
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543
$as_echo "$ac_try_echo"; } >&5
3544
(eval "$ac_try") 2>&5
3546
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547
test $ac_status = 0; }; }; then
3550
if test "$cross_compiling" = maybe; then
3553
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555
as_fn_error "cannot run C compiled programs.
3556
If you meant to cross compile, use \`--host'.
3557
See \`config.log' for more details." "$LINENO" 5; }
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3562
$as_echo "$cross_compiling" >&6; }
3564
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3565
ac_clean_files=$ac_clean_files_save
3506
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3507
3567
$as_echo_n "checking for suffix of object files... " >&6; }
3508
3568
if test "${ac_cv_objext+set}" = set; then :
12085
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12086
if test -n "$ac_tool_prefix"; then
12087
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12088
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12090
$as_echo_n "checking for $ac_word... " >&6; }
12091
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12092
$as_echo_n "(cached) " >&6
12094
case $PKG_CONFIG in
12096
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100
for as_dir in $PATH
12103
test -z "$as_dir" && as_dir=.
12104
for ac_exec_ext in '' $ac_executable_extensions; do
12105
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12106
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12107
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12117
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12118
if test -n "$PKG_CONFIG"; then
12119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12120
$as_echo "$PKG_CONFIG" >&6; }
12122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123
$as_echo "no" >&6; }
12128
if test -z "$ac_cv_path_PKG_CONFIG"; then
12129
ac_pt_PKG_CONFIG=$PKG_CONFIG
12130
# Extract the first word of "pkg-config", so it can be a program name with args.
12131
set dummy pkg-config; ac_word=$2
12132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12133
$as_echo_n "checking for $ac_word... " >&6; }
12134
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12135
$as_echo_n "(cached) " >&6
12137
case $ac_pt_PKG_CONFIG in
12139
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143
for as_dir in $PATH
12146
test -z "$as_dir" && as_dir=.
12147
for ac_exec_ext in '' $ac_executable_extensions; do
12148
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12150
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12160
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12161
if test -n "$ac_pt_PKG_CONFIG"; then
12162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12163
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166
$as_echo "no" >&6; }
12169
if test "x$ac_pt_PKG_CONFIG" = x; then
12172
case $cross_compiling:$ac_tool_warned in
12174
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12175
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12176
ac_tool_warned=yes ;;
12178
PKG_CONFIG=$ac_pt_PKG_CONFIG
12181
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12185
if test -n "$PKG_CONFIG"; then
12186
_pkg_min_version=0.9.0
12187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12188
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12189
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191
$as_echo "yes" >&6; }
12193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194
$as_echo "no" >&6; }
12201
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
12202
set dummy gtkdoc-check; ac_word=$2
12203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204
$as_echo_n "checking for $ac_word... " >&6; }
12205
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
12206
$as_echo_n "(cached) " >&6
12208
case $GTKDOC_CHECK in
12210
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214
for as_dir in $PATH
12217
test -z "$as_dir" && as_dir=.
12218
for ac_exec_ext in '' $ac_executable_extensions; do
12219
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12220
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12221
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12231
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12232
if test -n "$GTKDOC_CHECK"; then
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12234
$as_echo "$GTKDOC_CHECK" >&6; }
12236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237
$as_echo "no" >&6; }
12241
for ac_prog in gtkdoc-rebase
12243
# Extract the first word of "$ac_prog", so it can be a program name with args.
12244
set dummy $ac_prog; ac_word=$2
12245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12246
$as_echo_n "checking for $ac_word... " >&6; }
12247
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
12248
$as_echo_n "(cached) " >&6
12250
case $GTKDOC_REBASE in
12252
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12256
for as_dir in $PATH
12259
test -z "$as_dir" && as_dir=.
12260
for ac_exec_ext in '' $ac_executable_extensions; do
12261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12262
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12263
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12273
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12274
if test -n "$GTKDOC_REBASE"; then
12275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12276
$as_echo "$GTKDOC_REBASE" >&6; }
12278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279
$as_echo "no" >&6; }
12283
test -n "$GTKDOC_REBASE" && break
12285
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12287
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12288
set dummy gtkdoc-mkpdf; ac_word=$2
12289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12290
$as_echo_n "checking for $ac_word... " >&6; }
12291
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
12292
$as_echo_n "(cached) " >&6
12294
case $GTKDOC_MKPDF in
12296
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12299
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12300
for as_dir in $PATH
12303
test -z "$as_dir" && as_dir=.
12304
for ac_exec_ext in '' $ac_executable_extensions; do
12305
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12306
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12307
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12317
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12318
if test -n "$GTKDOC_MKPDF"; then
12319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12320
$as_echo "$GTKDOC_MKPDF" >&6; }
12322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323
$as_echo "no" >&6; }
12329
# Check whether --with-html-dir was given.
12330
if test "${with_html_dir+set}" = set; then :
12331
withval=$with_html_dir;
12333
with_html_dir='${datadir}/gtk-doc/html'
12336
HTML_DIR="$with_html_dir"
12339
# Check whether --enable-gtk-doc was given.
12340
if test "${enable_gtk_doc+set}" = set; then :
12341
enableval=$enable_gtk_doc;
12347
if test x$enable_gtk_doc = xyes; then
12348
if test -n "$PKG_CONFIG" && \
12349
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
12350
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
12352
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12353
test $ac_status = 0; }; then
12356
as_fn_error "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
12360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12361
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12363
$as_echo "$enable_gtk_doc" >&6; }
12365
# Check whether --enable-gtk-doc-html was given.
12366
if test "${enable_gtk_doc_html+set}" = set; then :
12367
enableval=$enable_gtk_doc_html;
12369
enable_gtk_doc_html=yes
12372
# Check whether --enable-gtk-doc-pdf was given.
12373
if test "${enable_gtk_doc_pdf+set}" = set; then :
12374
enableval=$enable_gtk_doc_pdf;
12376
enable_gtk_doc_pdf=no
12380
if test -z "$GTKDOC_MKPDF"; then
12381
enable_gtk_doc_pdf=no
12385
if test x$enable_gtk_doc = xyes; then
12386
ENABLE_GTK_DOC_TRUE=
12387
ENABLE_GTK_DOC_FALSE='#'
12389
ENABLE_GTK_DOC_TRUE='#'
12390
ENABLE_GTK_DOC_FALSE=
12393
if test x$enable_gtk_doc_html = xyes; then
12394
GTK_DOC_BUILD_HTML_TRUE=
12395
GTK_DOC_BUILD_HTML_FALSE='#'
12397
GTK_DOC_BUILD_HTML_TRUE='#'
12398
GTK_DOC_BUILD_HTML_FALSE=
12401
if test x$enable_gtk_doc_pdf = xyes; then
12402
GTK_DOC_BUILD_PDF_TRUE=
12403
GTK_DOC_BUILD_PDF_FALSE='#'
12405
GTK_DOC_BUILD_PDF_TRUE='#'
12406
GTK_DOC_BUILD_PDF_FALSE=
12409
if test -n "$LIBTOOL"; then
12410
GTK_DOC_USE_LIBTOOL_TRUE=
12411
GTK_DOC_USE_LIBTOOL_FALSE='#'
12413
GTK_DOC_USE_LIBTOOL_TRUE='#'
12414
GTK_DOC_USE_LIBTOOL_FALSE=
12417
if test -n "$GTKDOC_REBASE"; then
12418
GTK_DOC_USE_REBASE_TRUE=
12419
GTK_DOC_USE_REBASE_FALSE='#'
12421
GTK_DOC_USE_REBASE_TRUE='#'
12422
GTK_DOC_USE_REBASE_FALSE=
12427
#*******************************************************************************
12429
#*******************************************************************************
12430
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12431
# The string is of the form C:R:A.
12432
# - If interfaces have been changed or added, but binary compatibility has
12433
# been preserved, change to C+1:0:A+1
12434
# - If binary compatibility has been broken (eg removed or changed interfaces)
12435
# change to C+1:0:0
12436
# - If the interface is the same as the previous version, change to C:R+1:A
12437
CHEESE_LT_VERSION=18:0:0
12019
12440
#*******************************************************************************
12020
12441
# Expanded dirs
12021
12442
#*******************************************************************************
13315
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13316
if test -n "$ac_tool_prefix"; then
13317
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13318
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13320
$as_echo_n "checking for $ac_word... " >&6; }
13321
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13322
$as_echo_n "(cached) " >&6
13324
case $PKG_CONFIG in
13326
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13330
for as_dir in $PATH
13333
test -z "$as_dir" && as_dir=.
13334
for ac_exec_ext in '' $ac_executable_extensions; do
13335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13336
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13347
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13348
if test -n "$PKG_CONFIG"; then
13349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13350
$as_echo "$PKG_CONFIG" >&6; }
13352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13353
$as_echo "no" >&6; }
13358
if test -z "$ac_cv_path_PKG_CONFIG"; then
13359
ac_pt_PKG_CONFIG=$PKG_CONFIG
13360
# Extract the first word of "pkg-config", so it can be a program name with args.
13361
set dummy pkg-config; ac_word=$2
13362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13363
$as_echo_n "checking for $ac_word... " >&6; }
13364
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13365
$as_echo_n "(cached) " >&6
13367
case $ac_pt_PKG_CONFIG in
13369
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13373
for as_dir in $PATH
13376
test -z "$as_dir" && as_dir=.
13377
for ac_exec_ext in '' $ac_executable_extensions; do
13378
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13379
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13380
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13390
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13391
if test -n "$ac_pt_PKG_CONFIG"; then
13392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13393
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13396
$as_echo "no" >&6; }
13399
if test "x$ac_pt_PKG_CONFIG" = x; then
13402
case $cross_compiling:$ac_tool_warned in
13404
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13405
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13406
ac_tool_warned=yes ;;
13408
PKG_CONFIG=$ac_pt_PKG_CONFIG
13411
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13415
if test -n "$PKG_CONFIG"; then
13416
_pkg_min_version=0.9.0
13417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13418
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13419
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13421
$as_echo "yes" >&6; }
13423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424
$as_echo "no" >&6; }
13430
13735
gdu_cv_version_required=0.3.2
13432
13737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
13523
13828
GLIB_REQUIRED=2.16.0
13524
13829
GOBJECT_REQUIRED=2.12.0
13525
13830
GIO_REQUIRED=2.16.0
13526
GTK_REQUIRED=2.17.4
13831
GTK_REQUIRED=2.19.1
13527
13832
GDK_REQUIRED=2.14.0
13528
13833
LIBGNOMEDESKTOP_REQUIRED=2.26.0
13529
13834
GCONF_REQUIRED=2.16.0
13530
GSTREAMER_REQUIRED=0.10.20
13531
LIBEBOOK_REQUIRED=1.12.0
13835
GSTREAMER_REQUIRED=0.10.23
13532
13836
CAIRO_REQUIRED=1.4.0
13533
13837
DBUS_REQUIRED=1.0
13534
13838
DBUS_GLIB_REQUIRED=0.7
13536
13839
PANGOCAIRO_REQUIRED=1.18.0
13537
13840
LIBRSVG_REQUIRED=2.18.0
13842
#*******************************************************************************
13844
#*******************************************************************************
13849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
13850
$as_echo_n "checking for UDEV... " >&6; }
13852
if test -n "$UDEV_CFLAGS"; then
13853
pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
13854
elif test -n "$PKG_CONFIG"; then
13855
if test -n "$PKG_CONFIG" && \
13856
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13857
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13859
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860
test $ac_status = 0; }; then
13861
pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
13868
if test -n "$UDEV_LIBS"; then
13869
pkg_cv_UDEV_LIBS="$UDEV_LIBS"
13870
elif test -n "$PKG_CONFIG"; then
13871
if test -n "$PKG_CONFIG" && \
13872
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13873
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13875
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13876
test $ac_status = 0; }; then
13877
pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
13887
if test $pkg_failed = yes; then
13889
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13890
_pkg_short_errors_supported=yes
13892
_pkg_short_errors_supported=no
13894
if test $_pkg_short_errors_supported = yes; then
13895
UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
13897
UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
13899
# Put the nasty error message in config.log where it belongs
13900
echo "$UDEV_PKG_ERRORS" >&5
13902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13903
$as_echo "no" >&6; }
13905
elif test $pkg_failed = untried; then
13908
UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
13909
UDEV_LIBS=$pkg_cv_UDEV_LIBS
13910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13911
$as_echo "yes" >&6; }
13913
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
13918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
13919
$as_echo_n "checking operating system... " >&6; }
13923
$as_echo "#define OS_LINUX /**/" >>confdefs.h
13926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
13927
$as_echo "Linux" >&6; }
13928
if test x$UDEV_PKG = "x" ; then
13929
as_fn_error "libgudev is required under Linux and not installed" "$LINENO" 5
13933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
13934
$as_echo "unsupported operating system" >&6; }
13938
ac_fn_c_check_header_mongrel "$LINENO" "sys/videoio.h" "ac_cv_header_sys_videoio_h" "$ac_includes_default"
13939
if test "x$ac_cv_header_sys_videoio_h" = x""yes; then :
13941
$as_echo "#define USE_SYS_VIDEOIO_H 1" >>confdefs.h
13945
$as_echo "#define USE_SYS_VIDEOIO_H 0" >>confdefs.h
13952
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
13953
if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
13955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13956
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13957
if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
13958
$as_echo_n "(cached) " >&6
13960
ac_check_lib_save_LIBS=$LIBS
13961
LIBS="-lXtst $LIBS"
13962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963
/* end confdefs.h. */
13965
/* Override any GCC internal prototype to avoid an error.
13966
Use char because int might match the return type of a GCC
13967
builtin and then its argument prototype would still apply. */
13971
char XTestFakeKeyEvent ();
13975
return XTestFakeKeyEvent ();
13980
if ac_fn_c_try_link "$LINENO"; then :
13981
ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13983
ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13985
rm -f core conftest.err conftest.$ac_objext \
13986
conftest$ac_exeext conftest.$ac_ext
13987
LIBS=$ac_check_lib_save_LIBS
13989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13990
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13991
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = x""yes; then :
13994
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
13996
XTEST_LIBS="-lX11 -lXtst"
14004
if test "x$HAVE_TEST" = "xyes"; then
14006
HAVE_XTEST_FALSE='#'
14008
HAVE_XTEST_TRUE='#'
13540
14014
pkg_failed=no
13541
14015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE" >&5