]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Ipf/pyconfig.h
AppPkg/Applications/Python: Get Python startup process fully working for EDK II.
[mirror_edk2.git] / AppPkg / Applications / Python / Ipf / pyconfig.h
index cad7132c8c2a1a5813b4d65116e8fdd0a6b25a07..3d8d03bd22dd33425ca3c3e2bf84df55b6314ef6 100644 (file)
@@ -1,9 +1,24 @@
-/* pyconfig.h.in.  Generated from configure.in by autoheader.  */\r
-\r
-\r
+/** @file\r
+    Manually generated Python Configuration file for EDK II.\r
+\r
+    Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+    This program and the accompanying materials are licensed and made available under\r
+    the terms and conditions of the BSD License that accompanies this distribution.\r
+    The full text of the license may be found at\r
+    http://opensource.org/licenses/bsd-license.\r
+\r
+    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+**/\r
 #ifndef Py_PYCONFIG_H\r
 #define Py_PYCONFIG_H\r
 \r
+#include  <Uefi.h>\r
+\r
+/* Define to indicate that code is being built to run in the UEFI Environment. */\r
+#define UEFI_ENV    EFI_SYSTEM_TABLE_REVISION\r
+\r
+#define PLATFORM    "UEFI"\r
 \r
 /* Define if building universal (internal helper macro) */\r
 #undef AC_APPLE_UNIVERSAL_BUILD\r
 #undef HAVE_BROKEN_POLL\r
 \r
 /* Define if the Posix semaphores do not work on your system */\r
-#define HAVE_BROKEN_POSIX_SEMAPHORES\r
+#define HAVE_BROKEN_POSIX_SEMAPHORES  1\r
 \r
 /* Define if pthread_sigmask() does not work on your system. */\r
-#define HAVE_BROKEN_PTHREAD_SIGMASK\r
+#define HAVE_BROKEN_PTHREAD_SIGMASK   1\r
 \r
 /* define to 1 if your sem_getvalue is broken. */\r
-#undef HAVE_BROKEN_SEM_GETVALUE\r
+#define HAVE_BROKEN_SEM_GETVALUE      1\r
 \r
 /* Define this if you have the type _Bool. */\r
-#define HAVE_C99_BOOL\r
+#define HAVE_C99_BOOL                 1\r
 \r
 /* Define to 1 if you have the `chflags' function. */\r
 #undef HAVE_CHFLAGS\r
 #undef HAVE_CHROOT\r
 \r
 /* Define to 1 if you have the `clock' function. */\r
-#define HAVE_CLOCK\r
+#define HAVE_CLOCK                    1\r
 \r
 /* Define to 1 if you have the `confstr' function. */\r
 #undef HAVE_CONFSTR\r
 #undef HAVE_CONIO_H\r
 \r
 /* Define to 1 if you have the `copysign' function. */\r
-#define HAVE_COPYSIGN   1\r
+#undef HAVE_COPYSIGN\r
 \r
 /* Define to 1 if you have the `ctermid' function. */\r
 #undef HAVE_CTERMID\r
 \r
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.\r
    */\r
-#undef HAVE_DIRENT_H\r
+#define HAVE_DIRENT_H   1\r
 \r
 /* Define to 1 if you have the <dlfcn.h> header file. */\r
 #undef HAVE_DLFCN_H\r
 #undef HAVE_GETADDRINFO\r
 \r
 /* Define to 1 if you have the `getcwd' function. */\r
-#undef HAVE_GETCWD\r
+#define HAVE_GETCWD   1\r
 \r
 /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */\r
-#define HAVE_GETC_UNLOCKED\r
+#undef HAVE_GETC_UNLOCKED\r
 \r
 /* Define to 1 if you have the `getgroups' function. */\r
 #undef HAVE_GETGROUPS\r
 #undef HAVE_GETPAGESIZE\r
 \r
 /* Define to 1 if you have the `getpeername' function. */\r
-#undef HAVE_GETPEERNAME\r
+#define HAVE_GETPEERNAME  1\r
 \r
 /* Define to 1 if you have the `getpgid' function. */\r
 #undef HAVE_GETPGID\r
 #undef HAVE_IEEEFP_H\r
 \r
 /* Define if you have the 'inet_aton' function. */\r
-#undef HAVE_INET_ATON\r
+#define HAVE_INET_ATON    1\r
 \r
 /* Define if you have the 'inet_pton' function. */\r
-#undef HAVE_INET_PTON\r
+#define HAVE_INET_PTON    1\r
 \r
 /* Define to 1 if you have the `initgroups' function. */\r
 #undef HAVE_INITGROUPS\r
 #undef HAVE_KQUEUE\r
 \r
 /* Define to 1 if you have the <langinfo.h> header file. */\r
-#define HAVE_LANGINFO_H   1\r
+#undef HAVE_LANGINFO_H   /* non-functional in EFI. */\r
 \r
 /* Defined to enable large file support when an off_t is bigger than a long\r
    and long long is available and at least as big as an off_t. You may need to\r
 #undef HAVE_LOG1P\r
 \r
 /* Define this if you have the type long double. */\r
-#define HAVE_LONG_DOUBLE\r
+#undef HAVE_LONG_DOUBLE\r
 \r
 /* Define this if you have the type long long. */\r
-#define HAVE_LONG_LONG\r
+#define HAVE_LONG_LONG  1\r
 \r
 /* Define to 1 if you have the `lstat' function. */\r
 #define HAVE_LSTAT      1\r
 #undef HAVE_PLOCK\r
 \r
 /* Define to 1 if you have the `poll' function. */\r
-#undef HAVE_POLL\r
+#define HAVE_POLL         1\r
 \r
 /* Define to 1 if you have the <poll.h> header file. */\r
 #undef HAVE_POLL_H\r
 #undef HAVE_PROCESS_H\r
 \r
 /* Define if your compiler supports function prototype */\r
-#define HAVE_PROTOTYPES\r
+#define HAVE_PROTOTYPES   1\r
 \r
 /* Define if you have GNU PTH threads. */\r
 #undef HAVE_PTH\r
 #undef HAVE_READLINK\r
 \r
 /* Define to 1 if you have the `realpath' function. */\r
-#undef HAVE_REALPATH\r
+#define HAVE_REALPATH   1\r
 \r
 /* Define if you have readline 2.1 */\r
 #undef HAVE_RL_CALLBACK\r
 #undef HAVE_ROUND\r
 \r
 /* Define to 1 if you have the `select' function. */\r
-#undef HAVE_SELECT\r
+#define HAVE_SELECT       1\r
 \r
 /* Define to 1 if you have the `sem_getvalue' function. */\r
 #undef HAVE_SEM_GETVALUE\r
 #undef HAVE_SETUID\r
 \r
 /* Define to 1 if you have the `setvbuf' function. */\r
-#undef HAVE_SETVBUF\r
+#define HAVE_SETVBUF    1\r
 \r
 /* Define to 1 if you have the <shadow.h> header file. */\r
 #undef HAVE_SHADOW_H\r
 #undef HAVE_SPAWN_H\r
 \r
 /* Define if your compiler provides ssize_t */\r
-#undef HAVE_SSIZE_T\r
+#define HAVE_SSIZE_T    1\r
 \r
 /* Define to 1 if you have the `statvfs' function. */\r
 #undef HAVE_STATVFS\r
 \r
 /* Define if your compiler supports variable length function prototypes (e.g.\r
    void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */\r
-#define HAVE_STDARG_PROTOTYPES\r
+#define HAVE_STDARG_PROTOTYPES          1\r
 \r
 /* Define to 1 if you have the <stdint.h> header file. */\r
 #define HAVE_STDINT_H   1\r
 #define HAVE_SYS_PARAM_H    1\r
 \r
 /* Define to 1 if you have the <sys/poll.h> header file. */\r
-#undef HAVE_SYS_POLL_H\r
+#define HAVE_SYS_POLL_H                 1\r
 \r
 /* Define to 1 if you have the <sys/resource.h> header file. */\r
 #define HAVE_SYS_RESOURCE_H   1\r
 \r
 /* Define to 1 if you have the <sys/select.h> header file. */\r
-#undef HAVE_SYS_SELECT_H\r
+#define HAVE_SYS_SELECT_H               1\r
 \r
 /* Define to 1 if you have the <sys/socket.h> header file. */\r
-#undef HAVE_SYS_SOCKET_H\r
+#define HAVE_SYS_SOCKET_H               1\r
 \r
 /* Define to 1 if you have the <sys/statvfs.h> header file. */\r
 #undef HAVE_SYS_STATVFS_H\r
 #define HAVE_TEMPNAM      1\r
 \r
 /* Define to 1 if you have the <termios.h> header file. */\r
-#define HAVE_TERMIOS_H    1\r
+#undef HAVE_TERMIOS_H\r
 \r
 /* Define to 1 if you have the <term.h> header file. */\r
 #undef HAVE_TERM_H\r
 #undef HAVE_UNAME\r
 \r
 /* Define to 1 if you have the <unistd.h> header file. */\r
-#undef HAVE_UNISTD_H\r
+#define HAVE_UNISTD_H                   1\r
 \r
 /* Define to 1 if you have the `unsetenv' function. */\r
 #undef HAVE_UNSETENV\r
 /* Define if you have a useable wchar_t type defined in wchar.h; useable means\r
    wchar_t must be an unsigned type with at least 16 bits. (see\r
    Include/unicodeobject.h). */\r
-#define HAVE_USABLE_WCHAR_T\r
+#define HAVE_USABLE_WCHAR_T             1\r
 \r
 /* Define to 1 if you have the <util.h> header file. */\r
 #undef HAVE_UTIL_H\r
 #undef HAVE_UTIMES\r
 \r
 /* Define to 1 if you have the <utime.h> header file. */\r
-#undef HAVE_UTIME_H\r
+#define HAVE_UTIME_H    1\r
 \r
 /* Define to 1 if you have the `wait3' function. */\r
 #undef HAVE_WAIT3\r
 #undef HAVE_WAITPID\r
 \r
 /* Define if the compiler provides a wchar.h header file. */\r
-#define HAVE_WCHAR_H\r
+#define HAVE_WCHAR_H    1\r
 \r
 /* Define to 1 if you have the `wcscoll' function. */\r
-#undef HAVE_WCSCOLL\r
+#define HAVE_WCSCOLL    1\r
 \r
 /* Define if tzset() actually switches the local timezone in a meaningful way.\r
    */\r
-#define HAVE_WORKING_TZSET\r
+#undef HAVE_WORKING_TZSET\r
 \r
 /* Define if the zlib library has inflateCopy */\r
 #undef HAVE_ZLIB_COPY\r
 #undef MVWDELCH_IS_EXPRESSION\r
 \r
 /* Define to the address where bug reports for this package should be sent. */\r
-#undef PACKAGE_BUGREPORT\r
+#define PACKAGE_BUGREPORT   "edk2-devel@lists.sourceforge.net"\r
 \r
 /* Define to the full name of this package. */\r
-#define PACKAGE_NAME    EDK II Python Package\r
+#define PACKAGE_NAME    "EDK II Python Package"\r
 \r
 /* Define to the full name and version of this package. */\r
-#define PACKAGE_STRING  EDK II Python Package V0.1\r
+#define PACKAGE_STRING  "EDK II Python Package V0.2"\r
 \r
 /* Define to the one symbol short name of this package. */\r
-#define PACKAGE_TARNAME   UDK_Python\r
+#define PACKAGE_TARNAME   "EADK_Python"\r
 \r
 /* Define to the home page for this package. */\r
-#define PACKAGE_URL   http://edk2.tianocore.org/toolkit/python\r
+#define PACKAGE_URL   "http://edk2.tianocore.org/toolkit/python"\r
 \r
 /* Define to the version of this package. */\r
-#undef PACKAGE_VERSION  V0.1\r
+#define PACKAGE_VERSION  "V0.2"\r
 \r
 /* Define if POSIX semaphores aren't enabled on your system */\r
-#define POSIX_SEMAPHORES_NOT_ENABLED\r
+#define POSIX_SEMAPHORES_NOT_ENABLED    1\r
 \r
 /* Defined if PTHREAD_SCOPE_SYSTEM supported. */\r
 #undef PTHREAD_SYSTEM_SCHED_SUPPORTED\r
 #undef PYLONG_BITS_IN_DIGIT\r
 \r
 /* Define to printf format modifier for long long type */\r
-#undef PY_FORMAT_LONG_LONG\r
+#define PY_FORMAT_LONG_LONG   "ll"\r
 \r
 /* Define to printf format modifier for Py_ssize_t */\r
-#undef PY_FORMAT_SIZE_T\r
+#define PY_FORMAT_SIZE_T    "z"\r
 \r
 /* Define as the integral type used for Unicode representation. */\r
-#undef PY_UNICODE_TYPE\r
+#define PY_UNICODE_TYPE     wchar_t\r
 \r
 /* Define if you want to build an interpreter with many run-time checks. */\r
 #undef Py_DEBUG\r
 #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS\r
 \r
 /* The size of `double', as computed by sizeof. */\r
-#undef SIZEOF_DOUBLE\r
+#define SIZEOF_DOUBLE     8\r
 \r
 /* The size of `float', as computed by sizeof. */\r
-#undef SIZEOF_FLOAT\r
+#define SIZEOF_FLOAT      4\r
 \r
 /* The size of `fpos_t', as computed by sizeof. */\r
-#undef SIZEOF_FPOS_T\r
+#define SIZEOF_FPOS_T     8\r
 \r
 /* The size of `int', as computed by sizeof. */\r
-#undef SIZEOF_INT\r
+#define SIZEOF_INT        4\r
 \r
 /* The size of `long', as computed by sizeof. */\r
-#undef SIZEOF_LONG\r
+#if defined(_MSC_VER)           /* Handle Microsoft VC++ compiler specifics. */\r
+#define SIZEOF_LONG       4\r
+#else\r
+#define SIZEOF_LONG       8\r
+#endif\r
 \r
 /* The size of `long double', as computed by sizeof. */\r
 #undef SIZEOF_LONG_DOUBLE\r
 \r
 /* The size of `long long', as computed by sizeof. */\r
-#undef SIZEOF_LONG_LONG\r
+#define SIZEOF_LONG_LONG  8\r
 \r
 /* The size of `off_t', as computed by sizeof. */\r
-#undef SIZEOF_OFF_T\r
+#define SIZEOF_OFF_T      8\r
 \r
 /* The size of `pid_t', as computed by sizeof. */\r
-#undef SIZEOF_PID_T\r
+#define SIZEOF_PID_T      4\r
 \r
 /* The size of `pthread_t', as computed by sizeof. */\r
 #undef SIZEOF_PTHREAD_T\r
 \r
 /* The size of `short', as computed by sizeof. */\r
-#undef SIZEOF_SHORT\r
+#define SIZEOF_SHORT      2\r
 \r
 /* The size of `size_t', as computed by sizeof. */\r
-#undef SIZEOF_SIZE_T\r
+#define SIZEOF_SIZE_T     8\r
 \r
 /* The size of `time_t', as computed by sizeof. */\r
-#undef SIZEOF_TIME_T\r
+#define SIZEOF_TIME_T     4\r
 \r
 /* The size of `uintptr_t', as computed by sizeof. */\r
-#undef SIZEOF_UINTPTR_T\r
+#define SIZEOF_UINTPTR_T  8\r
 \r
 /* The size of `void *', as computed by sizeof. */\r
-#undef SIZEOF_VOID_P\r
+#define SIZEOF_VOID_P     8\r
 \r
 /* The size of `wchar_t', as computed by sizeof. */\r
-#undef SIZEOF_WCHAR_T\r
+#define SIZEOF_WCHAR_T    2\r
 \r
 /* The size of `_Bool', as computed by sizeof. */\r
-#undef SIZEOF__BOOL\r
+#define SIZEOF__BOOL      1\r
 \r
 /* Define to 1 if you have the ANSI C header files. */\r
 #define STDC_HEADERS    1\r
 #undef __EXTENSIONS__\r
 \r
 /* Define to 'long' if <time.h> doesn't define. */\r
-#undef clock_t\r
+//#undef clock_t\r
 \r
 /* Define to empty if `const' does not conform to ANSI C. */\r
-#undef const\r
+//#undef const\r
 \r
 /* Define to `int' if <sys/types.h> doesn't define. */\r
-#undef gid_t\r
+//#undef gid_t\r
 \r
 /* Define to the type of a signed integer type of width exactly 32 bits if\r
    such a type exists and the standard includes do not define it. */\r
-#undef int32_t\r
+//#undef int32_t\r
 \r
 /* Define to the type of a signed integer type of width exactly 64 bits if\r
    such a type exists and the standard includes do not define it. */\r
-#undef int64_t\r
+//#undef int64_t\r
 \r
 /* Define to `int' if <sys/types.h> does not define. */\r
-#undef mode_t\r
+//#undef mode_t\r
 \r
 /* Define to `long int' if <sys/types.h> does not define. */\r
-#undef off_t\r
+//#undef off_t\r
 \r
 /* Define to `int' if <sys/types.h> does not define. */\r
-#undef pid_t\r
+//#undef pid_t\r
 \r
 /* Define to empty if the keyword does not work. */\r
-#undef signed\r
+//#undef signed\r
 \r
 /* Define to `unsigned int' if <sys/types.h> does not define. */\r
-#undef size_t\r
+//#undef size_t\r
 \r
 /* Define to `int' if <sys/socket.h> does not define. */\r
-#undef socklen_t\r
+//#undef socklen_t\r
 \r
 /* Define to `int' if <sys/types.h> doesn't define. */\r
-#undef uid_t\r
+//#undef uid_t\r
 \r
 /* Define to the type of an unsigned integer type of width exactly 32 bits if\r
    such a type exists and the standard includes do not define it. */\r
-#undef uint32_t\r
+//#undef uint32_t\r
 \r
 /* Define to the type of an unsigned integer type of width exactly 64 bits if\r
    such a type exists and the standard includes do not define it. */\r
-#undef uint64_t\r
+//#undef uint64_t\r
 \r
 /* Define to empty if the keyword does not work. */\r
-#undef volatile\r
-\r
-\r
-/* Define the macros needed if on a UnixWare 7.x system. */\r
-#if defined(__USLC__) && defined(__SCO_VERSION__)\r
-#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */\r
-#endif\r
+//#undef volatile\r
 \r
 #endif /*Py_PYCONFIG_H*/\r
-\r