Update to autoconf 2.5x.

This commit is contained in:
Martin v. Löwis 2002-04-12 09:54:03 +00:00
parent 85cc1c4368
commit 1143799df9
4 changed files with 13671 additions and 4956 deletions

View File

@ -1,30 +1,15 @@
/* 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
@ -40,26 +25,8 @@
/* 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

16797
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,28 @@
dnl Process this file with autoconf 2.0 or later to make a configure script.
AC_REVISION($Revision$)
AC_PREREQ(2.0)
AC_PREREQ(2.50)
AC_INIT(Include/object.h)
AC_CONFIG_HEADER(pyconfig.h)
# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.
AH_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
])
# Set VERSION so we only need to edit in one place (i.e., here)
AC_SUBST(VERSION)
VERSION=2.3
@ -1065,6 +1084,14 @@ if test "${with_thread+set}" != set; then
fi],
AC_MSG_RESULT(no))
# Templates for things AC_DEFINEd more than once.
# For a single AC_DEFINE, no template is needed.
AH_TEMPLATE(C_THREADS,[Define if you have the Mach cthreads package])
AH_TEMPLATE(_REENTRANT,
[Define to force use of thread-safe errno, h_errno, and other functions])
AH_TEMPLATE(WITH_THREAD,
[Define if you want to compile in rudimentary thread support])
AC_MSG_CHECKING(for --with-threads)
AC_ARG_WITH(threads,
[ --with(out)-threads[=DIRECTORY] disable/enable thread support])
@ -1237,6 +1264,7 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
fi
# Check for enable-ipv6
AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified])
AC_MSG_CHECKING([if --enable-ipv6 is specified])
AC_ARG_ENABLE(ipv6,
[ --enable-ipv6 Enable ipv6 (with ipv4) support
@ -1869,6 +1897,9 @@ AC_TRY_COMPILE([
AC_MSG_RESULT($va_list_is_array)
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
AH_TEMPLATE(HAVE_GETHOSTBYNAME_R,
[Define this if you have some version of gethostbyname_r()])
AC_CHECK_FUNC(gethostbyname_r, [
AC_DEFINE(HAVE_GETHOSTBYNAME_R)
AC_MSG_CHECKING([gethostbyname_r with 6 args])
@ -2062,6 +2093,8 @@ ucs4) unicode_size="4"
;;
esac
AH_TEMPLATE(PY_UNICODE_TYPE,
[Define as the integral type used for Unicode representation.])
AC_SUBST(UNICODE_OBJS)
if test "$enable_unicode" = "no"
then

File diff suppressed because it is too large Load Diff