move to debhelper compat 13, hopefully fixes cross-building
[debian/cpmtools] / config.h.in
index 17394598df76734a2e50adce9fe2360246fc0458..248577cd7466bf93791ffc3f4bffaa61e4709460 100644 (file)
@@ -1,54 +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_DMALLOC_H 0
-#define HAVE_SYS_TYPES_H 0
-#define HAVE_SYS_STAT_H 0
-#define HAVE_MODE_T 0
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#if HAVE_DMALLOC_H
-#include <dmalloc.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
 
+#undef HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
+#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
+
 #ifndef _POSIX_PATH_MAX
 #define _POSIX_PATH_MAX _MAX_PATH
 #endif
 
-#include <time.h>
+/* 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.
+ */