]> git.pld-linux.org Git - packages/whois.git/blame - whois-config.patch
- obsolete
[packages/whois.git] / whois-config.patch
CommitLineData
6f134479
JB
1--- whois-4.7.26/config.h.orig 2008-04-06 17:26:42.000000000 +0200
2+++ whois-4.7.26/config.h 2008-05-28 19:43:05.926705891 +0200
3@@ -11,47 +11,20 @@
7a774abc
AM
4 #define DEFAULTSERVER "whois.arin.net"
5
6 /* Configuration file */
7-/*
8 #define CONFIG_FILE "/etc/whois.conf"
9-*/
10
11 /* autoconf in cpp macros */
12-#ifdef linux
13 # define ENABLE_NLS
14-#endif
15
16-#ifdef __FreeBSD__
17-/* which versions? */
18 # define HAVE_GETOPT_LONG
19 # define HAVE_GETADDRINFO
6f134479 20-# define ENABLE_NLS
7a774abc
AM
21-# define LOCALEDIR "/usr/local/share/locale"
22-#endif
23-
24-/* needs unistd.h */
25-#ifdef _ISO_CPP_14882_1998
26-/* Solaris 8 and better. What else? */
27-# define HAVE_GETADDRINFO
28-#endif
29+# define LOCALEDIR "/usr/share/locale"
30
31-#if defined __GLIBC__
32-# define HAVE_GETOPT_LONG
33-# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
34-# define HAVE_GETADDRINFO
35-# endif
6f134479
JB
36-# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 7
37 # define HAVE_SHA_CRYPT
38-# endif
7a774abc 39-#endif
6f134479 40
7a774abc
AM
41-/* Linux, Solaris 5, FreeBSD 5.x. What else? */
42-#if defined _POSIX_VERSION && _POSIX_VERSION >= 200112L
43 # define HAVE_WORDEXP
44-#endif
45
46-#if defined _POSIX2_VERSION
47 # define HAVE_REGEXEC
48-#endif
49
50
51 /* system features */
This page took 0.033692 seconds and 4 git commands to generate.