root/psad/tags/psad-2.1.2/whois/config.h

Revision 1555, 1.5 kB (checked in by mbr, 3 years ago)

updated to whois 4.7.13

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /* Program version */
2 /* not for the inetutils version */
3 #define VERSION "4.7.13"
4
5 /* Configurable features */
6
7 /* Always hide legal disclaimers */
8 #undef ALWAYS_HIDE_DISCL
9
10 /* Default server */
11 #define DEFAULTSERVER   "whois.arin.net"
12
13 /* Configuration file */
14 /*
15 #define CONFIG_FILE "/etc/whois.conf"
16 */
17
18 /* autoconf in cpp macros */
19 #ifdef linux
20 # define ENABLE_NLS
21 #endif
22
23 #ifdef __FreeBSD__
24 /* which versions? */
25 # define HAVE_GETOPT_LONG
26 # define HAVE_GETADDRINFO
27 # define ENABLE_NLS
28 # define LOCALEDIR "/usr/local/share/locale"
29 #endif
30
31 /* needs unistd.h */
32 #ifdef _ISO_CPP_14882_1998
33 /* Solaris 8 and better. What else? */
34 # define HAVE_GETADDRINFO
35 #endif
36
37 #if defined __GLIBC__
38 # define HAVE_GETOPT_LONG
39 # if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
40 define HAVE_GETADDRINFO
41 # endif
42 #endif
43
44 /* Linux, Solaris 5, FreeBSD 5.x. What else? */
45 #if defined _POSIX_VERSION && _POSIX_VERSION >= 200112L
46 # define HAVE_WORDEXP
47 #endif
48
49 #if defined _POSIX2_VERSION
50 # define HAVE_REGEXEC
51 #endif
52
53
54 /* system features */
55 #ifdef ENABLE_NLS
56 # ifndef NLS_CAT_NAME
57 define NLS_CAT_NAME   "whois"
58 # endif
59 # ifndef LOCALEDIR
60 define LOCALEDIR     "/usr/share/locale"
61 # endif
62 #endif
63
64 #ifdef HAVE_GETOPT_LONG
65 # define GETOPT_LONGISH(c, v, o, l, i) getopt_long(c, v, o, l, i)
66 #else
67 # define GETOPT_LONGISH(c, v, o, l, i) getopt(c, v, o)
68 #endif
69
70
71 /* NLS stuff */
72 #ifdef ENABLE_NLS
73 # include <libintl.h>
74 # include <locale.h>
75 # define _(a) (gettext (a))
76 # ifdef gettext_noop
77 define N_(a) gettext_noop (a)
78 # else
79 define N_(a) (a)
80 # endif
81 #else
82 # define _(a) (a)
83 # define N_(a) a
84 #endif
85
Note: See TracBrowser for help on using the browser.