From: gouldtj Date: Wed, 31 Oct 2007 18:25:19 +0000 (+0000) Subject: r16935@shi: ted | 2007-10-31 11:23:00 -0700 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa652d1b79d43f38f4ea5303b79916ced63c03e8;p=inkscape.git r16935@shi: ted | 2007-10-31 11:23:00 -0700 Making libwpg optional --- diff --git a/src/extension/internal/Makefile_insert b/src/extension/internal/Makefile_insert index 87d76a3ec..8fcbfc31c 100644 --- a/src/extension/internal/Makefile_insert +++ b/src/extension/internal/Makefile_insert @@ -5,6 +5,13 @@ extension/internal/all: extension/internal/libinternal.a extension/internal/clean: rm -f extension/internal/libinternal.a $(extension_internal_libinternal_OBJECTS) +if WITH_LIBWPG +extension_internal_libwpg = \ + extension/internal/wpg-input.cpp \ + extension/internal/wpg-input.h + +endif + if USE_IMAGE_MAGICK extension_internal_image_magick_sources = \ extension/internal/bitmap/imagemagick.cpp \ @@ -129,7 +136,6 @@ extension_internal_libinternal_a_SOURCES = \ extension/internal/latex-pstricks.h \ extension/internal/latex-pstricks-out.cpp \ extension/internal/latex-pstricks-out.h \ - extension/internal/wpg-input.cpp \ - extension/internal/wpg-input.h \ + $(extension_internal_libwpg) \ $(extension_internal_image_magick_sources)