cmake: Check for getprogname() and getexecname()
[nss_wrapper.git] / config.h.cmake
index f9ed5576577c9ca12d0e36e1513d8509fb1a514e..de0b5dfba27d6e1fec2a45693cd85407b36808a7 100644 (file)
@@ -1,8 +1,8 @@
 /* Name of package */
-#cmakedefine PACKAGE "${APPLICATION_NAME}"
+#cmakedefine PACKAGE "${PROJECT_NAME}"
 
 /* Version number of package */
-#cmakedefine VERSION "${APPLICATION_VERSION}"
+#cmakedefine VERSION "${PROJECT_VERSION}"
 
 #cmakedefine LOCALEDIR "${LOCALE_INSTALL_DIR}"
 #cmakedefine DATADIR "${DATADIR}"
@@ -16,6 +16,7 @@
 
 #cmakedefine HAVE_SYS_TYPES_H 1
 #cmakedefine HAVE_PWD_H 1
+#cmakedefine HAVE_SHADOW_H 1
 #cmakedefine HAVE_GRP_H 1
 #cmakedefine HAVE_NSS_H 1
 #cmakedefine HAVE_NSS_COMMON_H 1
 /* Define to 1 if you have the `getpwent_r' function. */
 #cmakedefine HAVE_GETPWENT_R 1
 
+/* Define to 1 if you have the `setspent' function. */
+#cmakedefine HAVE_SETSPENT 1
+
+/* Define to 1 if you have the `getspnam' function. */
+#cmakedefine HAVE_GETSPNAM 1
+
 /* Define to 1 if you have the `getgrnam_r' function. */
 #cmakedefine HAVE_GETGRNAM_R 1
 
 /* Define to 1 if you have the `gethostbyname_r' function. */
 #cmakedefine HAVE_GETHOSTBYNAME_R 1
 
+/* Define to 1 if you have the `gethostbyname2' function. */
+#cmakedefine HAVE_GETHOSTBYNAME2 1
+
+#cmakedefine HAVE_GETPROGNAME 1
+#cmakedefine HAVE_GETEXECNAME 1
+
 #cmakedefine HAVE___POSIX_GETPWNAM_R 1
 #cmakedefine HAVE___POSIX_GETPWUID_R 1
 
 
 /*************************** LIBRARIES ***************************/
 
+#cmakedefine HAVE_LIBNSL 1
+#cmakedefine HAVE_LIBSOCKET 1
 
 /**************************** OPTIONS ****************************/
 
-#cmakedefine SOLARIS_GETPWENT_R 1
-#cmakedefine SOLARIS_GETGRENT_R 1
-#cmakedefine BSD_SETGRENT 1
-#cmakedefine LINUX_GETNAMEINFO 1
+#cmakedefine HAVE_SOLARIS_GETPWENT_R 1
+#cmakedefine HAVE_SOLARIS_GETPWNAM_R 1
+#cmakedefine HAVE_SOLARIS_GETPWUID_R 1
+#cmakedefine HAVE_SOLARIS_GETGRENT_R 1
+#cmakedefine HAVE_SOLARIS_GETGRNAM_R 1
+#cmakedefine HAVE_SOLARIS_GETGRGID_R 1
+#cmakedefine HAVE_SOLARIS_SETHOSTENT 1
+#cmakedefine HAVE_SOLARIS_ENDHOSTENT 1
+#cmakedefine HAVE_SOLARIS_GETHOSTNAME 1
+#cmakedefine HAVE_BSD_SETGRENT 1
+#cmakedefine HAVE_LINUX_GETNAMEINFO 1
+#cmakedefine HAVE_LINUX_GETNAMEINFO_UNSIGNED 1
+#cmakedefine HAVE_GETADDRINFO_SETS_CANONNAME_FOR_IPADDRESSES 1
+#cmakedefine HAVE_GETADDRINFO_USES_EAI_SERVICE 1
+#cmakedefine HAVE_NONNULL_GETHOSTENT 1
 
 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_CLASS 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_CHANGE 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_EXPIRE 1
+
 #cmakedefine HAVE_IPV6 1
 
+#cmakedefine HAVE_ATTRIBUTE_PRINTF_FORMAT 1
+#cmakedefine HAVE_CONSTRUCTOR_ATTRIBUTE 1
+#cmakedefine HAVE_DESTRUCTOR_ATTRIBUTE 1
+
 /*************************** ENDIAN *****************************/
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most