From 62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Jan 2004 02:10:59 +0000 Subject: [project @ 2004-01-05 02:10:59 by jmb] Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480 --- utils/config.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 utils/config.h (limited to 'utils/config.h') diff --git a/utils/config.h b/utils/config.h new file mode 100644 index 000000000..c26ed3f50 --- /dev/null +++ b/utils/config.h @@ -0,0 +1,44 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 John M Bell + */ + +#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. + */ + +/* Image renderering modules */ +#define WITH_DRAW +#define WITH_GIF +#define WITH_JPEG +#define WITH_PNG +#define WITH_SPRITE + +/* Plugin module */ +#define WITH_PLUGIN + +/* Frames */ +#undef WITH_FRAMES + +/* HTTP Auth */ +#define WITH_AUTH + +/* Cookies */ +#define WITH_COOKIES + +/* About page */ +#define WITH_ABOUT + +/* Acorn URI protocol support */ +#define WITH_URI + +/* ANT URL protocol support */ +#define WITH_URL + +#endif + -- cgit v1.2.3