Move plugin option to Makefile.config.

Disable it by default.

svn path=/trunk/netsurf/; revision=4853
This commit is contained in:
John Mark Bell 2008-08-01 11:29:18 +00:00
parent 5685170036
commit a011abf55f
3 changed files with 5 additions and 2 deletions

View File

@ -231,6 +231,7 @@ ifeq ($(TARGET),riscos)
$(eval $(call feature_enabled,DRAW,-DWITH_DRAW,-lpencil,Drawfile export))
$(eval $(call feature_enabled,SPRITE,-DWITH_SPRITE,,RISC OS sprite rendering))
$(eval $(call feature_enabled,ARTWORKS,-DWITH_ARTWORKS,,ArtWorks rendering))
$(eval $(call feature_enabled,PLUGINS,-DWITH_PLUGIN,,Plugin protocol support))
endif
# ----------------------------------------------------------------------------

View File

@ -68,6 +68,10 @@ ifeq ($(TARGET),riscos)
# Valid options: YES, NO
NETSURF_USE_ARTWORKS := YES
# Enable support for the Acorn plugin protocol
# Valid options: YES, NO
NETSURF_USE_PLUGINS := NO
endif
# ----------------------------------------------------------------------------

View File

@ -48,8 +48,6 @@ char *strndup(const char *s, size_t n);
/* Platform specific features */
#if defined(riscos)
/* Plugin module */
#define WITH_PLUGIN
/* Acorn URI protocol support */
#define WITH_URI
/* ANT URL protocol support */