Summary: | kpdf build failure, old Xft libs (Xft-2.0, Xft-2.1) | ||
---|---|---|---|
Product: | [Applications] kpdf | Reporter: | Rex Dieter <rdieter> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | use XFT_CFLAGS |
Description
Rex Dieter
2005-03-21 19:14:11 UTC
Created attachment 10250 [details]
use XFT_CFLAGS
use XFT_CFLAGS as returned from
xft-config --cflags
(like how XFT_LIBS is used)
CVS commit by aacid: Fix compile problem due to the non-standard location of Xft2 header files. Thanks Rex for reporting BUGS: 102119 M +2 -0 configure.in.in 1.17.2.1 M +1 -1 xpdf/xpdf/Makefile.am 1.4.2.1 --- kdegraphics/kpdf/configure.in.in #1.17:1.17.2.1 @@ -40,7 +40,9 @@ if test -n "$XFT_CONFIG"; then + XFT_CFLAGS="`$XFT_CONFIG --cflags`" XFT_LIBS="`$XFT_CONFIG --libs`" fi +AC_SUBST(XFT_CFLAGS) AC_SUBST(XFT_LIBS) --- kdegraphics/kpdf/xpdf/xpdf/Makefile.am #1.4:1.4.2.1 @@ -1,3 +1,3 @@ -INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../fofi -I$(srcdir)/../splash -I$(srcdir)/../goo $(all_includes) $(LIBFREETYPE_CFLAGS) $(X_INCLUDES) $(QT_INCLUDES) +INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../fofi -I$(srcdir)/../splash -I$(srcdir)/../goo $(all_includes) $(LIBFREETYPE_CFLAGS) $(XFT_CFLAGS) $(X_INCLUDES) $(QT_INCLUDES) libxpdf_la_LDFLAGS = $(all_libraries) |