12028
# Check whether --with-gtk2 was given.
12029
if test "${with_gtk2+set}" = set; then :
12030
withval=$with_gtk2;
12034
if test "x$with_gtk2" = "xyes"; then :
12037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12038
$as_echo_n "checking for GTK... " >&6; }
12040
if test -n "$GTK_CFLAGS"; then
12041
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12042
elif test -n "$PKG_CONFIG"; then
12043
if test -n "$PKG_CONFIG" && \
12044
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
12045
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
12047
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048
test $ac_status = 0; }; then
12049
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
12050
test "x$?" != "x0" && pkg_failed=yes
12057
if test -n "$GTK_LIBS"; then
12058
pkg_cv_GTK_LIBS="$GTK_LIBS"
12059
elif test -n "$PKG_CONFIG"; then
12060
if test -n "$PKG_CONFIG" && \
12061
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
12062
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
12064
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12065
test $ac_status = 0; }; then
12066
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
12067
test "x$?" != "x0" && pkg_failed=yes
12077
if test $pkg_failed = yes; then
12078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12079
$as_echo "no" >&6; }
12081
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12082
_pkg_short_errors_supported=yes
12084
_pkg_short_errors_supported=no
12086
if test $_pkg_short_errors_supported = yes; then
12087
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1`
12089
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1`
12091
# Put the nasty error message in config.log where it belongs
12092
echo "$GTK_PKG_ERRORS" >&5
12094
as_fn_error $? "Package requirements (gtk+-2.0) were not met:
12098
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12099
installed software in a non-standard prefix.
12101
Alternatively, you may set the environment variables GTK_CFLAGS
12102
and GTK_LIBS to avoid the need to call pkg-config.
12103
See the pkg-config man page for more details." "$LINENO" 5
12104
elif test $pkg_failed = untried; then
12105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106
$as_echo "no" >&6; }
12107
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12108
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12109
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12110
is in your PATH or set the PKG_CONFIG environment variable to the full
12111
path to pkg-config.
12113
Alternatively, you may set the environment variables GTK_CFLAGS
12114
and GTK_LIBS to avoid the need to call pkg-config.
12115
See the pkg-config man page for more details.
12117
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12118
See \`config.log' for more details" "$LINENO" 5; }
12120
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12121
GTK_LIBS=$pkg_cv_GTK_LIBS
12122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12123
$as_echo "yes" >&6; }
12128
12035
pkg_failed=no
12129
12036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12130
12037
$as_echo_n "checking for GTK... " >&6; }
12667
12565
pkg_cv_LIBIDO_CFLAGS="$LIBIDO_CFLAGS"
12668
12566
elif test -n "$PKG_CONFIG"; then
12669
12567
if test -n "$PKG_CONFIG" && \
12670
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$IDO_PKG\""; } >&5
12671
($PKG_CONFIG --exists --print-errors "$IDO_PKG") 2>&5
12568
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$IDO_PKG >= 13.10\""; } >&5
12569
($PKG_CONFIG --exists --print-errors "$IDO_PKG >= 13.10") 2>&5
12673
12571
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12674
12572
test $ac_status = 0; }; then
12675
pkg_cv_LIBIDO_CFLAGS=`$PKG_CONFIG --cflags "$IDO_PKG" 2>/dev/null`
12573
pkg_cv_LIBIDO_CFLAGS=`$PKG_CONFIG --cflags "$IDO_PKG >= 13.10" 2>/dev/null`
12676
12574
test "x$?" != "x0" && pkg_failed=yes
12678
12576
pkg_failed=yes
12684
12582
pkg_cv_LIBIDO_LIBS="$LIBIDO_LIBS"
12685
12583
elif test -n "$PKG_CONFIG"; then
12686
12584
if test -n "$PKG_CONFIG" && \
12687
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$IDO_PKG\""; } >&5
12688
($PKG_CONFIG --exists --print-errors "$IDO_PKG") 2>&5
12585
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$IDO_PKG >= 13.10\""; } >&5
12586
($PKG_CONFIG --exists --print-errors "$IDO_PKG >= 13.10") 2>&5
12690
12588
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12691
12589
test $ac_status = 0; }; then
12692
pkg_cv_LIBIDO_LIBS=`$PKG_CONFIG --libs "$IDO_PKG" 2>/dev/null`
12590
pkg_cv_LIBIDO_LIBS=`$PKG_CONFIG --libs "$IDO_PKG >= 13.10" 2>/dev/null`
12693
12591
test "x$?" != "x0" && pkg_failed=yes
12695
12593
pkg_failed=yes
12710
12608
_pkg_short_errors_supported=no
12712
12610
if test $_pkg_short_errors_supported = yes; then
12713
LIBIDO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$IDO_PKG" 2>&1`
12611
LIBIDO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$IDO_PKG >= 13.10" 2>&1`
12715
LIBIDO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$IDO_PKG" 2>&1`
12613
LIBIDO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$IDO_PKG >= 13.10" 2>&1`
12717
12615
# Put the nasty error message in config.log where it belongs
12718
12616
echo "$LIBIDO_PKG_ERRORS" >&5
12720
as_fn_error $? "Package requirements ($IDO_PKG) were not met:
12618
as_fn_error $? "Package requirements ($IDO_PKG >= 13.10) were not met:
12722
12620
$LIBIDO_PKG_ERRORS
12690
# Check whether --with-libxklavier was given.
12691
if test "${with_libxklavier+set}" = set; then :
12692
withval=$with_libxklavier;
12696
if test "x$with_libxklavier" = "xyes"; then :
12700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXKLAVIER" >&5
12701
$as_echo_n "checking for LIBXKLAVIER... " >&6; }
12703
if test -n "$LIBXKLAVIER_CFLAGS"; then
12704
pkg_cv_LIBXKLAVIER_CFLAGS="$LIBXKLAVIER_CFLAGS"
12705
elif test -n "$PKG_CONFIG"; then
12706
if test -n "$PKG_CONFIG" && \
12707
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxklavier\""; } >&5
12708
($PKG_CONFIG --exists --print-errors "libxklavier") 2>&5
12710
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12711
test $ac_status = 0; }; then
12712
pkg_cv_LIBXKLAVIER_CFLAGS=`$PKG_CONFIG --cflags "libxklavier" 2>/dev/null`
12713
test "x$?" != "x0" && pkg_failed=yes
12720
if test -n "$LIBXKLAVIER_LIBS"; then
12721
pkg_cv_LIBXKLAVIER_LIBS="$LIBXKLAVIER_LIBS"
12722
elif test -n "$PKG_CONFIG"; then
12723
if test -n "$PKG_CONFIG" && \
12724
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxklavier\""; } >&5
12725
($PKG_CONFIG --exists --print-errors "libxklavier") 2>&5
12727
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12728
test $ac_status = 0; }; then
12729
pkg_cv_LIBXKLAVIER_LIBS=`$PKG_CONFIG --libs "libxklavier" 2>/dev/null`
12730
test "x$?" != "x0" && pkg_failed=yes
12740
if test $pkg_failed = yes; then
12741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742
$as_echo "no" >&6; }
12744
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12745
_pkg_short_errors_supported=yes
12747
_pkg_short_errors_supported=no
12749
if test $_pkg_short_errors_supported = yes; then
12750
LIBXKLAVIER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxklavier" 2>&1`
12752
LIBXKLAVIER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxklavier" 2>&1`
12754
# Put the nasty error message in config.log where it belongs
12755
echo "$LIBXKLAVIER_PKG_ERRORS" >&5
12757
as_fn_error $? "Package requirements (libxklavier) were not met:
12759
$LIBXKLAVIER_PKG_ERRORS
12761
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12762
installed software in a non-standard prefix.
12764
Alternatively, you may set the environment variables LIBXKLAVIER_CFLAGS
12765
and LIBXKLAVIER_LIBS to avoid the need to call pkg-config.
12766
See the pkg-config man page for more details." "$LINENO" 5
12767
elif test $pkg_failed = untried; then
12768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769
$as_echo "no" >&6; }
12770
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12772
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12773
is in your PATH or set the PKG_CONFIG environment variable to the full
12774
path to pkg-config.
12776
Alternatively, you may set the environment variables LIBXKLAVIER_CFLAGS
12777
and LIBXKLAVIER_LIBS to avoid the need to call pkg-config.
12778
See the pkg-config man page for more details.
12780
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12781
See \`config.log' for more details" "$LINENO" 5; }
12783
LIBXKLAVIER_CFLAGS=$pkg_cv_LIBXKLAVIER_CFLAGS
12784
LIBXKLAVIER_LIBS=$pkg_cv_LIBXKLAVIER_LIBS
12785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12786
$as_echo "yes" >&6; }
12790
$as_echo "#define HAVE_LIBXKLAVIER 1" >>confdefs.h
12793
12797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12794
12798
$as_echo_n "checking whether NLS is requested... " >&6; }