Update upstream source from tag 'upstream/2.23'
[debian/cpmtools] / config.h.in
index 89d2d7b2929056e41706b19808664af0bdfaf04d..248577cd7466bf93791ffc3f4bffaa61e4709460 100644 (file)
@@ -1,56 +1,71 @@
-#define HAVE_FCNTL_H 0
-#define HAVE_LIMITS_H 0
-#define HAVE_UNISTD_H 0
-#define HAVE_WINDOWS_H 0
-#define HAVE_WINIOCTL_H 0
-#define HAVE_LIBDSK_H 0
-#define HAVE_SYS_TYPES_H 0
-#define HAVE_SYS_STAT_H 0
-#define HAVE_MODE_T 0
-#define NEED_NCURSES 0
-#define HAVE_NCURSES_NCURSES_H 0
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
+#undef HAVE_FCNTL_H
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
 #endif
 
-#if HAVE_LIMITS_H
+#undef HAVE_LIMITS_H
+#ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
 
-#if HAVE_UNISTD_H
+#undef HAVE_UNISTD_H
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 
-#if HAVE_WINDOWS_H
+#undef HAVE_WINDOWS_H
+#ifdef HAVE_WINDOWS_H
 #include <windows.h>
 #endif
 
-#if HAVE_WINIOCTL_H
+#undef HAVE_WINIOCTL_H
+#ifdef HAVE_WINIOCTL_H
 #include <winioctl.h>
 #endif
 
-#if HAVE_LIBDSK_H
+#undef HAVE_LIBDSK_H
+#ifdef HAVE_LIBDSK_H
 #include <libdsk.h>
 #endif
 
-#if HAVE_FCNTL_H
-#include <fcntl.h>
+#undef HAVE_SYS_TYPES_H
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
 #endif
 
-#ifndef _POSIX_PATH_MAX
-#define _POSIX_PATH_MAX _MAX_PATH
+#undef HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
 #endif
 
-#include <time.h>
+#undef HAVE_SYS_UTIME_H
+#ifdef HAVE_SYS_UTIME_H
+#include <sys/utime.h>
+#endif
+
+#undef HAVE_UTIME_H
+#ifdef HAVE_UTIME_H
+#include <utime.h>
+#endif
+
+#undef NEED_NCURSES
+#undef HAVE_NCURSES_NCURSES_H
 
 /* Define either for large file support, if your OS needs them. */
 #undef _FILE_OFFSET_BITS
 #undef _LARGE_FILES
 
-/* Define if using dmalloc */
-#undef USE_DMALLOC
+#ifndef _POSIX_PATH_MAX
+#define _POSIX_PATH_MAX _MAX_PATH
+#endif
+
+/* There is not standard header for this, yet it is needed for
+ * timezone changes.
+ */
+#ifndef environ
+extern char **environ;
+#endif
+
+/* If types are missing, the script defines.awk contained
+ * in configure.status should create definitions here.
+ */