]> sjero.net Git - wget/blobdiff - src/config.h.in
[svn] A bunch of new features:
[wget] / src / config.h.in
index 633e8bf1fbf0547f12bdefe27681be7b2bdae729..ed200e3259529fb37619c261d01dcd46198b44c0 100644 (file)
@@ -66,6 +66,17 @@ char *alloca ();
    significant byte first).  */
 #undef WORDS_BIGENDIAN
 
+/* Define to the length of long. */
+#undef SIZEOF_LONG
+
+/* Define to the length of long long. */
+#undef SIZEOF_LONG_LONG
+
+#undef HAVE_LONG_LONG
+#if SIZEOF_LONG_LONG != 0
+# define HAVE_LONG_LONG
+#endif
+
 /* Define this if you want the NLS support.  */
 #undef HAVE_NLS
 
@@ -90,6 +101,9 @@ char *alloca ();
 /* Define if you have the uname function.  */
 #undef HAVE_UNAME
 
+/* Define if you have a working version of mmap.  */
+#undef HAVE_MMAP
+
 /* Define if you have the gethostname function.  */
 #undef HAVE_GETHOSTNAME
 
@@ -108,6 +122,9 @@ char *alloca ();
 /* Define if you have the strerror function.  */
 #undef HAVE_STRERROR
 
+/* Define if you have the snprintf function.  */
+#undef HAVE_SNPRINTF
+
 /* Define if you have the vsnprintf function.  */
 #undef HAVE_VSNPRINTF
 
@@ -180,4 +197,25 @@ char *alloca ();
 /* Define to 1 if ANSI function prototypes are usable.  */
 #undef PROTOTYPES
 
+/* Debian says:
+
+   to get prototype for strptime, we need this  (taken from lftp)
+   #ifdef __linux__
+   #define __USE_XOPEN 1
+   #endif
+
+   But I don't think that's right.  The __USE_XOPEN thing is an
+   internal glibc2 thing that gets defined in features.h.  From
+   reading that file carefully, I think we need something like this
+   incantation to get the kind of features we use.
+
+   However, testing Wget under Solaris showed that compilation of
+   connect.c chokes because of the _XOPEN_SOURCE definition.  So I'm
+   disabling it.  If anyone understands this maze, please help!  */
+
+#ifdef __linux__
+# define _XOPEN_SOURCE 500
+# define _SVID_SOURCE
+#endif
+
 #endif /* CONFIG_H */