|
Lines 325-338
Link Here
|
| 325 |
# If we have acroread, is it a version which supports -shrink etc.? |
325 |
# If we have acroread, is it a version which supports -shrink etc.? |
| 326 |
if test "x$COM_acroread" = x; then |
326 |
if test "x$COM_acroread" = x; then |
| 327 |
AC_CACHE_CHECK(whether acroread is acroread 4, a2_cv_com_acroread4, |
327 |
AC_CACHE_CHECK(whether acroread is acroread 4, a2_cv_com_acroread4, |
| 328 |
[$acroread -helpall >conftest.help |
328 |
# For Gentoo, assume installed acroread is version 4 or later. |
| 329 |
if fgrep -e -size conftest.help >/dev/null && |
329 |
# Avoid running acroread because of sandbox violation (bug #79012). |
| 330 |
fgrep -e -shrink conftest.help >/dev/null; then |
330 |
[a2_cv_com_acroread4=yes]) |
| 331 |
a2_cv_com_acroread4=yes |
|
|
| 332 |
else |
| 333 |
a2_cv_com_acroread4=no |
| 334 |
fi |
| 335 |
rm -f conftest.help]) |
| 336 |
test "$a2_cv_com_acroread4" = yes && COM_acroread4='' |
331 |
test "$a2_cv_com_acroread4" = yes && COM_acroread4='' |
| 337 |
fi |
332 |
fi |
| 338 |
|
333 |
|