10557
10549
#define HAVE_DEBTAGS 1
10563
{ echo "$as_me:$LINENO: checking for LIBTAGCOLL" >&5
10564
echo $ECHO_N "checking for LIBTAGCOLL... $ECHO_C" >&6; }
10566
if test -n "$PKG_CONFIG"; then
10567
if test -n "$LIBTAGCOLL_CFLAGS"; then
10568
pkg_cv_LIBTAGCOLL_CFLAGS="$LIBTAGCOLL_CFLAGS"
10570
if test -n "$PKG_CONFIG" && \
10571
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libtagcoll\"") >&5
10572
($PKG_CONFIG --exists --print-errors "libtagcoll") 2>&5
10574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575
(exit $ac_status); }; then
10576
pkg_cv_LIBTAGCOLL_CFLAGS=`$PKG_CONFIG --cflags "libtagcoll" 2>/dev/null`
10584
if test -n "$PKG_CONFIG"; then
10585
if test -n "$LIBTAGCOLL_LIBS"; then
10586
pkg_cv_LIBTAGCOLL_LIBS="$LIBTAGCOLL_LIBS"
10588
if test -n "$PKG_CONFIG" && \
10589
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libtagcoll\"") >&5
10590
($PKG_CONFIG --exists --print-errors "libtagcoll") 2>&5
10592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593
(exit $ac_status); }; then
10594
pkg_cv_LIBTAGCOLL_LIBS=`$PKG_CONFIG --libs "libtagcoll" 2>/dev/null`
10605
if test $pkg_failed = yes; then
10607
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10608
_pkg_short_errors_supported=yes
10610
_pkg_short_errors_supported=no
10612
if test $_pkg_short_errors_supported = yes; then
10613
LIBTAGCOLL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libtagcoll"`
10615
LIBTAGCOLL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libtagcoll"`
10617
# Put the nasty error message in config.log where it belongs
10618
echo "$LIBTAGCOLL_PKG_ERRORS" >&5
10620
{ { echo "$as_me:$LINENO: error: Package requirements (libtagcoll) were not met:
10622
$LIBTAGCOLL_PKG_ERRORS
10624
Consider adjusting the PKG_CONFIG_PATH environment variable if you
10625
installed software in a non-standard prefix.
10627
Alternatively, you may set the environment variables LIBTAGCOLL_CFLAGS
10628
and LIBTAGCOLL_LIBS to avoid the need to call pkg-config.
10629
See the pkg-config man page for more details.
10631
echo "$as_me: error: Package requirements (libtagcoll) were not met:
10633
$LIBTAGCOLL_PKG_ERRORS
10635
Consider adjusting the PKG_CONFIG_PATH environment variable if you
10636
installed software in a non-standard prefix.
10638
Alternatively, you may set the environment variables LIBTAGCOLL_CFLAGS
10639
and LIBTAGCOLL_LIBS to avoid the need to call pkg-config.
10640
See the pkg-config man page for more details.
10642
{ (exit 1); exit 1; }; }
10643
elif test $pkg_failed = untried; then
10644
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10645
is in your PATH or set the PKG_CONFIG environment variable to the full
10646
path to pkg-config.
10648
Alternatively, you may set the environment variables LIBTAGCOLL_CFLAGS
10649
and LIBTAGCOLL_LIBS to avoid the need to call pkg-config.
10650
See the pkg-config man page for more details.
10652
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10653
See \`config.log' for more details." >&5
10654
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10655
is in your PATH or set the PKG_CONFIG environment variable to the full
10656
path to pkg-config.
10658
Alternatively, you may set the environment variables LIBTAGCOLL_CFLAGS
10659
and LIBTAGCOLL_LIBS to avoid the need to call pkg-config.
10660
See the pkg-config man page for more details.
10662
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10663
See \`config.log' for more details." >&2;}
10664
{ (exit 1); exit 1; }; }
10666
LIBTAGCOLL_CFLAGS=$pkg_cv_LIBTAGCOLL_CFLAGS
10667
LIBTAGCOLL_LIBS=$pkg_cv_LIBTAGCOLL_LIBS
10668
{ echo "$as_me:$LINENO: result: yes" >&5
10669
echo "${ECHO_T}yes" >&6; }