[Python-checkins] CVS: python/dist/src acconfig.h,1.59,1.60 configure,1.293,1.294 configure.in,1.303,1.304 pyconfig.h.in,1.25,1.26

Guido van Rossum guido@python.org
Thu, 11 Apr 2002 10:48:26 -0400


[resend, email from me to sf bounces.]

> Move autoheader declarations into configure.in.

Very cool.  What autoconf feature was it that we weren't using enough?

Can you explain how you obtained the set of symbols that remain in
acconfig.h?  (Appended)

--Guido van Rossum (home page: http://www.python.org/~guido/)

/* Leave this blank line here -- autoheader needs it! */


/* Define if you have the Mach cthreads package */
#undef C_THREADS

/* Define if --enable-ipv6 is specified */
#undef ENABLE_IPV6

/* Define this if you have gethostbyname() */
#undef HAVE_GETHOSTBYNAME

/* Define this if you have some version of gethostbyname_r() */
#undef HAVE_GETHOSTBYNAME_R

/* Define if you have termios available */
#undef HAVE_TERMIOS_H

/* Define as the integral type used for Unicode representation. */
#undef PY_UNICODE_TYPE

/* Define as the size of the unicode type. */
#undef Py_UNICODE_SIZE

/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT

/* sizeof(void *) */
#undef SIZEOF_VOID_P

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef socklen_t

/* Define for SOLARIS 2.x */
#undef SOLARIS

/* Define if you want to use BSD db. */
#undef WITH_LIBDB

/* Define if you want to use ndbm. */
#undef WITH_LIBNDBM

/* Define if you want to compile in rudimentary thread support */
#undef WITH_THREAD


/* Leave that blank line there-- autoheader needs it! */

@BOTTOM@

#ifdef __CYGWIN__
#ifdef USE_DL_IMPORT
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#else
#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#endif
#endif

/* Define the macros needed if on a UnixWare 7.x system. */
#if defined(__USLC__) && defined(__SCO_VERSION__)
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
#endif