1937
1937
echo $ECHO_N "checking for IPODDEVICE... $ECHO_C" >&6
1939
1939
if test -n "$PKG_CONFIG"; then
1940
if test -n "$IPODDEVICE_CFLAGS"; then
1941
pkg_cv_IPODDEVICE_CFLAGS="$IPODDEVICE_CFLAGS"
1940
1943
if test -n "$PKG_CONFIG" && \
1941
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ipoddevice >= 0.3.5 gtk-sharp-2.0\"") >&5
1942
($PKG_CONFIG --exists --print-errors "ipoddevice >= 0.3.5 gtk-sharp-2.0") 2>&5
1944
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ipoddevice >= 0.5.0 gtk-sharp-2.0\"") >&5
1945
($PKG_CONFIG --exists --print-errors "ipoddevice >= 0.5.0 gtk-sharp-2.0") 2>&5
1944
1947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945
1948
(exit $ac_status); }; then
1946
pkg_cv_IPODDEVICE_CFLAGS=`$PKG_CONFIG --cflags "ipoddevice >= 0.3.5 gtk-sharp-2.0" 2>/dev/null`
1949
pkg_cv_IPODDEVICE_CFLAGS=`$PKG_CONFIG --cflags "ipoddevice >= 0.5.0 gtk-sharp-2.0" 2>/dev/null`
1951
1955
pkg_failed=untried
1953
1957
if test -n "$PKG_CONFIG"; then
1958
if test -n "$IPODDEVICE_LIBS"; then
1959
pkg_cv_IPODDEVICE_LIBS="$IPODDEVICE_LIBS"
1954
1961
if test -n "$PKG_CONFIG" && \
1955
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ipoddevice >= 0.3.5 gtk-sharp-2.0\"") >&5
1956
($PKG_CONFIG --exists --print-errors "ipoddevice >= 0.3.5 gtk-sharp-2.0") 2>&5
1962
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ipoddevice >= 0.5.0 gtk-sharp-2.0\"") >&5
1963
($PKG_CONFIG --exists --print-errors "ipoddevice >= 0.5.0 gtk-sharp-2.0") 2>&5
1958
1965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959
1966
(exit $ac_status); }; then
1960
pkg_cv_IPODDEVICE_LIBS=`$PKG_CONFIG --libs "ipoddevice >= 0.3.5 gtk-sharp-2.0" 2>/dev/null`
1967
pkg_cv_IPODDEVICE_LIBS=`$PKG_CONFIG --libs "ipoddevice >= 0.5.0 gtk-sharp-2.0" 2>/dev/null`
1965
1973
pkg_failed=untried
1968
1978
if test $pkg_failed = yes; then
1969
IPODDEVICE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ipoddevice >= 0.3.5 gtk-sharp-2.0"`
1980
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1981
_pkg_short_errors_supported=yes
1983
_pkg_short_errors_supported=no
1985
if test $_pkg_short_errors_supported = yes; then
1986
IPODDEVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ipoddevice >= 0.5.0 gtk-sharp-2.0"`
1988
IPODDEVICE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ipoddevice >= 0.5.0 gtk-sharp-2.0"`
1970
1990
# Put the nasty error message in config.log where it belongs
1971
echo "$IPODDEVICE_PKG_ERRORS" 1>&5
1973
{ { echo "$as_me:$LINENO: error: Package requirements (ipoddevice >= 0.3.5 gtk-sharp-2.0) were not met.
1974
Consider adjusting the PKG_CONFIG_PATH environment variable if you
1975
installed software in a non-standard prefix.
1977
Alternatively you may set the IPODDEVICE_CFLAGS and IPODDEVICE_LIBS environment variables
1978
to avoid the need to call pkg-config. See the pkg-config man page for
1980
echo "$as_me: error: Package requirements (ipoddevice >= 0.3.5 gtk-sharp-2.0) were not met.
1981
Consider adjusting the PKG_CONFIG_PATH environment variable if you
1982
installed software in a non-standard prefix.
1984
Alternatively you may set the IPODDEVICE_CFLAGS and IPODDEVICE_LIBS environment variables
1985
to avoid the need to call pkg-config. See the pkg-config man page for
1986
more details." >&2;}
1991
echo "$IPODDEVICE_PKG_ERRORS" >&5
1993
{ { echo "$as_me:$LINENO: error: Package requirements (ipoddevice >= 0.5.0 gtk-sharp-2.0) were not met:
1995
$IPODDEVICE_PKG_ERRORS
1997
Consider adjusting the PKG_CONFIG_PATH environment variable if you
1998
installed software in a non-standard prefix.
2000
Alternatively, you may set the environment variables IPODDEVICE_CFLAGS
2001
and IPODDEVICE_LIBS to avoid the need to call pkg-config.
2002
See the pkg-config man page for more details.
2004
echo "$as_me: error: Package requirements (ipoddevice >= 0.5.0 gtk-sharp-2.0) were not met:
2006
$IPODDEVICE_PKG_ERRORS
2008
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2009
installed software in a non-standard prefix.
2011
Alternatively, you may set the environment variables IPODDEVICE_CFLAGS
2012
and IPODDEVICE_LIBS to avoid the need to call pkg-config.
2013
See the pkg-config man page for more details.
1987
2015
{ (exit 1); exit 1; }; }
1988
2016
elif test $pkg_failed = untried; then
1989
2017
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
1990
2018
is in your PATH or set the PKG_CONFIG environment variable to the full
1991
2019
path to pkg-config.
1993
Alternatively you may set the IPODDEVICE_CFLAGS and IPODDEVICE_LIBS environment variables
1994
to avoid the need to call pkg-config. See the pkg-config man page for
2021
Alternatively, you may set the environment variables IPODDEVICE_CFLAGS
2022
and IPODDEVICE_LIBS to avoid the need to call pkg-config.
2023
See the pkg-config man page for more details.
1997
2025
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
1998
2026
See \`config.log' for more details." >&5