--- configure.in.orig 2005-06-13 14:04:14.000000000 +0100 +++ configure.in 2005-06-13 13:58:48.000000000 +0100 @@ -325,14 +325,9 @@ # If we have acroread, is it a version which supports -shrink etc.? if test "x$COM_acroread" = x; then AC_CACHE_CHECK(whether acroread is acroread 4, a2_cv_com_acroread4, - [$acroread -helpall >conftest.help - if fgrep -e -size conftest.help >/dev/null && - fgrep -e -shrink conftest.help >/dev/null; then - a2_cv_com_acroread4=yes - else - a2_cv_com_acroread4=no - fi - rm -f conftest.help]) + # For Gentoo, assume installed acroread is version 4 or later. + # Avoid running acroread because of sandbox violation (bug #79012). + [a2_cv_com_acroread4=yes]) test "$a2_cv_com_acroread4" = yes && COM_acroread4='' fi --- configure.orig 2003-09-26 21:06:56.000000000 +0100 +++ configure 2005-06-13 14:10:43.000000000 +0100 @@ -18790,14 +18790,9 @@ if test "${a2_cv_com_acroread4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - $acroread -helpall >conftest.help - if fgrep -e -size conftest.help >/dev/null && - fgrep -e -shrink conftest.help >/dev/null; then - a2_cv_com_acroread4=yes - else - a2_cv_com_acroread4=no - fi - rm -f conftest.help + # For Gentoo, assume installed acroread is version 4 or later. + # Avoid running acroread because of sandbox violation (bug #79012). + a2_cv_com_acroread4=yes fi echo "$as_me:$LINENO: result: $a2_cv_com_acroread4" >&5 echo "${ECHO_T}$a2_cv_com_acroread4" >&6