1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Don't tweak the HAVE_* macros when using autoconf

This commit is contained in:
Dan Fandrich 2008-11-28 23:12:11 +00:00
parent e4dabef0c7
commit bc165078a2

View File

@ -107,6 +107,18 @@
#define ssize_t int #define ssize_t int
#endif #endif
#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
#define HAVE_SYS_TIME_H
#endif
#if !defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#define HAVE_UNISTD_H 1
#endif
#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
#define HAVE_SYS_UIO_H
#endif
#endif /* HAVE_CONFIG_H */ #endif /* HAVE_CONFIG_H */
/* /*
@ -123,22 +135,6 @@
#undef VERSION #undef VERSION
#undef PACKAGE #undef PACKAGE
/*
* Assume a few thing unless they're set by configure
*/
#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
#define HAVE_SYS_TIME_H
#endif
#if !defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#define HAVE_UNISTD_H 1
#endif
#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
#define HAVE_SYS_UIO_H
#endif
/* IPv6 compatibility */ /* IPv6 compatibility */
#if !defined(HAVE_AF_INET6) #if !defined(HAVE_AF_INET6)
#if defined(HAVE_PF_INET6) #if defined(HAVE_PF_INET6)