cmake: Check for getprogname() and getexecname()
[nss_wrapper.git] / config.h.cmake
1 /* Name of package */
2 #cmakedefine PACKAGE "${PROJECT_NAME}"
3
4 /* Version number of package */
5 #cmakedefine VERSION "${PROJECT_VERSION}"
6
7 #cmakedefine LOCALEDIR "${LOCALE_INSTALL_DIR}"
8 #cmakedefine DATADIR "${DATADIR}"
9 #cmakedefine LIBDIR "${LIBDIR}"
10 #cmakedefine PLUGINDIR "${PLUGINDIR}"
11 #cmakedefine SYSCONFDIR "${SYSCONFDIR}"
12 #cmakedefine BINARYDIR "${BINARYDIR}"
13 #cmakedefine SOURCEDIR "${SOURCEDIR}"
14
15 /************************** HEADER FILES *************************/
16
17 #cmakedefine HAVE_SYS_TYPES_H 1
18 #cmakedefine HAVE_PWD_H 1
19 #cmakedefine HAVE_SHADOW_H 1
20 #cmakedefine HAVE_GRP_H 1
21 #cmakedefine HAVE_NSS_H 1
22 #cmakedefine HAVE_NSS_COMMON_H 1
23
24 /*************************** FUNCTIONS ***************************/
25
26 /* Define to 1 if you have the `getpwnam_r' function. */
27 #cmakedefine HAVE_GETPWNAM_R 1
28
29 /* Define to 1 if you have the `getpwuid_r' function. */
30 #cmakedefine HAVE_GETPWUID_R 1
31
32 /* Define to 1 if you have the `getpwent_r' function. */
33 #cmakedefine HAVE_GETPWENT_R 1
34
35 /* Define to 1 if you have the `setspent' function. */
36 #cmakedefine HAVE_SETSPENT 1
37
38 /* Define to 1 if you have the `getspnam' function. */
39 #cmakedefine HAVE_GETSPNAM 1
40
41 /* Define to 1 if you have the `getgrnam_r' function. */
42 #cmakedefine HAVE_GETGRNAM_R 1
43
44 /* Define to 1 if you have the `getgrgid_r' function. */
45 #cmakedefine HAVE_GETGRGID_R 1
46
47 /* Define to 1 if you have the `getgrent_r' function. */
48 #cmakedefine HAVE_GETGRENT_R 1
49
50 /* Define to 1 if you have the `getgrouplist' function. */
51 #cmakedefine HAVE_GETGROUPLIST 1
52
53 /* Define to 1 if you have the `gethostbyaddr_r' function. */
54 #cmakedefine HAVE_GETHOSTBYADDR_R 1
55
56 /* Define to 1 if you have the `gethostbyname_r' function. */
57 #cmakedefine HAVE_GETHOSTBYNAME_R 1
58
59 /* Define to 1 if you have the `gethostbyname2' function. */
60 #cmakedefine HAVE_GETHOSTBYNAME2 1
61
62 #cmakedefine HAVE_GETPROGNAME 1
63 #cmakedefine HAVE_GETEXECNAME 1
64
65 #cmakedefine HAVE___POSIX_GETPWNAM_R 1
66 #cmakedefine HAVE___POSIX_GETPWUID_R 1
67
68 #cmakedefine HAVE___POSIX_GETGRGID_R 1
69 #cmakedefine HAVE___POSIX_GETGRNAM_R 1
70
71 /*************************** LIBRARIES ***************************/
72
73 #cmakedefine HAVE_LIBNSL 1
74 #cmakedefine HAVE_LIBSOCKET 1
75
76 /**************************** OPTIONS ****************************/
77
78 #cmakedefine HAVE_SOLARIS_GETPWENT_R 1
79 #cmakedefine HAVE_SOLARIS_GETPWNAM_R 1
80 #cmakedefine HAVE_SOLARIS_GETPWUID_R 1
81 #cmakedefine HAVE_SOLARIS_GETGRENT_R 1
82 #cmakedefine HAVE_SOLARIS_GETGRNAM_R 1
83 #cmakedefine HAVE_SOLARIS_GETGRGID_R 1
84 #cmakedefine HAVE_SOLARIS_SETHOSTENT 1
85 #cmakedefine HAVE_SOLARIS_ENDHOSTENT 1
86 #cmakedefine HAVE_SOLARIS_GETHOSTNAME 1
87 #cmakedefine HAVE_BSD_SETGRENT 1
88 #cmakedefine HAVE_LINUX_GETNAMEINFO 1
89 #cmakedefine HAVE_LINUX_GETNAMEINFO_UNSIGNED 1
90 #cmakedefine HAVE_GETADDRINFO_SETS_CANONNAME_FOR_IPADDRESSES 1
91 #cmakedefine HAVE_GETADDRINFO_USES_EAI_SERVICE 1
92 #cmakedefine HAVE_NONNULL_GETHOSTENT 1
93
94 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
95 #cmakedefine HAVE_STRUCT_PASSWD_PW_CLASS 1
96 #cmakedefine HAVE_STRUCT_PASSWD_PW_CHANGE 1
97 #cmakedefine HAVE_STRUCT_PASSWD_PW_EXPIRE 1
98
99 #cmakedefine HAVE_IPV6 1
100
101 #cmakedefine HAVE_ATTRIBUTE_PRINTF_FORMAT 1
102 #cmakedefine HAVE_CONSTRUCTOR_ATTRIBUTE 1
103 #cmakedefine HAVE_DESTRUCTOR_ATTRIBUTE 1
104
105 /*************************** ENDIAN *****************************/
106
107 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
108    significant byte first (like Motorola and SPARC, unlike Intel). */
109 #cmakedefine WORDS_BIGENDIAN 1