Commit ebb4ef01 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

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
parent 8b136624
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment