mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
30c2f8067d
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520367
18 lines
No EOL
586 B
Text
18 lines
No EOL
586 B
Text
dnl #### Enable the user to decide if he wants to force drm or not
|
|
AC_ARG_ENABLE(force-kpdf-drm,
|
|
AC_HELP_STRING([--enable-force-kpdf-drm],[Forces kpdf to check for DRM to decide if you can copy/print protected pdf. (default=no)]),
|
|
[
|
|
case $enableval in
|
|
yes)
|
|
AC_DEFINE(KPDF_FORCE_DRM, 1, [Defines if force the use DRM in kpdf])
|
|
;;
|
|
no)
|
|
AC_DEFINE(KPDF_FORCE_DRM, 0, [Defines if force the use DRM in kpdf])
|
|
;;
|
|
*)
|
|
AC_DEFINE(KPDF_FORCE_DRM, 1, [Defines if force the use DRM in kpdf])
|
|
;;
|
|
esac
|
|
]
|
|
, AC_DEFINE(KPDF_FORCE_DRM, 0, [Defines if force the use DRM in kpdf])
|
|
) |