source: git/factory/cf_switches.cc @ 9f7665

spielwiese
Last change on this file since 9f7665 was 9f7665, checked in by Oleksandr Motsak <motsak@…>, 10 years ago
Removed HAVE_CONFIG guards fix: fixed the inclusion of configure-generated *config.h's
  • Property mode set to 100644
File size: 698 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3//{{{ docu
4//
5// cf_switches.cc - definition of class CFSwitches.
6//
7// Used by: cf_globals.cc, ftest/ftest_util.cc
8//
9//}}}
10
11
12#include "config.h"
13
14
15#include "cf_switches.h"
16#include "cf_defs.h"
17
18//{{{ CFSwitches::CFSwitches ()
19//{{{ docu
20//
21// CFSwitches::CFSwitches() - default constructor.
22//
23// Turns all switches off.
24//
25//}}}
26CFSwitches::CFSwitches ()
27{
28    for ( int i = 0; i < CFSwitchesMax; i++ )
29        switches[i] = false;
30// and set the default (recommended) On-values:
31#ifdef HAVE_NTL
32  On(SW_USE_CHINREM_GCD);
33  //Off(SW_USE_NTL_SORT);
34#endif
35  On(SW_USE_EZGCD);
36  //On(SW_USE_EZGCD_P); // still testing
37  On(SW_USE_QGCD);
38}
39//}}}
Note: See TracBrowser for help on using the repository browser.