~ubuntu-desktop/remote-login-service/ubuntu

« back to all changes in this revision

Viewing changes to configure

  • Committer: Ted Gould
  • Date: 2012-08-15 16:28:26 UTC
  • mfrom: (1.2.2)
  • Revision ID: ted@gould.cx-20120815162826-plnqmhxzs1w2b67l
* New upstream release.
  * Support calling the UCCS service tool
  * Tests to deal with JSON output

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 remote-login-service 0.0.1.
 
3
# Generated by GNU Autoconf 2.69 for remote-login-service 0.2.0.
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='remote-login-service'
589
589
PACKAGE_TARNAME='remote-login-service'
590
 
PACKAGE_VERSION='0.0.1'
591
 
PACKAGE_STRING='remote-login-service 0.0.1'
 
590
PACKAGE_VERSION='0.2.0'
 
591
PACKAGE_STRING='remote-login-service 0.2.0'
592
592
PACKAGE_BUGREPORT=''
593
593
PACKAGE_URL=''
594
594
 
646
646
LCOV
647
647
SHTOOL
648
648
DBUSSERVICEDIR
 
649
TEST_LIBS
 
650
TEST_CFLAGS
649
651
SERVICE_LIBS
650
652
SERVICE_CFLAGS
651
653
PKG_CONFIG_LIBDIR
840
842
PKG_CONFIG_PATH
841
843
PKG_CONFIG_LIBDIR
842
844
SERVICE_CFLAGS
843
 
SERVICE_LIBS'
 
845
SERVICE_LIBS
 
846
TEST_CFLAGS
 
847
TEST_LIBS'
844
848
 
845
849
 
846
850
# Initialize some variables set by options.
1381
1385
  # Omit some internal or obsolete options to make the list less imposing.
1382
1386
  # This message is too long to be a string in the A/UX 3.1 sh.
1383
1387
  cat <<_ACEOF
1384
 
\`configure' configures remote-login-service 0.0.1 to adapt to many kinds of systems.
 
1388
\`configure' configures remote-login-service 0.2.0 to adapt to many kinds of systems.
1385
1389
 
1386
1390
Usage: $0 [OPTION]... [VAR=VALUE]...
1387
1391
 
1452
1456
 
1453
1457
if test -n "$ac_init_help"; then
1454
1458
  case $ac_init_help in
1455
 
     short | recursive ) echo "Configuration of remote-login-service 0.0.1:";;
 
1459
     short | recursive ) echo "Configuration of remote-login-service 0.2.0:";;
1456
1460
   esac
1457
1461
  cat <<\_ACEOF
1458
1462
 
1500
1504
              C compiler flags for SERVICE, overriding pkg-config
1501
1505
  SERVICE_LIBS
1502
1506
              linker flags for SERVICE, overriding pkg-config
 
1507
  TEST_CFLAGS C compiler flags for TEST, overriding pkg-config
 
1508
  TEST_LIBS   linker flags for TEST, overriding pkg-config
1503
1509
 
1504
1510
Use these variables to override the choices made by `configure' or to help
1505
1511
it to find libraries and programs with nonstandard names/locations.
1567
1573
test -n "$ac_init_help" && exit $ac_status
1568
1574
if $ac_init_version; then
1569
1575
  cat <<\_ACEOF
1570
 
remote-login-service configure 0.0.1
 
1576
remote-login-service configure 0.2.0
1571
1577
generated by GNU Autoconf 2.69
1572
1578
 
1573
1579
Copyright (C) 2012 Free Software Foundation, Inc.
1932
1938
This file contains any messages produced by compilers while
1933
1939
running configure, to aid debugging if configure makes a mistake.
1934
1940
 
1935
 
It was created by remote-login-service $as_me 0.0.1, which was
 
1941
It was created by remote-login-service $as_me 0.2.0, which was
1936
1942
generated by GNU Autoconf 2.69.  Invocation command line was
1937
1943
 
1938
1944
  $ $0 $@
2749
2755
 
2750
2756
# Define the identity of the package.
2751
2757
 PACKAGE='remote-login-service'
2752
 
 VERSION='0.0.1'
 
2758
 VERSION='0.2.0'
2753
2759
 
2754
2760
 
2755
2761
cat >>confdefs.h <<_ACEOF
7810
7816
$RM -r conftest*
7811
7817
 
7812
7818
 
7813
 
## CAVEAT EMPTOR:
7814
 
## There is no encapsulation within the following macros, do not change
7815
 
## the running order or otherwise move them around unless you know exactly
7816
 
## what you are doing...
7817
7819
if test -n "$compiler"; then
7818
7820
 
7819
7821
lt_prog_compiler_no_builtin_flag=
12833
12835
 
12834
12836
ac_config_headers="$ac_config_headers config.h"
12835
12837
 
12836
 
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in"
 
12838
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in tests/Makefile"
12837
12839
 
12838
12840
 
12839
12841
 
12965
12967
    pkg_cv_SERVICE_CFLAGS="$SERVICE_CFLAGS"
12966
12968
 elif test -n "$PKG_CONFIG"; then
12967
12969
    if test -n "$PKG_CONFIG" && \
12968
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0\""; } >&5
12969
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0") 2>&5
 
12970
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
 
12971
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
12970
12972
  ac_status=$?
12971
12973
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12972
12974
  test $ac_status = 0; }; then
12973
 
  pkg_cv_SERVICE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0" 2>/dev/null`
 
12975
  pkg_cv_SERVICE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
12974
12976
                      test "x$?" != "x0" && pkg_failed=yes
12975
12977
else
12976
12978
  pkg_failed=yes
12982
12984
    pkg_cv_SERVICE_LIBS="$SERVICE_LIBS"
12983
12985
 elif test -n "$PKG_CONFIG"; then
12984
12986
    if test -n "$PKG_CONFIG" && \
12985
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0\""; } >&5
12986
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0") 2>&5
 
12987
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
 
12988
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
12987
12989
  ac_status=$?
12988
12990
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12989
12991
  test $ac_status = 0; }; then
12990
 
  pkg_cv_SERVICE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>/dev/null`
 
12992
  pkg_cv_SERVICE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
12991
12993
                      test "x$?" != "x0" && pkg_failed=yes
12992
12994
else
12993
12995
  pkg_failed=yes
13008
13010
        _pkg_short_errors_supported=no
13009
13011
fi
13010
13012
        if test $_pkg_short_errors_supported = yes; then
13011
 
                SERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>&1`
 
13013
                SERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
13012
13014
        else
13013
 
                SERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>&1`
 
13015
                SERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
13014
13016
        fi
13015
13017
        # Put the nasty error message in config.log where it belongs
13016
13018
        echo "$SERVICE_PKG_ERRORS" >&5
13017
13019
 
13018
 
        as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0) were not met:
 
13020
        as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0) were not met:
13019
13021
 
13020
13022
$SERVICE_PKG_ERRORS
13021
13023
 
13048
13050
 
13049
13051
fi
13050
13052
 
 
13053
pkg_failed=no
 
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TEST" >&5
 
13055
$as_echo_n "checking for TEST... " >&6; }
 
13056
 
 
13057
if test -n "$TEST_CFLAGS"; then
 
13058
    pkg_cv_TEST_CFLAGS="$TEST_CFLAGS"
 
13059
 elif test -n "$PKG_CONFIG"; then
 
13060
    if test -n "$PKG_CONFIG" && \
 
13061
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbustest-1\""; } >&5
 
13062
  ($PKG_CONFIG --exists --print-errors "dbustest-1") 2>&5
 
13063
  ac_status=$?
 
13064
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13065
  test $ac_status = 0; }; then
 
13066
  pkg_cv_TEST_CFLAGS=`$PKG_CONFIG --cflags "dbustest-1" 2>/dev/null`
 
13067
                      test "x$?" != "x0" && pkg_failed=yes
 
13068
else
 
13069
  pkg_failed=yes
 
13070
fi
 
13071
 else
 
13072
    pkg_failed=untried
 
13073
fi
 
13074
if test -n "$TEST_LIBS"; then
 
13075
    pkg_cv_TEST_LIBS="$TEST_LIBS"
 
13076
 elif test -n "$PKG_CONFIG"; then
 
13077
    if test -n "$PKG_CONFIG" && \
 
13078
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbustest-1\""; } >&5
 
13079
  ($PKG_CONFIG --exists --print-errors "dbustest-1") 2>&5
 
13080
  ac_status=$?
 
13081
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13082
  test $ac_status = 0; }; then
 
13083
  pkg_cv_TEST_LIBS=`$PKG_CONFIG --libs "dbustest-1" 2>/dev/null`
 
13084
                      test "x$?" != "x0" && pkg_failed=yes
 
13085
else
 
13086
  pkg_failed=yes
 
13087
fi
 
13088
 else
 
13089
    pkg_failed=untried
 
13090
fi
 
13091
 
 
13092
 
 
13093
 
 
13094
if test $pkg_failed = yes; then
 
13095
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13096
$as_echo "no" >&6; }
 
13097
 
 
13098
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13099
        _pkg_short_errors_supported=yes
 
13100
else
 
13101
        _pkg_short_errors_supported=no
 
13102
fi
 
13103
        if test $_pkg_short_errors_supported = yes; then
 
13104
                TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbustest-1" 2>&1`
 
13105
        else
 
13106
                TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbustest-1" 2>&1`
 
13107
        fi
 
13108
        # Put the nasty error message in config.log where it belongs
 
13109
        echo "$TEST_PKG_ERRORS" >&5
 
13110
 
 
13111
        as_fn_error $? "Package requirements (dbustest-1) were not met:
 
13112
 
 
13113
$TEST_PKG_ERRORS
 
13114
 
 
13115
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13116
installed software in a non-standard prefix.
 
13117
 
 
13118
Alternatively, you may set the environment variables TEST_CFLAGS
 
13119
and TEST_LIBS to avoid the need to call pkg-config.
 
13120
See the pkg-config man page for more details." "$LINENO" 5
 
13121
elif test $pkg_failed = untried; then
 
13122
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13123
$as_echo "no" >&6; }
 
13124
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13126
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13127
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13128
path to pkg-config.
 
13129
 
 
13130
Alternatively, you may set the environment variables TEST_CFLAGS
 
13131
and TEST_LIBS to avoid the need to call pkg-config.
 
13132
See the pkg-config man page for more details.
 
13133
 
 
13134
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13135
See \`config.log' for more details" "$LINENO" 5; }
 
13136
else
 
13137
        TEST_CFLAGS=$pkg_cv_TEST_CFLAGS
 
13138
        TEST_LIBS=$pkg_cv_TEST_LIBS
 
13139
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13140
$as_echo "yes" >&6; }
 
13141
 
 
13142
fi
 
13143
 
13051
13144
###########################
13052
13145
# Local Install
13053
13146
###########################
13887
13980
# report actual input values of CONFIG_FILES etc. instead of their
13888
13981
# values after options handling.
13889
13982
ac_log="
13890
 
This file was extended by remote-login-service $as_me 0.0.1, which was
 
13983
This file was extended by remote-login-service $as_me 0.2.0, which was
13891
13984
generated by GNU Autoconf 2.69.  Invocation command line was
13892
13985
 
13893
13986
  CONFIG_FILES    = $CONFIG_FILES
13953
14046
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13954
14047
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13955
14048
ac_cs_version="\\
13956
 
remote-login-service config.status 0.0.1
 
14049
remote-login-service config.status 0.2.0
13957
14050
configured by $0, generated by GNU Autoconf 2.69,
13958
14051
  with options \\"\$ac_cs_config\\"
13959
14052
 
14368
14461
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14369
14462
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14370
14463
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
14464
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14371
14465
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14372
14466
 
14373
14467
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;