summaryrefslogtreecommitdiffstats
path: root/AppPkg
diff options
context:
space:
mode:
authorDaryl McDaniel <edk2-lists@mc2research.org>2015-12-29 02:53:10 +0000
committerdarylm503 <darylm503@Edk2>2015-12-29 02:53:10 +0000
commit3af580851537bbd7e8202db77aea82a6dd54a1d5 (patch)
tree1c351457a0a73f3935c70697df2200c413af4237 /AppPkg
parent5346adbb18004b27a1ca428f40efa815c31f617e (diff)
downloadedk2-3af580851537bbd7e8202db77aea82a6dd54a1d5.tar.gz
edk2-3af580851537bbd7e8202db77aea82a6dd54a1d5.tar.bz2
edk2-3af580851537bbd7e8202db77aea82a6dd54a1d5.zip
AppPkg/Applications/Python/Python-2.7.10/*/pyconfig.h: Update pyconfig for Python 2.7.10 compliance.
Add new constants required for Python 2.7.10. Update package and help values. Define networking constants so that the getaddrinfo, gethostbyname, and getnameinfo functions are used from the sockets package. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19553 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'AppPkg')
-rw-r--r--AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h9
-rw-r--r--AppPkg/Applications/Python/X64/pyconfig.h66
2 files changed, 60 insertions, 15 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h b/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h
index 02808583b5..cce0a00bc3 100644
--- a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h
+++ b/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h
@@ -289,7 +289,8 @@
#endif
/* Define if you have the getaddrinfo function. */
-#undef HAVE_GETADDRINFO
+//#undef HAVE_GETADDRINFO
+#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the 'getcwd' function. */
#define HAVE_GETCWD 1
@@ -304,7 +305,8 @@
#undef HAVE_GETGROUPS
/* Define to 1 if you have the 'gethostbyname' function. */
-#undef HAVE_GETHOSTBYNAME
+//#undef HAVE_GETHOSTBYNAME
+#define HAVE_GETHOSTBYNAME 1
/* Define this if you have some version of gethostbyname_r() */
#undef HAVE_GETHOSTBYNAME_R
@@ -328,7 +330,8 @@
#undef HAVE_GETLOGIN
/* Define to 1 if you have the 'getnameinfo' function. */
-#undef HAVE_GETNAMEINFO
+//#undef HAVE_GETNAMEINFO
+#define HAVE_GETNAMEINFO 1
/* Define if you have the 'getpagesize' function. */
#undef HAVE_GETPAGESIZE
diff --git a/AppPkg/Applications/Python/X64/pyconfig.h b/AppPkg/Applications/Python/X64/pyconfig.h
index d0b6df9bdc..325c0cb687 100644
--- a/AppPkg/Applications/Python/X64/pyconfig.h
+++ b/AppPkg/Applications/Python/X64/pyconfig.h
@@ -1,6 +1,7 @@
/** @file
Manually generated Python Configuration file for EDK II.
+ Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>
Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
@@ -67,6 +68,9 @@
/* Define to 1 if you have the 'alarm' function. */
#undef HAVE_ALARM
+/* Define to 1 if you have the <alloca.h> header file. */
+#undef HAVE_ALLOCA_H
+
/* Define this if your time.h defines altzone. */
#undef HAVE_ALTZONE
@@ -109,6 +113,9 @@
/* define to 1 if your sem_getvalue is broken. */
#define HAVE_BROKEN_SEM_GETVALUE 1
+/* Define if 'unsetenv' does not return an int. */
+#undef HAVE_BROKEN_UNSETENV
+
/* Define this if you have the type _Bool. */
#define HAVE_C99_BOOL 1
@@ -170,10 +177,10 @@
/* Define to 1 if you have the device macros. */
#undef HAVE_DEVICE_MACROS
-/* Define if we have /dev/ptc. */
+/* Define to 1 if you have the /dev/ptc device file. */
#undef HAVE_DEV_PTC
-/* Define if we have /dev/ptmx. */
+/* Define to 1 if you have the /dev/ptmx device file. */
#undef HAVE_DEV_PTMX
/* Define to 1 if you have the <direct.h> header file. */
@@ -282,7 +289,8 @@
#endif
/* Define if you have the getaddrinfo function. */
-#undef HAVE_GETADDRINFO
+//#undef HAVE_GETADDRINFO
+#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the 'getcwd' function. */
#define HAVE_GETCWD 1
@@ -290,11 +298,15 @@
/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
#undef HAVE_GETC_UNLOCKED
+/* Define to 1 if you have the 'getentropy' function. */
+#undef HAVE_GETENTROPY
+
/* Define to 1 if you have the 'getgroups' function. */
#undef HAVE_GETGROUPS
/* Define to 1 if you have the 'gethostbyname' function. */
-#undef HAVE_GETHOSTBYNAME
+//#undef HAVE_GETHOSTBYNAME
+#define HAVE_GETHOSTBYNAME 1
/* Define this if you have some version of gethostbyname_r() */
#undef HAVE_GETHOSTBYNAME_R
@@ -318,7 +330,8 @@
#undef HAVE_GETLOGIN
/* Define to 1 if you have the 'getnameinfo' function. */
-#undef HAVE_GETNAMEINFO
+//#undef HAVE_GETNAMEINFO
+#define HAVE_GETNAMEINFO 1
/* Define if you have the 'getpagesize' function. */
#undef HAVE_GETPAGESIZE
@@ -383,6 +396,12 @@
/* Define to 1 if you have the 'initgroups' function. */
#undef HAVE_INITGROUPS
+/* Define if your compiler provides int32_t. */
+#undef HAVE_INT32_T
+
+/* Define if your compiler provides int64_t. */
+#undef HAVE_INT64_T
+
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
@@ -479,6 +498,9 @@
/* Define to 1 if you have the 'mktime' function. */
#define HAVE_MKTIME 1
+/* Define to 1 if you have the 'mmap' function. */
+#undef HAVE_MMAP
+
/* Define to 1 if you have the 'mremap' function. */
#undef HAVE_MREMAP
@@ -524,6 +546,9 @@
/* Define if you have GNU PTH threads. */
#undef HAVE_PTH
+/* Define to 1 if you have the 'pthread_atfork' function. */
+#undef HAVE_PTHREAD_ATFORK
+
/* Defined for Solaris 2.6 bug in pthread header. */
#undef HAVE_PTHREAD_DESTRUCTOR
@@ -542,6 +567,9 @@
/* Define to 1 if you have the 'putenv' function. */
#undef HAVE_PUTENV
+/* Define if the libcrypto has RAND_egd */
+#undef HAVE_RAND_EGD
+
/* Define to 1 if you have the 'readlink' function. */
#undef HAVE_READLINK
@@ -717,6 +745,12 @@
/* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_RDEV
+/* Define to 1 if 'st_dev' is a member of 'struct stat'. */
+#undef HAVE_STRUCT_STAT_ST_DEV
+
+/* Define to 1 if 'st_ino' is a member of 'struct stat'. */
+#undef HAVE_STRUCT_STAT_ST_INO
+
/* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
@@ -863,6 +897,12 @@
/* Define this if you have tcl and TCL_UTF_MAX==6 */
#undef HAVE_UCS4_TCL
+/* Define if your compiler provides uint32_t. */
+#undef HAVE_UINT32_T
+
+/* Define if your compiler provides uint64_t. */
+#undef HAVE_UINT64_T
+
/* Define to 1 if the system has the type 'uintptr_t'. */
#define HAVE_UINTPTR_T 1
@@ -932,22 +972,22 @@
#undef MVWDELCH_IS_EXPRESSION
/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "edk2-devel@lists.sourceforge.net"
+#define PACKAGE_BUGREPORT "edk2-devel@lists.01.org"
/* Define to the full name of this package. */
-#define PACKAGE_NAME "EDK II Python Package"
+#define PACKAGE_NAME "EDK II Python 2.7.10 Package"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "EDK II Python Package V0.8"
+#define PACKAGE_STRING "EDK II Python 2.7.10 Package V0.1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "EADK_Python"
/* Define to the home page for this package. */
-#define PACKAGE_URL "http://edk2.tianocore.org/toolkit/python"
+#define PACKAGE_URL "http://edk2.tianocore.org/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "V0.8"
+#define PACKAGE_VERSION "V0.1"
/* Define if POSIX semaphores aren't enabled on your system */
#define POSIX_SEMAPHORES_NOT_ENABLED 1
@@ -1160,13 +1200,14 @@
/* This must be defined on some systems to enable large file support. */
#undef _LARGEFILE_SOURCE
+/* This must be defined on AIX systems to enable large file support. */
+#undef _LARGE_FILES
+
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define on NetBSD to activate all library features */
-#ifndef _NETBSD_SOURCE
#define _NETBSD_SOURCE 1
-#endif
/* Define _OSF_SOURCE to get the makedev macro. */
#undef _OSF_SOURCE
@@ -1264,3 +1305,4 @@
//#undef volatile
#endif /*Py_PYCONFIG_H*/
+