Code

r16935@shi: ted | 2007-10-31 11:23:00 -0700
authorgouldtj <gouldtj@users.sourceforge.net>
Wed, 31 Oct 2007 18:25:19 +0000 (18:25 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Wed, 31 Oct 2007 18:25:19 +0000 (18:25 +0000)
 Making libwpg optional

src/extension/internal/Makefile_insert

index 87d76a3ecff1665567d163fefb44c5f802fe6f61..8fcbfc31c35cb54d9bc24d1797b34af4efb83637 100644 (file)
@@ -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)