Permalink
Browse files

Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack aut…

…otools support
  • Loading branch information...
1 parent 6b868df commit dc3ed353132f853dc3ddee410a4f9423534a8289 @yangtse yangtse committed Oct 14, 2006
View
@@ -13,6 +13,8 @@ CFLAGS = -O2 -Wall -DWATT32 -Dselect=select_s -DHAVE_AF_INET6 \
-DHAVE_PF_INET6 -DHAVE_IOCTLSOCKET -DHAVE_STRUCT_IN6_ADDR \
-DHAVE_STRUCT_SOCKADDR_IN6 -DHAVE_STRUCT_ADDRINFO \
-DHAVE_ARPA_NAMESER_H -DNS_INADDRSZ=4 \
+ -DHAVE_SYS_TIME_H -DHAVE_TIME_H \
+ -DTIME_WITH_SYS_TIME -DHAVE_STRUCT_TIMEVAL \
-DHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID -I$(WATT32_ROOT)/inc
LDFLAGS = -s
View
@@ -316,9 +316,10 @@ config.h: Makefile.netware
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
@echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
@echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@
- @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
ifdef NW_WINSOCK
View
@@ -29,6 +29,12 @@
#define HAVE_GETOPT_H 1
#endif
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
+/* Define if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
/* Define if you have the <unistd.h> header file. */
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \
defined(__POCC__)
@@ -48,6 +54,16 @@
#define HAVE_WS2TCPIP_H 1
/* ---------------------------------------------------------------- */
+/* OTHER HEADER INFO */
+/* ---------------------------------------------------------------- */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+/* #define TIME_WITH_SYS_TIME 1 */
+
+/* ---------------------------------------------------------------- */
/* FUNCTIONS */
/* ---------------------------------------------------------------- */
@@ -121,6 +137,9 @@
/* Define this if you have struct sockaddr_storage */
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* ---------------------------------------------------------------- */
/* IPV6 COMPATIBILITY */
/* ---------------------------------------------------------------- */
View
@@ -359,9 +359,10 @@ config.h: Makefile.netware
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
@echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
@echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@
- @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
ifdef DISABLE_LDAP
View
@@ -39,6 +39,7 @@
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSTR 1
+#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SOCKIO_H 1
View
@@ -15,6 +15,7 @@
#define HAVE_TIME_H 1
#define HAVE_STDLIB_H 1
#define HAVE_UTIME_H 1
+#define HAVE_SYS_TIME_H 1
#define TIME_WITH_SYS_TIME 1
@@ -27,6 +28,7 @@
#define HAVE_MEMCPY 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
+#define HAVE_STRUCT_TIMEVAL 1
//#define HAVE_STRICMP 1
#define HAVE_SIGACTION 1
View
@@ -119,6 +119,9 @@
/* Define if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY
+/* Define if you have the `timeval' struct. */
+#define HAVE_STRUCT_TIMEVAL
+
/* Define if you have the `inet_addr' function. */
#undef HAVE_INET_ADDR
View
@@ -475,6 +475,9 @@
/* if struct sockaddr_storage is defined */
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE */
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* Define to 1 if you have the <sys/filio.h> header file. */
#define HAVE_SYS_FILIO_H 1
View
@@ -81,6 +81,9 @@
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
@@ -335,6 +338,9 @@
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#endif
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */
View
@@ -75,6 +75,9 @@
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
/* Define if you have the <sys/types.h> header file. */
/* #define HAVE_SYS_TYPES_H 1 */
@@ -307,6 +310,9 @@
/* Define this if you have struct sockaddr_storage */
/* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */
View
@@ -56,6 +56,7 @@
#define HAVE_STRICMP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOLL 1
+#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
View
@@ -345,6 +345,7 @@ config.h: Makefile.netware
@echo $(DL)#define SIZEOF_CURL_OFF_T 4$(DL) >> $@
@echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
endif
View
@@ -17,6 +17,7 @@
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
+#define HAVE_STRUCT_TIMEVAL 1
#if 0
# define HAVE_TERMIOS_H 1
View
@@ -10,6 +10,11 @@
#define HAVE_UTIME 1
#define HAVE_FTRUNCATE 1
+#define HAVE_TIME_H 1
+#define HAVE_SYS_TIME_H 1
+#define TIME_WITH_SYS_TIME 1
+#define HAVE_STRUCT_TIMEVAL 1
+
#define main(x,y) curl_main(x,y)
/* we provide our own strdup prototype */
View
@@ -125,6 +125,9 @@
/* Define if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY
+/* Define if you have the `timeval' struct. */
+#define HAVE_STRUCT_TIMEVAL
+
/* Define if you have the `inet_addr' function. */
#undef HAVE_INET_ADDR
View
@@ -21,6 +21,15 @@
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
+/* Define if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
/* Define if you have the <sys/utime.h> header file. */
#ifndef __BORLANDC__
#define HAVE_SYS_UTIME_H 1
@@ -44,6 +53,16 @@
#define HAVE_WS2TCPIP_H 1
/* ---------------------------------------------------------------- */
+/* OTHER HEADER INFO */
+/* ---------------------------------------------------------------- */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+/* #define TIME_WITH_SYS_TIME 1 */
+
+/* ---------------------------------------------------------------- */
/* FUNCTIONS */
/* ---------------------------------------------------------------- */
@@ -65,6 +84,18 @@
#endif
/* ---------------------------------------------------------------- */
+/* STRUCT RELATED */
+/* ---------------------------------------------------------------- */
+
+/* Define this if you have struct sockaddr_storage */
+#ifndef __SALFORDC__
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+#endif
+
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
+/* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */
/* ---------------------------------------------------------------- */

0 comments on commit dc3ed35

Please sign in to comment.