cmake: Check for POSIX functions on Solaris.
[nss_wrapper.git] / config.h.cmake
1 /* Name of package */
2 #cmakedefine PACKAGE "${APPLICATION_NAME}"
3
4 /* Version number of package */
5 #cmakedefine VERSION "${APPLICATION_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_GRP_H 1
20 #cmakedefine HAVE_NSS_H 1
21 #cmakedefine HAVE_NSS_COMMON_H 1
22
23 /*************************** FUNCTIONS ***************************/
24
25 /* Define to 1 if you have the `getpwnam_r' function. */
26 #cmakedefine HAVE_GETPWNAM_R 1
27
28 /* Define to 1 if you have the `getpwuid_r' function. */
29 #cmakedefine HAVE_GETPWUID_R 1
30
31 /* Define to 1 if you have the `getpwent_r' function. */
32 #cmakedefine HAVE_GETPWENT_R 1
33
34 /* Define to 1 if you have the `getgrnam_r' function. */
35 #cmakedefine HAVE_GETGRNAM_R 1
36
37 /* Define to 1 if you have the `getgrgid_r' function. */
38 #cmakedefine HAVE_GETGRGID_R 1
39
40 /* Define to 1 if you have the `getgrent_r' function. */
41 #cmakedefine HAVE_GETGRENT_R 1
42
43 /* Define to 1 if you have the `getgrouplist' function. */
44 #cmakedefine HAVE_GETGROUPLIST 1
45
46 /* Define to 1 if you have the `gethostbyaddr_r' function. */
47 #cmakedefine HAVE_GETHOSTBYADDR_R 1
48
49 /* Define to 1 if you have the `gethostbyname_r' function. */
50 #cmakedefine HAVE_GETHOSTBYNAME_R 1
51
52 #cmakedefine HAVE___POSIX_GETPWNAM_R 1
53 #cmakedefine HAVE___POSIX_GETPWUID_R 1
54
55 #cmakedefine HAVE___POSIX_GETGRGID_R 1
56 #cmakedefine HAVE___POSIX_GETGRNAM_R 1
57
58 /*************************** LIBRARIES ***************************/
59
60
61 /**************************** OPTIONS ****************************/
62
63 #cmakedefine SOLARIS_GETPWENT_R 1
64 #cmakedefine SOLARIS_GETGRENT_R 1
65 #cmakedefine BSD_SETGRENT 1
66 #cmakedefine LINUX_GETNAMEINFO 1
67
68 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
69 #cmakedefine HAVE_IPV6 1
70
71 /*************************** ENDIAN *****************************/
72
73 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
74    significant byte first (like Motorola and SPARC, unlike Intel). */
75 #cmakedefine WORDS_BIGENDIAN 1