mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
Bring that ifdef back to if, use the same configure.in.in from HEAD that makes that possible
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=366736
This commit is contained in:
parent
8b1366243c
commit
ebb4ef01e9
|
@ -34,7 +34,9 @@ LIBPAPER_LIBS=
|
|||
KDE_CHECK_HEADER(paper.h, [
|
||||
LIBPAPER_LIBS='-lpaper'
|
||||
AC_DEFINE_UNQUOTED(HAVE_PAPER_H, 1, [Define to 1 if you have the <paper.h> header file.])
|
||||
])
|
||||
],
|
||||
AC_DEFINE_UNQUOTED(HAVE_PAPER_H, 0, [Define to 1 if you have the <paper.h> header file.])
|
||||
)
|
||||
AC_SUBST(LIBPAPER_LIBS)
|
||||
|
||||
AC_CHECK_FUNCS(fseek64 mkstemp mkstemps popen)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#ifdef HAVE_PAPER_H
|
||||
#if HAVE_PAPER_H
|
||||
#include <paper.h>
|
||||
#endif
|
||||
#include "gmem.h"
|
||||
|
@ -183,7 +183,7 @@ GlobalParams::GlobalParams(const char *cfgFileName) {
|
|||
displayFonts = new GHash();
|
||||
displayCIDFonts = new GHash();
|
||||
displayNamedCIDFonts = new GHash();
|
||||
#ifdef HAVE_PAPER_H
|
||||
#if HAVE_PAPER_H
|
||||
char *paperName;
|
||||
const struct paper *paperType;
|
||||
paperinit();
|
||||
|
|
Loading…
Reference in a new issue