mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-28 19:28:38 +00:00
#define HAVE_MKSTEMPS 1 as libkdefakes provides it
Some more checks so that we don't have any undefined warning svn path=/trunk/kdegraphics/kpdf/; revision=342403
This commit is contained in:
parent
eac9aad8eb
commit
5bbcd7f771
2 changed files with 16 additions and 1 deletions
4
aconf.h
4
aconf.h
|
@ -1,6 +1,10 @@
|
|||
#define HAVE_FSEEK0 0 // define it to 0, if you have it, config.h will have it defined to 1
|
||||
// and that will be used
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#define HAVE_FREETYPE_H HAVE_FREETYPE
|
||||
#define HAVE_FREETYPE_FREETYPE_H HAVE_FREETYPE
|
||||
#define OPI_SUPPORT 0
|
||||
#define TEXTOUT_WORD_LIST 0
|
||||
#define HAVE_MKSTEMPS 1 //libkdefakes provides it
|
||||
|
|
|
@ -44,10 +44,21 @@ if test "$xpdfrc" != NO; then
|
|||
AC_DEFINE_UNQUOTED(SYSTEM_XPDFRC, "$xpdfrc/xpdfrc", [Define the location your xpdfrc])
|
||||
fi
|
||||
|
||||
dnl #### Check for FSEEK variants
|
||||
AC_SYS_LARGEFILE
|
||||
AC_FUNC_FSEEKO
|
||||
AC_CHECK_FUNCS(fseek64, xpdf_cv_func_fseek64=yes, xpdf_cv_func_fseek64=no)
|
||||
AC_CHECK_FUNCS(ftell64, xpdf_cv_func_ftell64=yes, xpdf_cv_func_ftell64=no)
|
||||
if test "$xpdf_cv_func_fseek64" = yes -a "$xpdf_cv_func_ftell64" = yes; then
|
||||
AC_DEFINE(HAVE_FSEEK64, 1)
|
||||
else
|
||||
AC_DEFINE(HAVE_FSEEK64, 0)
|
||||
fi
|
||||
|
||||
dnl #### Check for libt1
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
dnl #### Check for libt1
|
||||
kpdf_have_t1lib=
|
||||
KDE_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue