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