X-Git-Url: https://git.gag.com/?p=debian%2Fcpmtools;a=blobdiff_plain;f=config.h.in;fp=config.h.in;h=248577cd7466bf93791ffc3f4bffaa61e4709460;hp=89d2d7b2929056e41706b19808664af0bdfaf04d;hb=0244ff6db7cb417c6210118e14ebc8a11924b7f6;hpb=be51a0b47ec4edacc689851a88ec6172737cb61c diff --git a/config.h.in b/config.h.in index 89d2d7b..248577c 100644 --- a/config.h.in +++ b/config.h.in @@ -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 -#endif - -#if HAVE_SYS_TYPES_H -#include +#undef HAVE_FCNTL_H +#ifdef HAVE_FCNTL_H +#include #endif -#if HAVE_LIMITS_H +#undef HAVE_LIMITS_H +#ifdef HAVE_LIMITS_H #include #endif -#if HAVE_UNISTD_H +#undef HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H #include #endif -#if HAVE_WINDOWS_H +#undef HAVE_WINDOWS_H +#ifdef HAVE_WINDOWS_H #include #endif -#if HAVE_WINIOCTL_H +#undef HAVE_WINIOCTL_H +#ifdef HAVE_WINIOCTL_H #include #endif -#if HAVE_LIBDSK_H +#undef HAVE_LIBDSK_H +#ifdef HAVE_LIBDSK_H #include #endif -#if HAVE_FCNTL_H -#include +#undef HAVE_SYS_TYPES_H +#ifdef HAVE_SYS_TYPES_H +#include #endif -#ifndef _POSIX_PATH_MAX -#define _POSIX_PATH_MAX _MAX_PATH +#undef HAVE_SYS_STAT_H +#ifdef HAVE_SYS_STAT_H +#include #endif -#include +#undef HAVE_SYS_UTIME_H +#ifdef HAVE_SYS_UTIME_H +#include +#endif + +#undef HAVE_UTIME_H +#ifdef HAVE_UTIME_H +#include +#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. + */