File: config.h

package info (click to toggle)
kbd-chooser 1.68
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 896 kB
  • ctags: 281
  • sloc: ansic: 4,360; yacc: 777; lex: 131; makefile: 118; sh: 33
file content (53 lines) | stat: -rw-r--r-- 977 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* config.h for kbd-chooser
 *
 *  
 */

#ifndef _CONFIG_H
#define _CONFIG_H

// For a debug build, define DEBUG=1. 
#if !defined(DEBUG)
#define DEBUG 0
#define NDEBUG 1
#endif

#define DATADIR "/usr/share"
#define KEYMAPDIR "keymaps"
#define DEFMAP "us"

#define PROGNAME "kbd-chooser"

// #undef ENABLE_NLS

// Define this if you want 2.5 kernel support
// #define KERNEL_2_5

#define KERNEL_2_4


// Uncomment these to add more charset support.
// For console-data, = 2002.12.04dbs-06, only
// iso-8859-[1289] are required.

// #define CHARSET_ISO_8859_3
#define CHARSET_ISO_8859_4
#define CHARSET_ISO_8859_5
#define CHARSET_ISO_8859_7
#define CHARSET_ISO_8859_8
#define CHARSET_ISO_8859_9

// #define CHARSET_CP1250
// #define CHARSET_ETHIOPIC
// #define CHARSET_KOI8
// #define CHARSET_MAZOVIA
// #define CHARSET_SAMI
#define CHARSET_THAI

// Sanity checks

#if !defined(KERNEL_2_4) && !defined(KERNEL_2_5)
#error "Support for a kernel must be compiled in"
#endif

#endif