X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=6c1cdcf7d8bf8b035724ba3657b1bfe76f36c3e8;hb=e02e3fde2610db645a005f276286795025426186;hp=4a6c5de5e7c44e0e411cb684c1fea1b12414e52e;hpb=1bc11bf9ca800edd4469d5e8c8aeb605d3037bc7;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 4a6c5de5..6c1cdcf7 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -2,7 +2,6 @@ INCLUDES= \ -DDATADIR=\"$(pkgdatadir)\" \ -DGNOMEDATADIR=\"$(datadir)\" \ -I$(top_srcdir)/lib \ - -I$(top_srcdir)/cut-n-paste/recent-files/ \ -I$(top_srcdir)/cut-n-paste/zoom-control/ \ -I$(top_srcdir)/cut-n-paste/toolbar-editor/ \ -I$(top_srcdir)/backend \ @@ -15,6 +14,12 @@ INCLUDES= \ $(GNOME_PRINT_CFLAGS) \ $(GTK_PRINT_CFLAGS) +if HAVE_GTK_RECENT +INCLUDES += +else +INCLUDES += -I$(top_srcdir)/cut-n-paste/recent-files/ +endif + bin_PROGRAMS=evince evince_SOURCES= \ @@ -77,7 +82,6 @@ endif evince_LDADD= \ - $(top_builddir)/cut-n-paste/recent-files/librecent.la \ $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \ $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \ $(top_builddir)/properties/libevproperties.la \ @@ -85,6 +89,12 @@ evince_LDADD= \ $(SHELL_LIBS) \ $(GNOME_PRINT_LIBS) +if HAVE_GTK_RECENT +evince_LDADD += +else +evince_LDADD += $(top_builddir)/cut-n-paste/recent-files/librecent.la +endif + if ENABLE_DJVU evince_LDADD += $(DJVU_LIBS) endif