7564
{ echo "$as_me:$LINENO: checking for GTHREAD" >&5
7565
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
7567
if test -n "$PKG_CONFIG"; then
7568
if test -n "$GTHREAD_CFLAGS"; then
7569
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
7571
if test -n "$PKG_CONFIG" && \
7572
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.16\"") >&5
7573
($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.16") 2>&5
7575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576
(exit $ac_status); }; then
7577
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.16" 2>/dev/null`
7585
if test -n "$PKG_CONFIG"; then
7586
if test -n "$GTHREAD_LIBS"; then
7587
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
7589
if test -n "$PKG_CONFIG" && \
7590
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.16\"") >&5
7591
($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.16") 2>&5
7593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594
(exit $ac_status); }; then
7595
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.16" 2>/dev/null`
7606
if test $pkg_failed = yes; then
7608
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7609
_pkg_short_errors_supported=yes
7611
_pkg_short_errors_supported=no
7613
if test $_pkg_short_errors_supported = yes; then
7614
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.16"`
7616
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.16"`
7618
# Put the nasty error message in config.log where it belongs
7619
echo "$GTHREAD_PKG_ERRORS" >&5
7621
{ { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0 >= 2.16) were not met:
7625
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7626
installed software in a non-standard prefix.
7628
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7629
and GTHREAD_LIBS to avoid the need to call pkg-config.
7630
See the pkg-config man page for more details.
7632
echo "$as_me: error: Package requirements (gthread-2.0 >= 2.16) were not met:
7636
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7637
installed software in a non-standard prefix.
7639
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7640
and GTHREAD_LIBS to avoid the need to call pkg-config.
7641
See the pkg-config man page for more details.
7643
{ (exit 1); exit 1; }; }
7644
elif test $pkg_failed = untried; then
7645
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7646
is in your PATH or set the PKG_CONFIG environment variable to the full
7649
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7650
and GTHREAD_LIBS to avoid the need to call pkg-config.
7651
See the pkg-config man page for more details.
7653
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7654
See \`config.log' for more details." >&5
7655
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7656
is in your PATH or set the PKG_CONFIG environment variable to the full
7659
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7660
and GTHREAD_LIBS to avoid the need to call pkg-config.
7661
See the pkg-config man page for more details.
7663
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7664
See \`config.log' for more details." >&2;}
7665
{ (exit 1); exit 1; }; }
7667
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
7668
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
7669
{ echo "$as_me:$LINENO: result: yes" >&5
7670
echo "${ECHO_T}yes" >&6; }
7671
CPPFLAGS="$CPPFLAGS $GTHREAD_CFLAGS"; LIBS="$LIBS $GTHREAD_LIBS"
7556
7675
{ echo "$as_me:$LINENO: checking for POPPLER" >&5
7557
7676
echo $ECHO_N "checking for POPPLER... $ECHO_C" >&6; }
8460
8579
PKG_CONFIG!$PKG_CONFIG$ac_delim
8461
8580
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
8462
8581
GTK_LIBS!$GTK_LIBS$ac_delim
8582
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
8583
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
8463
8584
POPPLER_CFLAGS!$POPPLER_CFLAGS$ac_delim
8464
8585
POPPLER_LIBS!$POPPLER_LIBS$ac_delim
8465
8586
LTLIBOBJS!$LTLIBOBJS$ac_delim
8468
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
8589
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
8470
8591
elif $ac_last_try; then
8471
8592
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5