31822
31849
#PKG_CHECK_MODULES(GTK1, gtk+ >= 1.2.0, use_gtk1="yes",use_gtk1="no")
31826
if test -z "$PKG_CONFIG"; then
31827
# Extract the first word of "pkg-config", so it can be a program name with args.
31828
set dummy pkg-config; ac_word=$2
31829
echo "$as_me:$LINENO: checking for $ac_word" >&5
31830
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31831
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31832
echo $ECHO_N "(cached) $ECHO_C" >&6
31834
case $PKG_CONFIG in
31836
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31840
for as_dir in $PATH
31843
test -z "$as_dir" && as_dir=.
31844
for ac_exec_ext in '' $ac_executable_extensions; do
31845
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31846
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31847
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31853
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31857
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31859
if test -n "$PKG_CONFIG"; then
31860
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31861
echo "${ECHO_T}$PKG_CONFIG" >&6
31863
echo "$as_me:$LINENO: result: no" >&5
31864
echo "${ECHO_T}no" >&6
31869
if test "$PKG_CONFIG" = "no" ; then
31870
echo "*** The pkg-config script could not be found. Make sure it is"
31871
echo "*** in your path, or set the PKG_CONFIG environment variable"
31872
echo "*** to the full path to pkg-config."
31873
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
31875
PKG_CONFIG_MIN_VERSION=0.9.0
31876
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
31877
echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.2.0" >&5
31878
echo $ECHO_N "checking for gtk+-2.0 >= 2.2.0... $ECHO_C" >&6
31880
if $PKG_CONFIG --exists "gtk+-2.0 >= 2.2.0" ; then
31881
echo "$as_me:$LINENO: result: yes" >&5
31882
echo "${ECHO_T}yes" >&6
31885
echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
31886
echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
31887
GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0"`
31888
echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
31889
echo "${ECHO_T}$GTK2_CFLAGS" >&6
31891
echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
31892
echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
31893
GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0"`
31894
echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
31895
echo "${ECHO_T}$GTK2_LIBS" >&6
31899
## If we have a custom action on failure, don't print errors, but
31900
## do set a variable so people can do so.
31901
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
31908
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
31909
echo "*** See http://www.freedesktop.org/software/pkgconfig"
31913
if test $succeeded = yes; then
31922
if test -z "$PKG_CONFIG"; then
31923
# Extract the first word of "pkg-config", so it can be a program name with args.
31924
set dummy pkg-config; ac_word=$2
31925
echo "$as_me:$LINENO: checking for $ac_word" >&5
31926
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31927
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31928
echo $ECHO_N "(cached) $ECHO_C" >&6
31930
case $PKG_CONFIG in
31932
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31936
for as_dir in $PATH
31939
test -z "$as_dir" && as_dir=.
31940
for ac_exec_ext in '' $ac_executable_extensions; do
31941
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31942
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31943
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31949
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31953
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31955
if test -n "$PKG_CONFIG"; then
31956
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31957
echo "${ECHO_T}$PKG_CONFIG" >&6
31959
echo "$as_me:$LINENO: result: no" >&5
31960
echo "${ECHO_T}no" >&6
31965
if test "$PKG_CONFIG" = "no" ; then
31966
echo "*** The pkg-config script could not be found. Make sure it is"
31967
echo "*** in your path, or set the PKG_CONFIG environment variable"
31968
echo "*** to the full path to pkg-config."
31969
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
31971
PKG_CONFIG_MIN_VERSION=0.9.0
31972
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
31973
echo "$as_me:$LINENO: checking for libbonoboui-2.0 >= 2.4.0" >&5
31974
echo $ECHO_N "checking for libbonoboui-2.0 >= 2.4.0... $ECHO_C" >&6
31976
if $PKG_CONFIG --exists "libbonoboui-2.0 >= 2.4.0" ; then
31977
echo "$as_me:$LINENO: result: yes" >&5
31978
echo "${ECHO_T}yes" >&6
31981
echo "$as_me:$LINENO: checking LIBBONOBOUI_CFLAGS" >&5
31982
echo $ECHO_N "checking LIBBONOBOUI_CFLAGS... $ECHO_C" >&6
31983
LIBBONOBOUI_CFLAGS=`$PKG_CONFIG --cflags "libbonoboui-2.0 >= 2.4.0"`
31984
echo "$as_me:$LINENO: result: $LIBBONOBOUI_CFLAGS" >&5
31985
echo "${ECHO_T}$LIBBONOBOUI_CFLAGS" >&6
31987
echo "$as_me:$LINENO: checking LIBBONOBOUI_LIBS" >&5
31988
echo $ECHO_N "checking LIBBONOBOUI_LIBS... $ECHO_C" >&6
31989
LIBBONOBOUI_LIBS=`$PKG_CONFIG --libs "libbonoboui-2.0 >= 2.4.0"`
31990
echo "$as_me:$LINENO: result: $LIBBONOBOUI_LIBS" >&5
31991
echo "${ECHO_T}$LIBBONOBOUI_LIBS" >&6
31993
LIBBONOBOUI_CFLAGS=""
31994
LIBBONOBOUI_LIBS=""
31995
## If we have a custom action on failure, don't print errors, but
31996
## do set a variable so people can do so.
31997
LIBBONOBOUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbonoboui-2.0 >= 2.4.0"`
32004
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
32005
echo "*** See http://www.freedesktop.org/software/pkgconfig"
32009
if test $succeeded = yes; then
32010
use_libbonoboui="yes"
32012
use_libbonoboui="no"
31852
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31853
if test -n "$ac_tool_prefix"; then
31854
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31855
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31856
echo "$as_me:$LINENO: checking for $ac_word" >&5
31857
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31858
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31859
echo $ECHO_N "(cached) $ECHO_C" >&6
31861
case $PKG_CONFIG in
31863
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31866
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31867
for as_dir in $PATH
31870
test -z "$as_dir" && as_dir=.
31871
for ac_exec_ext in '' $ac_executable_extensions; do
31872
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31873
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31874
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31883
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31885
if test -n "$PKG_CONFIG"; then
31886
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31887
echo "${ECHO_T}$PKG_CONFIG" >&6
31889
echo "$as_me:$LINENO: result: no" >&5
31890
echo "${ECHO_T}no" >&6
31894
if test -z "$ac_cv_path_PKG_CONFIG"; then
31895
ac_pt_PKG_CONFIG=$PKG_CONFIG
31896
# Extract the first word of "pkg-config", so it can be a program name with args.
31897
set dummy pkg-config; ac_word=$2
31898
echo "$as_me:$LINENO: checking for $ac_word" >&5
31899
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31900
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31901
echo $ECHO_N "(cached) $ECHO_C" >&6
31903
case $ac_pt_PKG_CONFIG in
31905
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31909
for as_dir in $PATH
31912
test -z "$as_dir" && as_dir=.
31913
for ac_exec_ext in '' $ac_executable_extensions; do
31914
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31915
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31916
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31925
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31927
if test -n "$ac_pt_PKG_CONFIG"; then
31928
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31929
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31931
echo "$as_me:$LINENO: result: no" >&5
31932
echo "${ECHO_T}no" >&6
31935
PKG_CONFIG=$ac_pt_PKG_CONFIG
31937
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31941
if test -n "$PKG_CONFIG"; then
31942
_pkg_min_version=0.9.0
31943
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31944
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31945
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31946
echo "$as_me:$LINENO: result: yes" >&5
31947
echo "${ECHO_T}yes" >&6
31949
echo "$as_me:$LINENO: result: no" >&5
31950
echo "${ECHO_T}no" >&6
31957
echo "$as_me:$LINENO: checking for GTK2" >&5
31958
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6
31960
if test -n "$PKG_CONFIG"; then
31961
if test -n "$PKG_CONFIG" && \
31962
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
31963
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
31965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966
(exit $ac_status); }; then
31967
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
31974
if test -n "$PKG_CONFIG"; then
31975
if test -n "$PKG_CONFIG" && \
31976
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
31977
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
31979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980
(exit $ac_status); }; then
31981
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
31989
if test $pkg_failed = yes; then
31990
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
31991
# Put the nasty error message in config.log where it belongs
31992
echo "$GTK2_PKG_ERRORS" 1>&5
31995
elif test $pkg_failed = untried; then
31998
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
31999
GTK2_LIBS=$pkg_cv_GTK2_LIBS
32000
echo "$as_me:$LINENO: result: yes" >&5
32001
echo "${ECHO_T}yes" >&6
32006
echo "$as_me:$LINENO: checking for LIBBONOBOUI" >&5
32007
echo $ECHO_N "checking for LIBBONOBOUI... $ECHO_C" >&6
32009
if test -n "$PKG_CONFIG"; then
32010
if test -n "$PKG_CONFIG" && \
32011
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbonoboui-2.0 >= 2.4.0\"") >&5
32012
($PKG_CONFIG --exists --print-errors "libbonoboui-2.0 >= 2.4.0") 2>&5
32014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015
(exit $ac_status); }; then
32016
pkg_cv_LIBBONOBOUI_CFLAGS=`$PKG_CONFIG --cflags "libbonoboui-2.0 >= 2.4.0" 2>/dev/null`
32023
if test -n "$PKG_CONFIG"; then
32024
if test -n "$PKG_CONFIG" && \
32025
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbonoboui-2.0 >= 2.4.0\"") >&5
32026
($PKG_CONFIG --exists --print-errors "libbonoboui-2.0 >= 2.4.0") 2>&5
32028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029
(exit $ac_status); }; then
32030
pkg_cv_LIBBONOBOUI_LIBS=`$PKG_CONFIG --libs "libbonoboui-2.0 >= 2.4.0" 2>/dev/null`
32038
if test $pkg_failed = yes; then
32039
LIBBONOBOUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbonoboui-2.0 >= 2.4.0"`
32040
# Put the nasty error message in config.log where it belongs
32041
echo "$LIBBONOBOUI_PKG_ERRORS" 1>&5
32043
use_libbonoboui="no"
32044
elif test $pkg_failed = untried; then
32045
use_libbonoboui="no"
32047
LIBBONOBOUI_CFLAGS=$pkg_cv_LIBBONOBOUI_CFLAGS
32048
LIBBONOBOUI_LIBS=$pkg_cv_LIBBONOBOUI_LIBS
32049
echo "$as_me:$LINENO: result: yes" >&5
32050
echo "${ECHO_T}yes" >&6
32051
use_libbonoboui="yes"
32016
32054
GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
32017
32055
GTK_LIBPREFIX=`$PKG_CONFIG --variable=libdir gtk+-2.0`