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:
Albert Astals Cid 2004-11-27 20:36:55 +00:00
parent 8b1366243c
commit ebb4ef01e9
2 changed files with 5 additions and 3 deletions

View file

@ -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)

View file

@ -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();