Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 79012 | Differences between
and this patch

Collapse All | Expand All

(-)configure.in.orig (-8 / +3 lines)
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
(-)configure.orig (-8 / +3 lines)
Lines 18790-18803 Link Here
18790
if test "${a2_cv_com_acroread4+set}" = set; then
18790
if test "${a2_cv_com_acroread4+set}" = set; then
18791
  echo $ECHO_N "(cached) $ECHO_C" >&6
18791
  echo $ECHO_N "(cached) $ECHO_C" >&6
18792
else
18792
else
18793
  $acroread -helpall >conftest.help
18793
  # For Gentoo, assume installed acroread is version 4 or later.
18794
  if fgrep -e -size   conftest.help >/dev/null &&
18794
  # Avoid running acroread because of sandbox violation (bug #79012).
18795
     fgrep -e -shrink conftest.help >/dev/null; then
18795
  a2_cv_com_acroread4=yes
18796
     a2_cv_com_acroread4=yes
18797
  else
18798
     a2_cv_com_acroread4=no
18799
  fi
18800
  rm -f conftest.help
18801
fi
18796
fi
18802
echo "$as_me:$LINENO: result: $a2_cv_com_acroread4" >&5
18797
echo "$as_me:$LINENO: result: $a2_cv_com_acroread4" >&5
18803
echo "${ECHO_T}$a2_cv_com_acroread4" >&6
18798
echo "${ECHO_T}$a2_cv_com_acroread4" >&6

Return to bug 79012