13523
13553
as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5
13555
if test "x$PACKAGE_NAME" != "xglib"; then
13558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13559
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13561
if test -n "$GTKDOC_DEPS_CFLAGS"; then
13562
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13563
elif test -n "$PKG_CONFIG"; then
13564
if test -n "$PKG_CONFIG" && \
13565
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13566
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13568
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13569
test $ac_status = 0; }; then
13570
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13577
if test -n "$GTKDOC_DEPS_LIBS"; then
13578
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13579
elif test -n "$PKG_CONFIG"; then
13580
if test -n "$PKG_CONFIG" && \
13581
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13582
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13584
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13585
test $ac_status = 0; }; then
13586
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13596
if test $pkg_failed = yes; then
13597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13598
$as_echo "no" >&6; }
13600
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13601
_pkg_short_errors_supported=yes
13603
_pkg_short_errors_supported=no
13605
if test $_pkg_short_errors_supported = yes; then
13606
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13608
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13610
# Put the nasty error message in config.log where it belongs
13611
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13613
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13615
$GTKDOC_DEPS_PKG_ERRORS
13617
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13618
installed software in a non-standard prefix.
13620
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13621
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13622
See the pkg-config man page for more details." "$LINENO" 5
13624
elif test $pkg_failed = untried; then
13625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13626
$as_echo "no" >&6; }
13627
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13628
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13629
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13630
is in your PATH or set the PKG_CONFIG environment variable to the full
13631
path to pkg-config.
13633
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13634
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13635
See the pkg-config man page for more details.
13637
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13638
See \`config.log' for more details" "$LINENO" 5; }
13641
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13642
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13644
$as_echo "yes" >&6; }
13527
13650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13971
SESSION_TRACKING=ConsoleKit
13973
# Check whether --enable-systemd was given.
13974
if test "${enable_systemd+set}" = set; then :
13975
enableval=$enable_systemd; enable_systemd=$enableval
13977
enable_systemd=auto
13980
if test "$enable_systemd" != "no"; then
13983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
13984
$as_echo_n "checking for SYSTEMD... " >&6; }
13986
if test -n "$SYSTEMD_CFLAGS"; then
13987
pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
13988
elif test -n "$PKG_CONFIG"; then
13989
if test -n "$PKG_CONFIG" && \
13990
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
13991
($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
13993
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13994
test $ac_status = 0; }; then
13995
pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login" 2>/dev/null`
14002
if test -n "$SYSTEMD_LIBS"; then
14003
pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
14004
elif test -n "$PKG_CONFIG"; then
14005
if test -n "$PKG_CONFIG" && \
14006
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
14007
($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
14009
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010
test $ac_status = 0; }; then
14011
pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-login" 2>/dev/null`
14021
if test $pkg_failed = yes; then
14022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14023
$as_echo "no" >&6; }
14025
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14026
_pkg_short_errors_supported=yes
14028
_pkg_short_errors_supported=no
14030
if test $_pkg_short_errors_supported = yes; then
14031
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsystemd-login" 2>&1`
14033
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsystemd-login" 2>&1`
14035
# Put the nasty error message in config.log where it belongs
14036
echo "$SYSTEMD_PKG_ERRORS" >&5
14039
elif test $pkg_failed = untried; then
14040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14041
$as_echo "no" >&6; }
14044
SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
14045
SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
14046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14047
$as_echo "yes" >&6; }
14050
if test "$have_systemd" = "yes"; then
14051
SESSION_TRACKING=systemd
14053
if test "$enable_systemd" = "yes"; then
14054
as_fn_error $? "systemd support requested but libsystemd-login1 library not found" "$LINENO" 5
14061
if test "$have_systemd" = "yes"; then
14063
HAVE_SYSTEMD_FALSE='#'
14065
HAVE_SYSTEMD_TRUE='#'
14066
HAVE_SYSTEMD_FALSE=
13848
14072
# Check whether --with-authfw was given.
13849
14073
if test "${with_authfw+set}" = set; then :
18370
18605
# would make configure fail if this is the last instruction.
18371
18606
$ac_cs_success || as_fn_exit 1
18610
# CONFIG_SUBDIRS section.
18612
if test "$no_recursion" != yes; then
18614
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
18615
# so they do not pile up.
18616
ac_sub_configure_args=
18618
eval "set x $ac_configure_args"
18622
if test -n "$ac_prev"; then
18627
-cache-file | --cache-file | --cache-fil | --cache-fi \
18628
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18629
ac_prev=cache_file ;;
18630
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18631
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
18634
--config-cache | -C)
18636
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18638
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18640
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
18642
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
18644
--disable-option-checking)
18648
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18650
as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
18654
# Always prepend --prefix to ensure using the same prefix
18655
# in subdir configurations.
18656
ac_arg="--prefix=$prefix"
18658
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18660
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
18663
if test "$silent" = yes; then
18664
ac_sub_configure_args="--silent $ac_sub_configure_args"
18667
# Always prepend --disable-option-checking to silence warnings, since
18668
# different subdirs can have different --enable and --with options.
18669
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
18672
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
18674
# Do not complain, so a configure script can configure whichever
18675
# parts of a large source tree are present.
18676
test -d "$srcdir/$ac_dir" || continue
18678
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
18679
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18680
$as_echo "$ac_msg" >&6
18681
as_dir="$ac_dir"; as_fn_mkdir_p
18685
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18687
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18688
# A ".." for each directory in $ac_dir_suffix.
18689
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18690
case $ac_top_builddir_sub in
18691
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18692
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18695
ac_abs_top_builddir=$ac_pwd
18696
ac_abs_builddir=$ac_pwd$ac_dir_suffix
18697
# for backward compatibility:
18698
ac_top_builddir=$ac_top_build_prefix
18701
.) # We are building in place.
18703
ac_top_srcdir=$ac_top_builddir_sub
18704
ac_abs_top_srcdir=$ac_pwd ;;
18705
[\\/]* | ?:[\\/]* ) # Absolute name.
18706
ac_srcdir=$srcdir$ac_dir_suffix;
18707
ac_top_srcdir=$srcdir
18708
ac_abs_top_srcdir=$srcdir ;;
18709
*) # Relative name.
18710
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18711
ac_top_srcdir=$ac_top_build_prefix$srcdir
18712
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18714
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18719
# Check for guested configure; otherwise get Cygnus style configure.
18720
if test -f "$ac_srcdir/configure.gnu"; then
18721
ac_sub_configure=$ac_srcdir/configure.gnu
18722
elif test -f "$ac_srcdir/configure"; then
18723
ac_sub_configure=$ac_srcdir/configure
18724
elif test -f "$ac_srcdir/configure.in"; then
18725
# This should be Cygnus configure.
18726
ac_sub_configure=$ac_aux_dir/configure
18728
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18729
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18733
# The recursion is here.
18734
if test -n "$ac_sub_configure"; then
18735
# Make the cache file name correct relative to the subdirectory.
18736
case $cache_file in
18737
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
18738
*) # Relative name.
18739
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
18742
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18743
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18744
# The eval makes quoting arguments work.
18745
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
18746
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
18747
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
18373
18753
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18374
18754
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18375
18755
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}