• Home
  • Raw
  • Download

Lines Matching +full:ancient +full:- +full:issue +full:- +full:message

32 # Were we compiled --with-pydebug or with #define Py_DEBUG?
33 COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
51 m = re.search(r'-isysroot\s+(\S+)', cflags)
68 and returns a possibly-empty list of additional directories, or None
203 # Platform-dependent module source and include directories
206 if host_platform == 'darwin' and ("--disable-toolbox-glue" not in
208 # Mac OS X also includes some mac-specific modules
228 # re-compile extensions if a header file has been changed
281 print "%-*s %-*s %-*s" % (longest, e, longest, f,
313 # Workaround for Mac OS X: The Carbon-based modules cannot be
314 # reliably imported into a command-line Python
317 'WARNING: skipping import check for Carbon-based "%s"' %
322 sys.maxint > 2**32 and '-arch' in ext.extra_link_args):
324 # build with an explicit '-arch' flag on OSX. That's currently
325 # only used to build 32-bit only extensions in a 4-way
326 # universal build and loading 32-bit code into a 64-bit
336 self.announce('WARNING: skipping import check for Cygwin-based "%s"'
360 # XXX -- This relies on a Vile HACK in
386 '%s -print-multiarch > %s 2> /dev/null' % (cc, tmpfile))
402 if not find_executable('dpkg-architecture'):
406 opt = '-t' + sysconfig.get_config_var('HOST_GNU_TYPE')
411 'dpkg-architecture %s -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
429 ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile))
468 # directly since an inconsistently reproducible issue comes up where
470 # into configure and stored in the Makefile (issue found on OS X 10.3).
472 ('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
473 ('LDFLAGS', '-L', self.compiler.library_dirs),
474 ('CPPFLAGS', '-I', self.compiler.include_dirs)):
483 # strip out double-dashes first so that we don't end up with
484 # substituting "--Long" to "-Long" and thus lead to "ong" being
486 env_val = re.sub(r'(^|\s+)-(-|(?!%s))' % arg_name[1],
504 # the one that is currently installed (issue #7473)
517 # be assumed that no additional -I,-L directives are needed.
538 # Check for AtheOS which has libraries in non-standard locations
545 # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
549 # HP-UX11iv3 keeps files in lib/hpux folders.
550 if host_platform == 'hp-ux11':
554 # This should work on any unixy platform ;-)
555 # If the user has bothered specifying additional -I and -L flags
563 if item.startswith('-I'):
567 if item.startswith('-L'):
575 # XXX Omitted modules: gl, pure, dl, SGI-specific modules
613 # high-performance collections
649 locale_extra_link_args = ['-framework', 'CoreFoundation']
658 # Modules with some UNIX dependencies -- on by default:
679 # select(2); not on ancient System V
689 # Memory-mapped files (also works on Win32).
699 # George Neville-Neil's timing module:
700 # Deprecated in PEP 4 http://www.python.org/peps/pep-0004.html
701 # http://mail.python.org/pipermail/python-dev/2006-January/060023.html
706 # libraries, are platform-specific, or present other surprises.
710 # These don't work for 64-bit platforms!!!
715 # 64-bit platforms.
718 # Disabled on 64-bit platforms
744 # Issue 7384: If readline is already linked against curses,
775 readline_extra_link_args = ('-Wl,-search_paths_first',)
781 pass # Issue 7384: Already linked against curses or tinfo.
841 '^\s*#\s*define\s+OPENSSL_VERSION_NUMBER\s+(0x[0-9a-fA-F]+)' )
881 # Message-Digest Algorithm, described in RFC 1321. The
893 # Modules that provide persistent dictionary-like semantics. You will
901 # http://www.oracle.com/database/berkeley-db/db/index.html
964 db_inc_paths.append('/pkg/db-4.%d/include' % x)
965 db_inc_paths.append('/opt/db-4.%d/include' % x)
973 db_inc_paths.append('/pkg/db-3.%d/include' % x)
974 db_inc_paths.append('/opt/db-3.%d/include' % x)
981 # picked up when it is installed in a non-standard prefix and
1074 # Look for a version specific db-X.Y before an ambiguous dbX
1075 # XXX should we -ever- look for a dbX name? Do any
1078 for dblib in (('db-%d.%d' % db_ver),
1205 sqlite_extra_link_args = ('-Wl,-search_paths_first',)
1223 # underlying db library. May BSD-ish Unixes incorporate db 1.85
1241 # bingo - old version used hash file format version 2
1242 ### XXX this should be fixed to not be platform-dependent
1262 if arg.startswith('--with-dbmliborder=')]
1264 dbm_order = [arg.split('=')[-1] for arg in dbm_args][-1].split(":")
1271 # Some systems have -lndbm, others have -lgdbm_compat,
1304 if find_file("gdbm-ndbm.h", inc_dirs, []) is not None:
1331 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
1339 # Unix-only modules
1395 # 1.1.3 have security problems. See CERT Advisory CA-2002-07:
1396 # http://www.cert.org/advisories/CA-2002-07.html
1425 zlib_extra_link_args = ('-Wl,-search_paths_first',)
1439 # Helper module for various ascii-encoders. Uses zlib for an optimized
1442 extra_compile_args = ['-DUSE_ZLIB_CRC32']
1457 bz2_extra_link_args = ('-Wl,-search_paths_first',)
1472 # of a system shared libexpat.so is possible with --with-system-expat
1477 if '--with-system-expat' in sysconfig.get_config_var("CONFIG_ARGS"):
1487 # bpo-30947: Python uses best available entropy sources to
1532 # Hye-Shik Chang's CJKCodecs modules.
1615 # Platform-specific libraries
1617 # Linux-specific modules
1639 '-framework', 'SystemConfiguration',
1640 '-framework', 'CoreFoundation'
1644 if host_platform == 'darwin' and ("--disable-toolbox-glue" not in
1649 # support '-Wno-deprecated-declarations'. This will
1653 carbon_extra_compile_args = ['-Wno-deprecated-declarations']
1692 'extra_link_args': ['-framework', 'CoreFoundation'],
1701 'extra_link_args': ['-framework', 'Carbon'],
1719 if '-arch ppc64' in cflags and '-arch ppc' in cflags:
1720 … win_kwds = {'extra_compile_args': carbon_extra_compile_args + ['-arch', 'i386', '-arch', 'ppc'],
1721 … 'extra_link_args': ['-framework', 'Carbon', '-arch', 'i386', '-arch', 'ppc'],
1730 'extra_link_args': ['-framework','ApplicationServices'],
1737 extra_link_args=['-framework', 'QuickTime',
1738 '-framework', 'Carbon']) )
1760 # --with-tcltk-includes="-I/path/to/tclincludes \
1761 # -I/path/to/tkincludes"
1762 # --with-tcltk-libs="-L/path/to/tcllibs -ltclm.n \
1763 # -L/path/to/tklibs -ltkm.n"
1804 # XXX distutils should support -F!
1825 # For 8.4a2, we must add -I options that point inside the Tcl and Tk
1827 # the -F option to gcc, which specifies a framework lookup path.
1836 # complicated search, this is a hard-coded path. It could bail out
1839 frameworks = ['-framework', 'Tcl', '-framework', 'Tk']
1841 # All existing framework builds of Tcl/Tk don't support 64-bit
1844 archs = re.findall('-arch\s+(\w+)', cflags)
1853 a = ln.split()[-1]
1855 detected_archs.append(ln.split()[-1])
1859 frameworks.append('-arch')
1875 # Check whether --with-tcltk-includes and --with-tcltk-libs were
1884 # Darwin - either AquaTk, if it is found, or X11 based Tk.
1911 dotversion = dotversion[:-1] + '.' + dotversion[-1]
1933 # Check for various platform-specific directories
1986 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
1988 # -DWITH_TOGL togl.c \
1990 # -lGL -lGLU -lXext -lXmu \
2001 'x86/x86-darwin.S',
2002 'x86/x86-ffi_darwin.c',
2003 'x86/x86-ffi64.c',
2004 'powerpc/ppc-darwin.S',
2005 'powerpc/ppc-darwin_closure.S',
2006 'powerpc/ppc-ffi_darwin.c',
2007 'powerpc/ppc64-darwin_closure.S',
2040 if (('--host=' in arg) or ('--build=' in arg))]
2042 config_args.append("-q")
2045 # CFLAGS to Python's; -g or -O2 is to be avoided.
2087 extra_compile_args.append('-DMACOSX')
2090 ## extra_link_args.extend(['-read_only_relocs', 'warning'])
2094 # of the assembler code is non-PIC (i.e. it has relocations
2100 # finding some -z option for the Sun compiler.
2101 extra_link_args.append('-mimpure-text')
2103 elif host_platform.startswith('hp-ux'):
2104 extra_link_args.append('-fPIC')
2117 if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"):
2153 # for dlopen, see bpo-32647
2164 # bpo-32521: glibc has deprecated Sun RPC for some time. Fedora 28
2184 # libnsl-devel: check for libnsl in nsl/ subdirectory
2248 Python is an interpreted, interactive, object-oriented programming
2255 Mac, MFC). New built-in modules are easily written in C or C++. Python
2262 it. Ask around on comp.lang.python -- or just try compiling Python
2267 Development Status :: 6 - Mature
2284 maintainer_email = "python-dev@python.org",
2285 description = "A high-level object-oriented programming language",
2304 # --install-platlib