2945
# Check whether --enable-schemas-compile was given.
2946
if test "${enable_schemas_compile+set}" = set; then :
2947
enableval=$enable_schemas_compile; case ${enableval} in
2948
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
2949
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
2950
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
2961
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2962
if test -n "$ac_tool_prefix"; then
2963
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2964
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966
$as_echo_n "checking for $ac_word... " >&6; }
2967
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
2968
$as_echo_n "(cached) " >&6
2972
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979
test -z "$as_dir" && as_dir=.
2980
for ac_exec_ext in '' $ac_executable_extensions; do
2981
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2983
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2994
if test -n "$PKG_CONFIG"; then
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2996
$as_echo "$PKG_CONFIG" >&6; }
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999
$as_echo "no" >&6; }
3004
if test -z "$ac_cv_path_PKG_CONFIG"; then
3005
ac_pt_PKG_CONFIG=$PKG_CONFIG
3006
# Extract the first word of "pkg-config", so it can be a program name with args.
3007
set dummy pkg-config; ac_word=$2
3008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009
$as_echo_n "checking for $ac_word... " >&6; }
3010
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3011
$as_echo_n "(cached) " >&6
3013
case $ac_pt_PKG_CONFIG in
3015
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022
test -z "$as_dir" && as_dir=.
3023
for ac_exec_ext in '' $ac_executable_extensions; do
3024
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3026
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3037
if test -n "$ac_pt_PKG_CONFIG"; then
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3039
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042
$as_echo "no" >&6; }
3045
if test "x$ac_pt_PKG_CONFIG" = x; then
3048
case $cross_compiling:$ac_tool_warned in
3050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3051
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3052
ac_tool_warned=yes ;;
3054
PKG_CONFIG=$ac_pt_PKG_CONFIG
3057
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3061
if test -n "$PKG_CONFIG"; then
3062
_pkg_min_version=0.16
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3064
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3065
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3067
$as_echo "yes" >&6; }
3069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070
$as_echo "no" >&6; }
3074
gsettingsschemadir=${datadir}/glib-2.0/schemas
3076
if test x$cross_compiling != xyes; then
3077
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
3079
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
3080
set dummy glib-compile-schemas; ac_word=$2
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082
$as_echo_n "checking for $ac_word... " >&6; }
3083
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
3084
$as_echo_n "(cached) " >&6
3086
case $GLIB_COMPILE_SCHEMAS in
3088
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
3091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095
test -z "$as_dir" && as_dir=.
3096
for ac_exec_ext in '' $ac_executable_extensions; do
3097
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
3099
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
3110
if test -n "$GLIB_COMPILE_SCHEMAS"; then
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
3112
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115
$as_echo "no" >&6; }
3121
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
3122
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
3128
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
3130
mostlyclean-am: clean-gsettings-schemas
3132
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
3134
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
3135
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
3137
all-am: $(gsettings_SCHEMAS:.xml=.valid)
3138
uninstall-am: uninstall-gsettings-schemas
3139
install-data-am: install-gsettings-schemas
3141
.SECONDARY: $(gsettings_SCHEMAS)
3143
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
3145
if test -n "$^"; then \
3146
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
3147
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
3148
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
3151
uninstall-gsettings-schemas:
3152
@$(NORMAL_UNINSTALL)
3153
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
3154
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
3155
test -n "$$files" || exit 0; \
3156
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
3157
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
3158
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
3160
clean-gsettings-schemas:
3161
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
3163
ifdef gsettings_ENUM_NAMESPACE
3164
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
3165
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
3176
2934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3177
2935
$as_echo_n "checking whether NLS is requested... " >&6; }
3178
2936
# Check whether --enable-nls was given.
12208
11966
###########################
12210
11968
GTK_REQUIRED_VERSION=2.12
12211
GTK3_REQUIRED_VERSION=3.0
12212
INDICATOR_REQUIRED_VERSION=0.3.90
11969
INDICATOR_REQUIRED_VERSION=0.3.0
12213
11970
GWIBBER_REQUIRED_VERSION=0.0.7
12214
11971
DBUSMENUGLIB_REQUIRED_VERSION=0.3.95
12215
11972
DBUSMENUGTK_REQUIRED_VERSION=0.3.95
12216
11973
TELEPATHYGLIB_REQUIRED_VERSION=0.9.0
12217
GLIB_REQUIRED_VERSION=2.26
11974
GCONF_REQUIRED_VERSION=2.0.0
12218
11975
INDICATOR_DISPLAY_OBJECTS=0.1
12219
11976
GIO_UNIX_REQUIRED_VERSION=2.22
11984
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11985
if test -n "$ac_tool_prefix"; then
11986
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11987
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989
$as_echo_n "checking for $ac_word... " >&6; }
11990
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11991
$as_echo_n "(cached) " >&6
11993
case $PKG_CONFIG in
11995
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11999
for as_dir in $PATH
12002
test -z "$as_dir" && as_dir=.
12003
for ac_exec_ext in '' $ac_executable_extensions; do
12004
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12005
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12006
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12016
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12017
if test -n "$PKG_CONFIG"; then
12018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12019
$as_echo "$PKG_CONFIG" >&6; }
12021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022
$as_echo "no" >&6; }
12027
if test -z "$ac_cv_path_PKG_CONFIG"; then
12028
ac_pt_PKG_CONFIG=$PKG_CONFIG
12029
# Extract the first word of "pkg-config", so it can be a program name with args.
12030
set dummy pkg-config; ac_word=$2
12031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12032
$as_echo_n "checking for $ac_word... " >&6; }
12033
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12034
$as_echo_n "(cached) " >&6
12036
case $ac_pt_PKG_CONFIG in
12038
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042
for as_dir in $PATH
12045
test -z "$as_dir" && as_dir=.
12046
for ac_exec_ext in '' $ac_executable_extensions; do
12047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12048
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12059
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12060
if test -n "$ac_pt_PKG_CONFIG"; then
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12062
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065
$as_echo "no" >&6; }
12068
if test "x$ac_pt_PKG_CONFIG" = x; then
12071
case $cross_compiling:$ac_tool_warned in
12073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12075
ac_tool_warned=yes ;;
12077
PKG_CONFIG=$ac_pt_PKG_CONFIG
12080
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12084
if test -n "$PKG_CONFIG"; then
12085
_pkg_min_version=0.9.0
12086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12087
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12088
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12090
$as_echo "yes" >&6; }
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12093
$as_echo "no" >&6; }
12099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
12100
$as_echo_n "checking for APPLET... " >&6; }
12102
if test -n "$APPLET_CFLAGS"; then
12103
pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
12104
elif test -n "$PKG_CONFIG"; then
12105
if test -n "$PKG_CONFIG" && \
12106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
12107
indicator >= \$INDICATOR_REQUIRED_VERSION
12108
libido-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12110
dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
12111
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12112
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12113
indicator >= $INDICATOR_REQUIRED_VERSION
12114
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12116
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12117
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12119
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12120
test $ac_status = 0; }; then
12121
pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12122
indicator >= $INDICATOR_REQUIRED_VERSION
12123
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12125
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12126
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12133
if test -n "$APPLET_LIBS"; then
12134
pkg_cv_APPLET_LIBS="$APPLET_LIBS"
12135
elif test -n "$PKG_CONFIG"; then
12136
if test -n "$PKG_CONFIG" && \
12137
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
12138
indicator >= \$INDICATOR_REQUIRED_VERSION
12139
libido-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12141
dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
12142
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12143
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12144
indicator >= $INDICATOR_REQUIRED_VERSION
12145
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12147
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12148
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12150
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12151
test $ac_status = 0; }; then
12152
pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12153
indicator >= $INDICATOR_REQUIRED_VERSION
12154
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12156
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12157
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12167
if test $pkg_failed = yes; then
12168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12169
$as_echo "no" >&6; }
12171
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12172
_pkg_short_errors_supported=yes
12174
_pkg_short_errors_supported=no
12176
if test $_pkg_short_errors_supported = yes; then
12177
APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12178
indicator >= $INDICATOR_REQUIRED_VERSION
12179
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12181
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12182
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12184
APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12185
indicator >= $INDICATOR_REQUIRED_VERSION
12186
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12188
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12189
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12191
# Put the nasty error message in config.log where it belongs
12192
echo "$APPLET_PKG_ERRORS" >&5
12194
as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
12195
indicator >= $INDICATOR_REQUIRED_VERSION
12196
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12198
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
12199
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
12203
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12204
installed software in a non-standard prefix.
12206
Alternatively, you may set the environment variables APPLET_CFLAGS
12207
and APPLET_LIBS to avoid the need to call pkg-config.
12208
See the pkg-config man page for more details." "$LINENO" 5
12209
elif test $pkg_failed = untried; then
12210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211
$as_echo "no" >&6; }
12212
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12213
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12214
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12215
is in your PATH or set the PKG_CONFIG environment variable to the full
12216
path to pkg-config.
12218
Alternatively, you may set the environment variables APPLET_CFLAGS
12219
and APPLET_LIBS to avoid the need to call pkg-config.
12220
See the pkg-config man page for more details.
12222
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12223
See \`config.log' for more details" "$LINENO" 5 ; }
12225
APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
12226
APPLET_LIBS=$pkg_cv_APPLET_LIBS
12227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12228
$as_echo "yes" >&6; }
12222
12232
pkg_failed=no
12223
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MESERVICE" >&5
12224
12234
$as_echo_n "checking for MESERVICE... " >&6; }
12368
# Check whether --with-gtk was given.
12369
if test "${with_gtk+set}" = set; then :
12376
if test "x$with_gtk" = x3; then :
12379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
12380
$as_echo_n "checking for APPLET... " >&6; }
12382
if test -n "$APPLET_CFLAGS"; then
12383
pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
12384
elif test -n "$PKG_CONFIG"; then
12385
if test -n "$PKG_CONFIG" && \
12386
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
12387
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12388
libido3-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12389
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12390
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12391
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12392
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12393
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12395
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396
test $ac_status = 0; }; then
12397
pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12398
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12399
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12400
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12407
if test -n "$APPLET_LIBS"; then
12408
pkg_cv_APPLET_LIBS="$APPLET_LIBS"
12409
elif test -n "$PKG_CONFIG"; then
12410
if test -n "$PKG_CONFIG" && \
12411
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
12412
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12413
libido3-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12414
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12415
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12416
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12417
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12418
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12421
test $ac_status = 0; }; then
12422
pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12423
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12424
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12425
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12435
if test $pkg_failed = yes; then
12436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437
$as_echo "no" >&6; }
12439
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12440
_pkg_short_errors_supported=yes
12442
_pkg_short_errors_supported=no
12444
if test $_pkg_short_errors_supported = yes; then
12445
APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12446
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12447
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12448
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12450
APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12451
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12452
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12453
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12455
# Put the nasty error message in config.log where it belongs
12456
echo "$APPLET_PKG_ERRORS" >&5
12458
as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK3_REQUIRED_VERSION
12459
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12460
libido3-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12461
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
12465
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12466
installed software in a non-standard prefix.
12468
Alternatively, you may set the environment variables APPLET_CFLAGS
12469
and APPLET_LIBS to avoid the need to call pkg-config.
12470
See the pkg-config man page for more details." "$LINENO" 5
12471
elif test $pkg_failed = untried; then
12472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473
$as_echo "no" >&6; }
12474
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12475
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12476
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12477
is in your PATH or set the PKG_CONFIG environment variable to the full
12478
path to pkg-config.
12480
Alternatively, you may set the environment variables APPLET_CFLAGS
12481
and APPLET_LIBS to avoid the need to call pkg-config.
12482
See the pkg-config man page for more details.
12484
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12485
See \`config.log' for more details" "$LINENO" 5 ; }
12487
APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
12488
APPLET_LIBS=$pkg_cv_APPLET_LIBS
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490
$as_echo "yes" >&6; }
12494
elif test "x$with_gtk" = x2; then :
12497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
12498
$as_echo_n "checking for APPLET... " >&6; }
12500
if test -n "$APPLET_CFLAGS"; then
12501
pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
12502
elif test -n "$PKG_CONFIG"; then
12503
if test -n "$PKG_CONFIG" && \
12504
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
12505
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
12506
libido-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12507
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12508
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12509
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12510
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12511
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12513
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12514
test $ac_status = 0; }; then
12515
pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12516
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12517
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12518
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12525
if test -n "$APPLET_LIBS"; then
12526
pkg_cv_APPLET_LIBS="$APPLET_LIBS"
12527
elif test -n "$PKG_CONFIG"; then
12528
if test -n "$PKG_CONFIG" && \
12529
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
12530
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
12531
libido-0.1 >= \$INDICATOR_DISPLAY_OBJECTS
12532
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
12533
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12534
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12535
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12536
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
12538
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12539
test $ac_status = 0; }; then
12540
pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12541
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12542
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12543
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
12553
if test $pkg_failed = yes; then
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555
$as_echo "no" >&6; }
12557
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12558
_pkg_short_errors_supported=yes
12560
_pkg_short_errors_supported=no
12562
if test $_pkg_short_errors_supported = yes; then
12563
APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12564
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12565
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12566
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12568
APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
12569
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12570
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12571
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
12573
# Put the nasty error message in config.log where it belongs
12574
echo "$APPLET_PKG_ERRORS" >&5
12576
as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
12577
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
12578
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS
12579
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
12583
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12584
installed software in a non-standard prefix.
12586
Alternatively, you may set the environment variables APPLET_CFLAGS
12587
and APPLET_LIBS to avoid the need to call pkg-config.
12588
See the pkg-config man page for more details." "$LINENO" 5
12589
elif test $pkg_failed = untried; then
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591
$as_echo "no" >&6; }
12592
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12593
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12594
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12595
is in your PATH or set the PKG_CONFIG environment variable to the full
12596
path to pkg-config.
12598
Alternatively, you may set the environment variables APPLET_CFLAGS
12599
and APPLET_LIBS to avoid the need to call pkg-config.
12600
See the pkg-config man page for more details.
12602
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12603
See \`config.log' for more details" "$LINENO" 5 ; }
12605
APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
12606
APPLET_LIBS=$pkg_cv_APPLET_LIBS
12607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12608
$as_echo "yes" >&6; }
12613
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12614
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12615
as_fn_error $? "Value for --with-gtk was neither 2 nor 3
12616
See \`config.log' for more details" "$LINENO" 5 ; }
12622
12366
###########################
12623
12367
# Check to see if we're local
12624
12368
###########################