mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
Use AC_LANG_SAVE/RESTORE
AC_CHECK_LIB -> use KDE_CHECK_LIB Thanks Dirk svn path=/trunk/kdegraphics/kpdf/; revision=341046
This commit is contained in:
parent
0d6b458e3f
commit
4292a84914
|
@ -43,11 +43,12 @@ if test "$xpdfrc" != NO; then
|
|||
AC_DEFINE_UNQUOTED(SYSTEM_XPDFRC, "$xpdfrc/xpdfrc", [Define the location your xpdfrc])
|
||||
fi
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
dnl #### Check for libt1
|
||||
kpdf_have_t1lib=
|
||||
AC_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
|
||||
KDE_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
|
||||
[
|
||||
kpdf_have_t1lib=no
|
||||
])
|
||||
|
@ -57,7 +58,7 @@ if test $kpdf_have_t1lib = yes; then
|
|||
else
|
||||
AC_DEFINE_UNQUOTED(HAVE_T1LIB_H, 0, [Defines if your system has the t1 library])
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
|
||||
dnl #### Enable the user to enable multithearind on xpdf
|
||||
AC_ARG_ENABLE(multithreaded-kpdf,
|
||||
|
|
Loading…
Reference in a new issue