summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-03 06:36:16 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-03 06:36:16 +0000
commitc5f9099f3c8c8e7e3a89952504f01eec289117bd (patch)
tree31e1ea273e9b3997678581b9800d1bb7d8fe5ef6 /gcc/toplev.c
parentc4aa078796bd9c7237e0ac5ea4ab7553106f199d (diff)
downloadgcc-c5f9099f3c8c8e7e3a89952504f01eec289117bd.tar.gz
2009-09-03 Basile Starynkevitch <basile@starynkevitch.net>
[painfully cleaned autoconf-ry so that MELT is enabled by default] * configure.ac: added more from trunk & testing for GDBM. * Makefile.def: added more from trunk, awk & sed... * Makefile.tpl: adding GDBM & more for trunk. * Makefile.in: regenerated. * configure: regenerated. [painfully cleaned autoconf-ry so that MELT is enabled by default; improved gengtype.] * gcc/configure.ac: MELT is always enabled. better GDBM support. Improved PPL stuff. Added more from trunk. * gcc/Makefile.in: added gtyp-real-input.list. Merged make dependencies from trunk. * gcc/gengtype.h: removed is_plugin_file & dbgprintf. * gcc/gengtype.c: minor fixes. See http://gcc.gnu.org/ml/gcc-patches/2009-09/msg00047.html * gcc/melt-runtime.h: removed some #ifdef because MELT is always enabled. * gcc/run-melt.h: likewise. * gcc/common.opt: Removed Condition from every MELT option. * gcc/toplevel.c: removed some #ifdef because MELT is always enabled. (toplev_main): always initialize MELT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@151368 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 878f0630c6d..9cccad8fea8 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -111,10 +111,10 @@ along with GCC; see the file COPYING3. If not see
#endif
/* we don't include melt.h but declare its initializer & finalizer here */
-#if ENABLE_MELT
+
extern void melt_initialize(void); /* in melt.c */
extern void melt_finalize(void); /* in melt.c */
-#endif
+
static void general_init (const char *);
static void do_compile (void);
@@ -2401,11 +2401,9 @@ toplev_main (int argc, char **argv)
initialize_plugins ();
-#if ENABLE_MELT
/* initialize melt if needed */
if (melt_mode_string && melt_mode_string[0])
melt_initialize();
-#endif
if (version_flag)
print_version (stderr, "");
@@ -2418,11 +2416,9 @@ toplev_main (int argc, char **argv)
do_compile ();
-#if ENABLE_MELT
/* finalize melt if needed */
if (melt_mode_string && melt_mode_string[0])
melt_finalize();
-#endif
if (warningcount || errorcount)
print_ignored_options ();