~registry/libsignon-glib/packaging

« back to all changes in this revision

Viewing changes to configure

  • Committer: Ken VanDine
  • Date: 2012-08-13 14:31:32 UTC
  • mfrom: (131.1.9 libsignon-glib)
  • Revision ID: ken.vandine@canonical.com-20120813143132-xtolu6l8ix82pdcx
Tags: 1.5-0precise1
releasing version 1.5-0precise1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for libsignon-glib 1.4.
 
3
# Generated by GNU Autoconf 2.69 for libsignon-glib 1.5.
4
4
#
5
5
#
6
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
587
587
# Identity of this package.
588
588
PACKAGE_NAME='libsignon-glib'
589
589
PACKAGE_TARNAME='libsignon-glib'
590
 
PACKAGE_VERSION='1.4'
591
 
PACKAGE_STRING='libsignon-glib 1.4'
 
590
PACKAGE_VERSION='1.5'
 
591
PACKAGE_STRING='libsignon-glib 1.5'
592
592
PACKAGE_BUGREPORT=''
593
593
PACKAGE_URL=''
594
594
 
632
632
am__EXEEXT_TRUE
633
633
LTLIBOBJS
634
634
LIBOBJS
635
 
DBUS_LIBS
636
 
DBUS_CFLAGS
 
635
ENABLE_PYTHON_FALSE
 
636
ENABLE_PYTHON_TRUE
 
637
pyoverridesdir
 
638
PYTHON_LIBS
 
639
PYTHON_CFLAGS
 
640
pkgpyexecdir
 
641
pyexecdir
 
642
pkgpythondir
 
643
pythondir
 
644
PYTHON_PLATFORM
 
645
PYTHON_EXEC_PREFIX
 
646
PYTHON_PREFIX
 
647
PYTHON_VERSION
 
648
PYTHON
637
649
GTK_DOC_USE_REBASE_FALSE
638
650
GTK_DOC_USE_REBASE_TRUE
639
651
GTK_DOC_USE_LIBTOOL_FALSE
796
808
enable_checks
797
809
enable_debug
798
810
enable_coverage
 
811
enable_python
799
812
'
800
813
      ac_precious_vars='build_alias
801
814
host_alias
815
828
CPP
816
829
GTKDOC_DEPS_CFLAGS
817
830
GTKDOC_DEPS_LIBS
818
 
DBUS_CFLAGS
819
 
DBUS_LIBS'
 
831
PYTHON
 
832
PYTHON_CFLAGS
 
833
PYTHON_LIBS'
820
834
 
821
835
 
822
836
# Initialize some variables set by options.
1357
1371
  # Omit some internal or obsolete options to make the list less imposing.
1358
1372
  # This message is too long to be a string in the A/UX 3.1 sh.
1359
1373
  cat <<_ACEOF
1360
 
\`configure' configures libsignon-glib 1.4 to adapt to many kinds of systems.
 
1374
\`configure' configures libsignon-glib 1.5 to adapt to many kinds of systems.
1361
1375
 
1362
1376
Usage: $0 [OPTION]... [VAR=VALUE]...
1363
1377
 
1427
1441
 
1428
1442
if test -n "$ac_init_help"; then
1429
1443
  case $ac_init_help in
1430
 
     short | recursive ) echo "Configuration of libsignon-glib 1.4:";;
 
1444
     short | recursive ) echo "Configuration of libsignon-glib 1.5:";;
1431
1445
   esac
1432
1446
  cat <<\_ACEOF
1433
1447
 
1452
1466
  --disable-checks        compile with GLIB checks disabled
1453
1467
  --enable-debug          enable printing of debug messages
1454
1468
  --enable-coverage      compile with coverage info
 
1469
  --enable-python=[no/auto/yes]
 
1470
                          Build with python support
1455
1471
 
1456
1472
Optional Packages:
1457
1473
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1486
1502
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1487
1503
  GTKDOC_DEPS_LIBS
1488
1504
              linker flags for GTKDOC_DEPS, overriding pkg-config
1489
 
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1490
 
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
 
1505
  PYTHON      the Python interpreter
 
1506
  PYTHON_CFLAGS
 
1507
              C compiler flags for PYTHON, overriding pkg-config
 
1508
  PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
1491
1509
 
1492
1510
Use these variables to override the choices made by `configure' or to help
1493
1511
it to find libraries and programs with nonstandard names/locations.
1555
1573
test -n "$ac_init_help" && exit $ac_status
1556
1574
if $ac_init_version; then
1557
1575
  cat <<\_ACEOF
1558
 
libsignon-glib configure 1.4
 
1576
libsignon-glib configure 1.5
1559
1577
generated by GNU Autoconf 2.69
1560
1578
 
1561
1579
Copyright (C) 2012 Free Software Foundation, Inc.
1833
1851
This file contains any messages produced by compilers while
1834
1852
running configure, to aid debugging if configure makes a mistake.
1835
1853
 
1836
 
It was created by libsignon-glib $as_me 1.4, which was
 
1854
It was created by libsignon-glib $as_me 1.5, which was
1837
1855
generated by GNU Autoconf 2.69.  Invocation command line was
1838
1856
 
1839
1857
  $ $0 $@
2649
2667
 
2650
2668
# Define the identity of the package.
2651
2669
 PACKAGE=libsignon-glib
2652
 
 VERSION=1.4
 
2670
 VERSION=1.5
2653
2671
 
2654
2672
 
2655
2673
cat >>confdefs.h <<_ACEOF
2917
2935
    pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
2918
2936
 elif test -n "$PKG_CONFIG"; then
2919
2937
    if test -n "$PKG_CONFIG" && \
2920
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0
2921
 
        gobject-2.0
2922
 
        dbus-1
2923
 
        dbus-glib-1
2924
 
        signond >= 8.40\""; } >&5
2925
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0
2926
 
        gobject-2.0
2927
 
        dbus-1
2928
 
        dbus-glib-1
2929
 
        signond >= 8.40") 2>&5
 
2938
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
 
2939
        gio-unix-2.0
 
2940
        glib-2.0 >= 2.32
 
2941
        gobject-2.0
 
2942
        signond >= 8.40\""; } >&5
 
2943
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
 
2944
        gio-unix-2.0
 
2945
        glib-2.0 >= 2.32
 
2946
        gobject-2.0
 
2947
        signond >= 8.40") 2>&5
2930
2948
  ac_status=$?
2931
2949
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932
2950
  test $ac_status = 0; }; then
2933
 
  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0
 
2951
  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
 
2952
        gio-unix-2.0
 
2953
        glib-2.0 >= 2.32
2934
2954
        gobject-2.0
2935
 
        dbus-1
2936
 
        dbus-glib-1
2937
 
        signond >= 8.40" 2>/dev/null`
 
2955
        signond >= 8.40" 2>/dev/null`
2938
2956
                      test "x$?" != "x0" && pkg_failed=yes
2939
2957
else
2940
2958
  pkg_failed=yes
2946
2964
    pkg_cv_DEPS_LIBS="$DEPS_LIBS"
2947
2965
 elif test -n "$PKG_CONFIG"; then
2948
2966
    if test -n "$PKG_CONFIG" && \
2949
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0
2950
 
        gobject-2.0
2951
 
        dbus-1
2952
 
        dbus-glib-1
2953
 
        signond >= 8.40\""; } >&5
2954
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0
2955
 
        gobject-2.0
2956
 
        dbus-1
2957
 
        dbus-glib-1
2958
 
        signond >= 8.40") 2>&5
 
2967
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
 
2968
        gio-unix-2.0
 
2969
        glib-2.0 >= 2.32
 
2970
        gobject-2.0
 
2971
        signond >= 8.40\""; } >&5
 
2972
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
 
2973
        gio-unix-2.0
 
2974
        glib-2.0 >= 2.32
 
2975
        gobject-2.0
 
2976
        signond >= 8.40") 2>&5
2959
2977
  ac_status=$?
2960
2978
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961
2979
  test $ac_status = 0; }; then
2962
 
  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0
 
2980
  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
 
2981
        gio-unix-2.0
 
2982
        glib-2.0 >= 2.32
2963
2983
        gobject-2.0
2964
 
        dbus-1
2965
 
        dbus-glib-1
2966
 
        signond >= 8.40" 2>/dev/null`
 
2984
        signond >= 8.40" 2>/dev/null`
2967
2985
                      test "x$?" != "x0" && pkg_failed=yes
2968
2986
else
2969
2987
  pkg_failed=yes
2984
3002
        _pkg_short_errors_supported=no
2985
3003
fi
2986
3004
        if test $_pkg_short_errors_supported = yes; then
2987
 
                DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0
 
3005
                DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
 
3006
        gio-unix-2.0
 
3007
        glib-2.0 >= 2.32
2988
3008
        gobject-2.0
2989
 
        dbus-1
2990
 
        dbus-glib-1
2991
 
        signond >= 8.40" 2>&1`
 
3009
        signond >= 8.40" 2>&1`
2992
3010
        else
2993
 
                DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0
 
3011
                DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
 
3012
        gio-unix-2.0
 
3013
        glib-2.0 >= 2.32
2994
3014
        gobject-2.0
2995
 
        dbus-1
2996
 
        dbus-glib-1
2997
 
        signond >= 8.40" 2>&1`
 
3015
        signond >= 8.40" 2>&1`
2998
3016
        fi
2999
3017
        # Put the nasty error message in config.log where it belongs
3000
3018
        echo "$DEPS_PKG_ERRORS" >&5
3001
3019
 
3002
 
        as_fn_error $? "Package requirements (glib-2.0
 
3020
        as_fn_error $? "Package requirements (gio-2.0 >= 2.30
 
3021
        gio-unix-2.0
 
3022
        glib-2.0 >= 2.32
3003
3023
        gobject-2.0
3004
 
        dbus-1
3005
 
        dbus-glib-1
3006
 
        signond >= 8.40) were not met:
 
3024
        signond >= 8.40) were not met:
3007
3025
 
3008
3026
$DEPS_PKG_ERRORS
3009
3027
 
13606
13624
fi
13607
13625
 
13608
13626
 
 
13627
 
 
13628
 
 
13629
 
 
13630
 
 
13631
 
 
13632
        # Find any Python interpreter.
 
13633
    if test -z "$PYTHON"; then
 
13634
      for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
 
13635
do
 
13636
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
13637
set dummy $ac_prog; ac_word=$2
 
13638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13639
$as_echo_n "checking for $ac_word... " >&6; }
 
13640
if ${ac_cv_path_PYTHON+:} false; then :
 
13641
  $as_echo_n "(cached) " >&6
 
13642
else
 
13643
  case $PYTHON in
 
13644
  [\\/]* | ?:[\\/]*)
 
13645
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
13646
  ;;
 
13647
  *)
 
13648
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13649
for as_dir in $PATH
 
13650
do
 
13651
  IFS=$as_save_IFS
 
13652
  test -z "$as_dir" && as_dir=.
 
13653
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13654
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
13655
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
13656
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13657
    break 2
 
13658
  fi
 
13659
done
 
13660
  done
 
13661
IFS=$as_save_IFS
 
13662
 
 
13663
  ;;
 
13664
esac
 
13665
fi
 
13666
PYTHON=$ac_cv_path_PYTHON
 
13667
if test -n "$PYTHON"; then
 
13668
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
13669
$as_echo "$PYTHON" >&6; }
 
13670
else
 
13671
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13672
$as_echo "no" >&6; }
 
13673
fi
 
13674
 
 
13675
 
 
13676
  test -n "$PYTHON" && break
 
13677
done
 
13678
test -n "$PYTHON" || PYTHON=":"
 
13679
 
 
13680
    fi
 
13681
    am_display_PYTHON=python
 
13682
 
 
13683
 
 
13684
  if test "$PYTHON" = :; then
 
13685
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
 
13686
  else
 
13687
 
 
13688
 
 
13689
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
13690
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
13691
if ${am_cv_python_version+:} false; then :
 
13692
  $as_echo_n "(cached) " >&6
 
13693
else
 
13694
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
 
13695
fi
 
13696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
13697
$as_echo "$am_cv_python_version" >&6; }
 
13698
  PYTHON_VERSION=$am_cv_python_version
 
13699
 
 
13700
 
 
13701
 
 
13702
  PYTHON_PREFIX='${prefix}'
 
13703
 
 
13704
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
13705
 
 
13706
 
 
13707
 
 
13708
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
13709
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
13710
if ${am_cv_python_platform+:} false; then :
 
13711
  $as_echo_n "(cached) " >&6
 
13712
else
 
13713
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
 
13714
fi
 
13715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
13716
$as_echo "$am_cv_python_platform" >&6; }
 
13717
  PYTHON_PLATFORM=$am_cv_python_platform
 
13718
 
 
13719
 
 
13720
 
 
13721
 
 
13722
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
13723
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
13724
if ${am_cv_python_pythondir+:} false; then :
 
13725
  $as_echo_n "(cached) " >&6
 
13726
else
 
13727
  if test "x$prefix" = xNONE
 
13728
     then
 
13729
       am_py_prefix=$ac_default_prefix
 
13730
     else
 
13731
       am_py_prefix=$prefix
 
13732
     fi
 
13733
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
 
13734
     case $am_cv_python_pythondir in
 
13735
     $am_py_prefix*)
 
13736
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
13737
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
13738
       ;;
 
13739
     *)
 
13740
       case $am_py_prefix in
 
13741
         /usr|/System*) ;;
 
13742
         *)
 
13743
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
13744
          ;;
 
13745
       esac
 
13746
       ;;
 
13747
     esac
 
13748
 
 
13749
fi
 
13750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
13751
$as_echo "$am_cv_python_pythondir" >&6; }
 
13752
  pythondir=$am_cv_python_pythondir
 
13753
 
 
13754
 
 
13755
 
 
13756
  pkgpythondir=\${pythondir}/$PACKAGE
 
13757
 
 
13758
 
 
13759
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
13760
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
13761
if ${am_cv_python_pyexecdir+:} false; then :
 
13762
  $as_echo_n "(cached) " >&6
 
13763
else
 
13764
  if test "x$exec_prefix" = xNONE
 
13765
     then
 
13766
       am_py_exec_prefix=$am_py_prefix
 
13767
     else
 
13768
       am_py_exec_prefix=$exec_prefix
 
13769
     fi
 
13770
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
 
13771
     case $am_cv_python_pyexecdir in
 
13772
     $am_py_exec_prefix*)
 
13773
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
13774
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
13775
       ;;
 
13776
     *)
 
13777
       case $am_py_exec_prefix in
 
13778
         /usr|/System*) ;;
 
13779
         *)
 
13780
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
13781
           ;;
 
13782
       esac
 
13783
       ;;
 
13784
     esac
 
13785
 
 
13786
fi
 
13787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
13788
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
13789
  pyexecdir=$am_cv_python_pyexecdir
 
13790
 
 
13791
 
 
13792
 
 
13793
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
13794
 
 
13795
 
 
13796
 
 
13797
  fi
 
13798
 
 
13799
 
 
13800
 
 
13801
PYGOBJECT_REQUIRED=2.90
 
13802
 
 
13803
# Check whether --enable-python was given.
 
13804
if test "${enable_python+set}" = set; then :
 
13805
  enableval=$enable_python; enable_python=$enableval
 
13806
else
 
13807
  enable_python="auto"
 
13808
fi
 
13809
 
 
13810
 
 
13811
if test "x$enable_python" = "xauto"; then
 
13812
    if test -n "$PKG_CONFIG" && \
 
13813
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
13814
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
 
13815
  ac_status=$?
 
13816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13817
  test $ac_status = 0; }; then
 
13818
  enable_python=yes
 
13819
else
 
13820
  enable_python=no
 
13821
fi
 
13822
fi
 
13823
 
 
13824
if test "x$enable_python" = "xyes"; then
 
13825
 
13609
13826
pkg_failed=no
13610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13611
 
$as_echo_n "checking for DBUS... " >&6; }
 
13827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
 
13828
$as_echo_n "checking for PYTHON... " >&6; }
13612
13829
 
13613
 
if test -n "$DBUS_CFLAGS"; then
13614
 
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
 
13830
if test -n "$PYTHON_CFLAGS"; then
 
13831
    pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
13615
13832
 elif test -n "$PKG_CONFIG"; then
13616
13833
    if test -n "$PKG_CONFIG" && \
13617
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.51, dbus-glib-1 >= 0.51\""; } >&5
13618
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.51, dbus-glib-1 >= 0.51") 2>&5
 
13834
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
13835
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
13619
13836
  ac_status=$?
13620
13837
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13621
13838
  test $ac_status = 0; }; then
13622
 
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.51, dbus-glib-1 >= 0.51" 2>/dev/null`
 
13839
  pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
13623
13840
                      test "x$?" != "x0" && pkg_failed=yes
13624
13841
else
13625
13842
  pkg_failed=yes
13627
13844
 else
13628
13845
    pkg_failed=untried
13629
13846
fi
13630
 
if test -n "$DBUS_LIBS"; then
13631
 
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
 
13847
if test -n "$PYTHON_LIBS"; then
 
13848
    pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
13632
13849
 elif test -n "$PKG_CONFIG"; then
13633
13850
    if test -n "$PKG_CONFIG" && \
13634
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.51, dbus-glib-1 >= 0.51\""; } >&5
13635
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.51, dbus-glib-1 >= 0.51") 2>&5
 
13851
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
13852
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
13636
13853
  ac_status=$?
13637
13854
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13638
13855
  test $ac_status = 0; }; then
13639
 
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.51, dbus-glib-1 >= 0.51" 2>/dev/null`
 
13856
  pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
13640
13857
                      test "x$?" != "x0" && pkg_failed=yes
13641
13858
else
13642
13859
  pkg_failed=yes
13657
13874
        _pkg_short_errors_supported=no
13658
13875
fi
13659
13876
        if test $_pkg_short_errors_supported = yes; then
13660
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.51, dbus-glib-1 >= 0.51" 2>&1`
 
13877
                PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
13661
13878
        else
13662
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.51, dbus-glib-1 >= 0.51" 2>&1`
 
13879
                PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
13663
13880
        fi
13664
13881
        # Put the nasty error message in config.log where it belongs
13665
 
        echo "$DBUS_PKG_ERRORS" >&5
13666
 
 
13667
 
        have_dbus=no
 
13882
        echo "$PYTHON_PKG_ERRORS" >&5
 
13883
 
 
13884
        as_fn_error $? "Package requirements (pygobject-3.0 >= $PYGOBJECT_REQUIRED) were not met:
 
13885
 
 
13886
$PYTHON_PKG_ERRORS
 
13887
 
 
13888
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13889
installed software in a non-standard prefix.
 
13890
 
 
13891
Alternatively, you may set the environment variables PYTHON_CFLAGS
 
13892
and PYTHON_LIBS to avoid the need to call pkg-config.
 
13893
See the pkg-config man page for more details." "$LINENO" 5
13668
13894
elif test $pkg_failed = untried; then
13669
13895
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670
13896
$as_echo "no" >&6; }
13671
 
        have_dbus=no
 
13897
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13898
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13899
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13900
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13901
path to pkg-config.
 
13902
 
 
13903
Alternatively, you may set the environment variables PYTHON_CFLAGS
 
13904
and PYTHON_LIBS to avoid the need to call pkg-config.
 
13905
See the pkg-config man page for more details.
 
13906
 
 
13907
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13908
See \`config.log' for more details" "$LINENO" 5; }
13672
13909
else
13673
 
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13674
 
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
 
13910
        PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
 
13911
        PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
13675
13912
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13676
13913
$as_echo "yes" >&6; }
13677
 
        have_dbus=yes
13678
 
fi
13679
 
 
13680
 
 
13681
 
 
13682
 
ac_config_files="$ac_config_files Makefile libsignon-glib/Makefile libsignon-glib.pc docs/Makefile docs/reference/Makefile tests/Makefile"
 
13914
 
 
13915
fi
 
13916
 
 
13917
    pyoverridesdir=`$PYTHON -c "import gi;print gi._overridesdir"`
 
13918
 
 
13919
fi
 
13920
 
 
13921
 if test x"$enable_python" = "xyes"; then
 
13922
  ENABLE_PYTHON_TRUE=
 
13923
  ENABLE_PYTHON_FALSE='#'
 
13924
else
 
13925
  ENABLE_PYTHON_TRUE='#'
 
13926
  ENABLE_PYTHON_FALSE=
 
13927
fi
 
13928
 
 
13929
 
 
13930
ac_config_files="$ac_config_files Makefile libsignon-glib/Makefile libsignon-glib.pc docs/Makefile docs/reference/Makefile tests/Makefile pygobject/Makefile"
13683
13931
 
13684
13932
cat >confcache <<\_ACEOF
13685
13933
# This file is a shell script that caches the results of configure
13838
14086
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13839
14087
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13840
14088
fi
 
14089
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
 
14090
  as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
 
14091
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14092
fi
13841
14093
 
13842
14094
: "${CONFIG_STATUS=./config.status}"
13843
14095
ac_write_fail=0
14235
14487
# report actual input values of CONFIG_FILES etc. instead of their
14236
14488
# values after options handling.
14237
14489
ac_log="
14238
 
This file was extended by libsignon-glib $as_me 1.4, which was
 
14490
This file was extended by libsignon-glib $as_me 1.5, which was
14239
14491
generated by GNU Autoconf 2.69.  Invocation command line was
14240
14492
 
14241
14493
  CONFIG_FILES    = $CONFIG_FILES
14301
14553
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14302
14554
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14303
14555
ac_cs_version="\\
14304
 
libsignon-glib config.status 1.4
 
14556
libsignon-glib config.status 1.5
14305
14557
configured by $0, generated by GNU Autoconf 2.69,
14306
14558
  with options \\"\$ac_cs_config\\"
14307
14559
 
14716
14968
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14717
14969
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14718
14970
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
14971
    "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14719
14972
 
14720
14973
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14721
14974
  esac