|
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 |
|
|---|
| 2 |
|
|---|
| 3 |
#define VERSION "4.7.13" |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
#undef ALWAYS_HIDE_DISCL |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
#define DEFAULTSERVER "whois.arin.net" |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
#ifdef linux |
|---|
| 20 |
# define ENABLE_NLS |
|---|
| 21 |
#endif |
|---|
| 22 |
|
|---|
| 23 |
#ifdef __FreeBSD__ |
|---|
| 24 |
|
|---|
| 25 |
# define HAVE_GETOPT_LONG |
|---|
| 26 |
# define HAVE_GETADDRINFO |
|---|
| 27 |
# define ENABLE_NLS |
|---|
| 28 |
# define LOCALEDIR "/usr/local/share/locale" |
|---|
| 29 |
#endif |
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
#ifdef _ISO_CPP_14882_1998 |
|---|
| 33 |
|
|---|
| 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 |
|
|---|
| 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 |
|
|---|
| 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 |
|
|---|
| 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 |
|
|---|