[OpenAFS-devel] updated afsconfig.h to use with afsconfig'ized des

nneul@umr.edu nneul@umr.edu
Tue, 15 May 2001 09:07:43 -0500


Index: afsconfig.h.in
===================================================================
RCS file: /cvs/openafs/src/afsconfig.h.in,v
retrieving revision 1.1
diff -u -r1.1 afsconfig.h.in
--- afsconfig.h.in	2001/05/14 21:24:27	1.1
+++ afsconfig.h.in	2001/05/15 14:07:43
@@ -13,6 +13,7 @@
 #define HAVE_STRING_H
 
 #ifdef AFS_NT40_ENV
+#define HAVE_WINDOWS_H
 #define HAVE_MALLOC_H
 #define HAVE_WINSOCK2_H
 #define HAVE_DIRECT_H
@@ -22,6 +23,10 @@
 #ifndef AFS_NT40_ENV
 #define HAVE_UNISTD_H
 #define HAVE_FCNTL_H
+#define HAVE_SYS_TIME_H
+#define HAVE_SYS_FILE_H
+#define HAVE_NETINET_IN_H
+#define HAVE_NETDB_H
 #endif
 
 #ifdef AFS_SUN5_ENV
@@ -30,13 +35,11 @@
 #define HAVE_SYS_MNTENT_H
 #endif
 
-#if defined(AFS_SUN_ENV) || defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV)
+#if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV))
 #define HAVE_MNTENT_H
 #endif
 
-#if defined(AFS_OSF_ENV) || defined(AFS_DEC_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-#define HAVE_SYS_MOUNT_H
-#else
+#if !defined(AFS_OSF_ENV) && !defined(AFS_DEC_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_FBSD_ENV)
 #define HAVE_SYS_VFS_H
 #endif
 
@@ -45,8 +48,26 @@
 #define HAVE_SYS_FS_TYPES_H
 #endif
 
-#ifdef AFS_AIX41_ENV
+#if !defined(AFS_AIX41_ENV)
 #define HAVE_SYS_MOUNT_H
 #endif
+
+#if defined(AFS_SUN5_ENV) || defined(AFS_SGI_ENV) || defined(AFS_LINUX22_ENV)
+#define HAVE_STRINGS_H
+#define HAVE_STRING_H
+#else
+#define HAVE_STRING_H
+#endif
+
+#if defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV)
+#define HAVE_TERMIOS_H
+#elif defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
+#define HAVE_TERMIOS_H
+#endif
+
+#if defined(AFS_SGI_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
+#define HAVE_SIGNAL_H
+#endif
+
 
 #endif /* AFSCONFIG_H */