]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Ia32/pyconfig.h
StdLib: Improve robustness of stat() and make basename() a public function.
[mirror_edk2.git] / AppPkg / Applications / Python / Ia32 / pyconfig.h
index 25152ec0329a21d8b5afb0641e2472c54c6321e7..866c0f0b13d05a7033a6c62bec248e88e6860bc7 100644 (file)
@@ -1,14 +1,25 @@
-/*  @file\r
+/** @file\r
     Manually generated Python Configuration file for EDK II.\r
-*/\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
 \r
 \r
 #ifndef Py_PYCONFIG_H\r
 #define Py_PYCONFIG_H\r
 \r
-#ifndef PYTHONPATH\r
-# define PYTHONPATH "/Efi/Python;/Efi/Python/Lib"\r
-#endif\r
+#define PLATFORM    "UEFI 2.3 Ia32"\r
+\r
+//#ifndef PYTHONPATH\r
+//# define PYTHONPATH "/Efi/StdLib/lib/python.27;/Efi/StdLib/lib/python.27/lib-dynload"\r
+//#endif\r
 \r
 /* Define if building universal (internal helper macro) */\r
 #undef AC_APPLE_UNIVERSAL_BUILD\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
 #undef HAVE_GETC_UNLOCKED\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_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    1\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_STDINT_H                   1\r
 \r
 /* Define to 1 if you have the <stdlib.h> header file. */\r
-#define HAVE_STDLIB_H   1\r
+#define HAVE_STDLIB_H                   1\r
 \r
 /* Define to 1 if you have the `strdup' function. */\r
-#define HAVE_STRDUP     1\r
+#define HAVE_STRDUP                     1\r
 \r
 /* Define to 1 if you have the `strftime' function. */\r
-#define HAVE_STRFTIME   1\r
+#define HAVE_STRFTIME                   1\r
 \r
 /* Define to 1 if you have the <strings.h> header file. */\r
 #undef HAVE_STRINGS_H\r
 \r
 /* Define to 1 if you have the <string.h> header file. */\r
-#define HAVE_STRING_H   1\r
+#define HAVE_STRING_H                   1\r
 \r
 /* Define to 1 if you have the <stropts.h> header file. */\r
 #undef HAVE_STROPTS_H\r
 #undef HAVE_SYS_NDIR_H\r
 \r
 /* Define to 1 if you have the <sys/param.h> header file. */\r
-#define HAVE_SYS_PARAM_H    1\r
+#define HAVE_SYS_PARAM_H                1\r
 \r
 /* Define to 1 if you have the <sys/poll.h> header file. */\r
-#define HAVE_SYS_POLL_H     1\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
+#define HAVE_SYS_RESOURCE_H             1\r
 \r
 /* Define to 1 if you have the <sys/select.h> header file. */\r
-#define HAVE_SYS_SELECT_H     1\r
+#define HAVE_SYS_SELECT_H               1\r
 \r
 /* Define to 1 if you have the <sys/socket.h> header file. */\r
-#define HAVE_SYS_SOCKET_H     1\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
 \r
 /* Define to 1 if you have the <sys/stat.h> header file. */\r
-#define HAVE_SYS_STAT_H   1\r
+#define HAVE_SYS_STAT_H                 1\r
 \r
 /* Define to 1 if you have the <sys/termio.h> header file. */\r
 #undef HAVE_SYS_TERMIO_H\r
 #undef HAVE_SYS_TIMES_H\r
 \r
 /* Define to 1 if you have the <sys/time.h> header file. */\r
-#define HAVE_SYS_TIME_H     1\r
+#define HAVE_SYS_TIME_H                 1\r
 \r
 /* Define to 1 if you have the <sys/types.h> header file. */\r
-#define HAVE_SYS_TYPES_H    1\r
+#define HAVE_SYS_TYPES_H                1\r
 \r
 /* Define to 1 if you have the <sys/un.h> header file. */\r
 #undef HAVE_SYS_UN_H\r
 #undef HAVE_TCSETPGRP\r
 \r
 /* Define to 1 if you have the `tempnam' function. */\r
-#define HAVE_TEMPNAM      1\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
+#define HAVE_TERMIOS_H                  1\r
 \r
 /* Define to 1 if you have the <term.h> header file. */\r
 #undef HAVE_TERM_H\r
 #undef HAVE_TIMES\r
 \r
 /* Define to 1 if you have the `tmpfile' function. */\r
-#define HAVE_TMPFILE    1\r
+#define HAVE_TMPFILE                    1\r
 \r
 /* Define to 1 if you have the `tmpnam' function. */\r
-#define HAVE_TMPNAM     1\r
+#define HAVE_TMPNAM                     1\r
 \r
 /* Define to 1 if you have the `tmpnam_r' function. */\r
 #undef HAVE_TMPNAM_R\r
 #undef HAVE_UCS4_TCL\r
 \r
 /* Define to 1 if the system has the type `uintptr_t'. */\r
-#define HAVE_UINTPTR_T    1\r
+#define HAVE_UINTPTR_T                  1\r
 \r
 /* Define to 1 if you have the `uname' function. */\r
 #undef HAVE_UNAME\r
 \r
 /* Define to 1 if you have the <unistd.h> header file. */\r
-#define HAVE_UNISTD_H     1\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   1\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 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
-#define 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    1\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
 #define SIZEOF_INT        4\r
 #define SIZEOF_OFF_T      4\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
 #define SIZEOF__BOOL      1\r
 \r
 /* Define to 1 if you have the ANSI C header files. */\r
-#define STDC_HEADERS    1\r
+#define STDC_HEADERS      1\r
 \r
 /* Define if you can safely include both <sys/select.h> and <sys/time.h>\r
    (which you can't on SCO ODT 3.0). */\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
-\r
 #endif /*Py_PYCONFIG_H*/\r
-\r