25931
for ac_func in poppler_form_field_text_get_max_len
25933
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25934
echo "$as_me:$LINENO: checking for $ac_func" >&5
25935
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25936
if eval "test \"\${$as_ac_var+set}\" = set"; then
25937
echo $ECHO_N "(cached) $ECHO_C" >&6
25939
cat >conftest.$ac_ext <<_ACEOF
25942
cat confdefs.h >>conftest.$ac_ext
25943
cat >>conftest.$ac_ext <<_ACEOF
25944
/* end confdefs.h. */
25945
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25946
For example, HP-UX 11i <limits.h> declares gettimeofday. */
25947
#define $ac_func innocuous_$ac_func
25949
/* System header to define __stub macros and hopefully few prototypes,
25950
which can conflict with char $ac_func (); below.
25951
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25952
<limits.h> exists even on freestanding compilers. */
25955
# include <limits.h>
25957
# include <assert.h>
25962
/* Override any gcc2 internal prototype to avoid an error. */
25967
/* We use char because int might match the return type of a gcc2
25968
builtin and then its argument prototype would still apply. */
25970
/* The GNU C library defines this for functions which it implements
25971
to always fail with ENOSYS. Some functions are actually named
25972
something starting with __ and the normal name is an alias. */
25973
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25976
char (*f) () = $ac_func;
25985
return f != $ac_func;
25990
rm -f conftest.$ac_objext conftest$ac_exeext
25991
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25992
(eval $ac_link) 2>conftest.er1
25994
grep -v '^ *+' conftest.er1 >conftest.err
25996
cat conftest.err >&5
25997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998
(exit $ac_status); } &&
25999
{ ac_try='test -z "$ac_c_werror_flag"
26000
|| test ! -s conftest.err'
26001
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002
(eval $ac_try) 2>&5
26004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005
(exit $ac_status); }; } &&
26006
{ ac_try='test -s conftest$ac_exeext'
26007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008
(eval $ac_try) 2>&5
26010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011
(exit $ac_status); }; }; then
26012
eval "$as_ac_var=yes"
26014
echo "$as_me: failed program was:" >&5
26015
sed 's/^/| /' conftest.$ac_ext >&5
26017
eval "$as_ac_var=no"
26019
rm -f conftest.err conftest.$ac_objext \
26020
conftest$ac_exeext conftest.$ac_ext
26022
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26023
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26024
if test `eval echo '${'$as_ac_var'}'` = yes; then
26025
cat >>confdefs.h <<_ACEOF
26026
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26033
for ac_func in poppler_form_field_text_is_password
26035
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26036
echo "$as_me:$LINENO: checking for $ac_func" >&5
26037
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26038
if eval "test \"\${$as_ac_var+set}\" = set"; then
26039
echo $ECHO_N "(cached) $ECHO_C" >&6
26041
cat >conftest.$ac_ext <<_ACEOF
26044
cat confdefs.h >>conftest.$ac_ext
26045
cat >>conftest.$ac_ext <<_ACEOF
26046
/* end confdefs.h. */
26047
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26048
For example, HP-UX 11i <limits.h> declares gettimeofday. */
26049
#define $ac_func innocuous_$ac_func
26051
/* System header to define __stub macros and hopefully few prototypes,
26052
which can conflict with char $ac_func (); below.
26053
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26054
<limits.h> exists even on freestanding compilers. */
26057
# include <limits.h>
26059
# include <assert.h>
26064
/* Override any gcc2 internal prototype to avoid an error. */
26069
/* We use char because int might match the return type of a gcc2
26070
builtin and then its argument prototype would still apply. */
26072
/* The GNU C library defines this for functions which it implements
26073
to always fail with ENOSYS. Some functions are actually named
26074
something starting with __ and the normal name is an alias. */
26075
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26078
char (*f) () = $ac_func;
26087
return f != $ac_func;
26092
rm -f conftest.$ac_objext conftest$ac_exeext
26093
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26094
(eval $ac_link) 2>conftest.er1
26096
grep -v '^ *+' conftest.er1 >conftest.err
26098
cat conftest.err >&5
26099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100
(exit $ac_status); } &&
26101
{ ac_try='test -z "$ac_c_werror_flag"
26102
|| test ! -s conftest.err'
26103
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104
(eval $ac_try) 2>&5
26106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107
(exit $ac_status); }; } &&
26108
{ ac_try='test -s conftest$ac_exeext'
26109
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110
(eval $ac_try) 2>&5
26112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113
(exit $ac_status); }; }; then
26114
eval "$as_ac_var=yes"
26116
echo "$as_me: failed program was:" >&5
26117
sed 's/^/| /' conftest.$ac_ext >&5
26119
eval "$as_ac_var=no"
26121
rm -f conftest.err conftest.$ac_objext \
26122
conftest$ac_exeext conftest.$ac_ext
26124
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26125
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26126
if test `eval echo '${'$as_ac_var'}'` = yes; then
26127
cat >>confdefs.h <<_ACEOF
26128
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25918
26134
LIBS=$evince_save_LIBS
26217
echo "$as_me:$LINENO: checking for CAIRO_PS" >&5
26218
echo $ECHO_N "checking for CAIRO_PS... $ECHO_C" >&6
26220
if test -n "$PKG_CONFIG"; then
26221
if test -n "$CAIRO_PS_CFLAGS"; then
26222
pkg_cv_CAIRO_PS_CFLAGS="$CAIRO_PS_CFLAGS"
26224
if test -n "$PKG_CONFIG" && \
26225
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ps\"") >&5
26226
($PKG_CONFIG --exists --print-errors "cairo-ps") 2>&5
26228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229
(exit $ac_status); }; then
26230
pkg_cv_CAIRO_PS_CFLAGS=`$PKG_CONFIG --cflags "cairo-ps" 2>/dev/null`
26238
if test -n "$PKG_CONFIG"; then
26239
if test -n "$CAIRO_PS_LIBS"; then
26240
pkg_cv_CAIRO_PS_LIBS="$CAIRO_PS_LIBS"
26242
if test -n "$PKG_CONFIG" && \
26243
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ps\"") >&5
26244
($PKG_CONFIG --exists --print-errors "cairo-ps") 2>&5
26246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247
(exit $ac_status); }; then
26248
pkg_cv_CAIRO_PS_LIBS=`$PKG_CONFIG --libs "cairo-ps" 2>/dev/null`
26259
if test $pkg_failed = yes; then
26261
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26262
_pkg_short_errors_supported=yes
26264
_pkg_short_errors_supported=no
26266
if test $_pkg_short_errors_supported = yes; then
26267
CAIRO_PS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ps"`
26269
CAIRO_PS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ps"`
26271
# Put the nasty error message in config.log where it belongs
26272
echo "$CAIRO_PS_PKG_ERRORS" >&5
26274
echo "$as_me:$LINENO: result: no" >&5
26275
echo "${ECHO_T}no" >&6
26277
elif test $pkg_failed = untried; then
26280
CAIRO_PS_CFLAGS=$pkg_cv_CAIRO_PS_CFLAGS
26281
CAIRO_PS_LIBS=$pkg_cv_CAIRO_PS_LIBS
26282
echo "$as_me:$LINENO: result: yes" >&5
26283
echo "${ECHO_T}yes" >&6
26284
enable_cairo_ps=yes
26286
if test x$enable_cairo_ps == xyes; then
26288
cat >>confdefs.h <<\_ACEOF
26289
#define HAVE_CAIRO_PS 1
25999
26294
{ echo "$as_me:$LINENO: WARNING: \"PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found\"" >&5
26000
26295
echo "$as_me: WARNING: \"PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found\"" >&2;}
29798
30093
s,@POPPLER_LIBS@,$POPPLER_LIBS,;t t
29799
30094
s,@CAIRO_PDF_CFLAGS@,$CAIRO_PDF_CFLAGS,;t t
29800
30095
s,@CAIRO_PDF_LIBS@,$CAIRO_PDF_LIBS,;t t
30096
s,@CAIRO_PS_CFLAGS@,$CAIRO_PS_CFLAGS,;t t
30097
s,@CAIRO_PS_LIBS@,$CAIRO_PS_LIBS,;t t
29801
30098
s,@ENABLE_PDF_TRUE@,$ENABLE_PDF_TRUE,;t t
29802
30099
s,@ENABLE_PDF_FALSE@,$ENABLE_PDF_FALSE,;t t
29803
30100
s,@ENABLE_PS_TRUE@,$ENABLE_PS_TRUE,;t t