2004-01-05 05:10:59 +03:00
|
|
|
/*
|
|
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
|
|
* Licensed under the GNU General Public License,
|
|
|
|
* http://www.opensource.org/licenses/gpl-license
|
2004-02-18 02:38:44 +03:00
|
|
|
* Copyright 2003,4 John M Bell <jmb202@ecs.soton.ac.uk>
|
2004-07-19 02:21:32 +04:00
|
|
|
* Copyright 2004 Andrew Timmins <atimmins@blueyonder.co.uk>
|
2004-01-05 05:10:59 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_UTILS_CONFIG_H_
|
|
|
|
#define _NETSURF_UTILS_CONFIG_H_
|
|
|
|
|
|
|
|
/* This file toggles build options on and off.
|
|
|
|
* Simply undefine a symbol to turn the relevant feature off.
|
2004-02-16 01:22:38 +03:00
|
|
|
*
|
|
|
|
* IF ADDING A FEATURE HERE, ADD IT TO Docs/Doxyfile LINE 892 AS WELL.
|
2004-01-05 05:10:59 +03:00
|
|
|
*/
|
|
|
|
|
2004-01-20 22:08:34 +03:00
|
|
|
/* HTTP POST support */
|
|
|
|
#define WITH_POST
|
2004-07-19 02:21:32 +04:00
|
|
|
/* HTTP Auth */
|
|
|
|
#define WITH_AUTH
|
|
|
|
/* Cookies */
|
|
|
|
#define WITH_COOKIES
|
2004-01-20 22:08:34 +03:00
|
|
|
|
2004-01-05 05:10:59 +03:00
|
|
|
/* Image renderering modules */
|
2004-07-19 23:34:07 +04:00
|
|
|
#if defined(riscos) || defined(ncos) || defined(debug)
|
2004-07-19 02:21:32 +04:00
|
|
|
#define WITH_GIF
|
|
|
|
#define WITH_JPEG
|
|
|
|
#define WITH_PNG
|
|
|
|
#define WITH_MNG
|
2004-06-03 00:53:37 +04:00
|
|
|
#endif
|
2004-07-20 00:49:34 +04:00
|
|
|
#if defined(riscos) || defined(ncos)
|
2004-07-19 02:21:32 +04:00
|
|
|
#define WITH_DRAW
|
|
|
|
#define WITH_SPRITE
|
2004-06-03 00:53:37 +04:00
|
|
|
#endif
|
2004-01-05 05:10:59 +03:00
|
|
|
|
2004-07-19 02:21:32 +04:00
|
|
|
/* Platform specific features */
|
2004-07-20 00:43:25 +04:00
|
|
|
#if defined(riscos) || defined(ncos)
|
2004-07-19 02:21:32 +04:00
|
|
|
/* Plugin module */
|
|
|
|
#define WITH_PLUGIN
|
|
|
|
/* Acorn URI protocol support */
|
|
|
|
#define WITH_URI
|
|
|
|
/* ANT URL protocol support */
|
|
|
|
#define WITH_URL
|
2004-07-25 23:25:26 +04:00
|
|
|
/* Keyboard navigation support */
|
|
|
|
#define WITH_KEYBOARD_NAVIGATION
|
2004-08-06 00:32:00 +04:00
|
|
|
/* Free text search */
|
|
|
|
#define WITH_SEARCH
|
2004-07-19 02:21:32 +04:00
|
|
|
#endif
|
|
|
|
#ifdef ncos
|
|
|
|
/* Kiosk style browsing support */
|
|
|
|
#define WITH_KIOSK_BROWSING
|
|
|
|
/* Kiosk style browsing themes support */
|
|
|
|
#define WITH_KIOSK_THEMES
|
2004-06-03 00:53:37 +04:00
|
|
|
#endif
|
|
|
|
|
2004-07-19 23:34:07 +04:00
|
|
|
#if defined(riscos) || defined(ncos) || defined(debug)
|
2004-07-19 02:21:32 +04:00
|
|
|
/* Export modules */
|
|
|
|
#define WITH_SAVE_COMPLETE
|
|
|
|
#define WITH_DRAW_EXPORT
|
|
|
|
#define WITH_TEXT_EXPORT
|
2004-01-05 05:10:59 +03:00
|
|
|
#endif
|
|
|
|
|
2004-06-03 00:53:37 +04:00
|
|
|
#endif
|