cmake: Check if the libc provides gethostby(addr|name)_r().
[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 /*************************** LIBRARIES ***************************/
53
54
55 /**************************** OPTIONS ****************************/
56
57 #cmakedefine SOLARIS_GETPWENT_R 1
58 #cmakedefine SOLARIS_GETGRENT_R 1
59 #cmakedefine BSD_SETGRENT 1
60
61 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
62 #cmakedefine HAVE_IPV6 1
63
64 /*************************** ENDIAN *****************************/
65
66 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
67    significant byte first (like Motorola and SPARC, unlike Intel). */
68 #cmakedefine WORDS_BIGENDIAN 1