Victor Stinner
193ee0a0e8
Prohibit implicit C function declarations
Issue #27659 : use -Werror=implicit-function-declaration when possible (GCC and
Clang, but it depends on the compiler version).
Patch written by Chi Hsuan Yen.
9 years ago
Xavier de Gaye
2a352b667b
Issue #26851 : Set Android compilation and link flags.
10 years ago
Xavier de Gaye
bdf0d0f039
Issue #28762 : lockf() is available on Android API level 24, but the
F_LOCK macro is not defined in android-ndk-r13.
10 years ago
Xavier de Gaye
40e320b31e
Issue #28538 : On Darwin net/if.h requires that sys/socket.h be included beforehand.
10 years ago
Xavier de Gaye
708784255e
Issue #28538 : Fix the compilation error that occurs because if_nameindex() is
available on Android API level 24, but the if_nameindex structure is not defined.
10 years ago
Benjamin Peterson
fb2ae15c67
add a specific configure check for sys/random.h ( closes #28932 )
10 years ago
Xavier de Gaye
e13c3201fb
Issue #28190 : Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
10 years ago
Xavier de Gaye
32cf1acda8
Issue #28849 : Do not define sys.implementation._multiarch on Android.
10 years ago
Ned Deily
8bb38a79b8
Regenerate configure with autoconf 2.69.
10 years ago
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1016b2ff00
Rename the new --with-optimiations flag to --enable-optimizations.
10 years ago
Martin Panter
395733d46b
Issue #10656 : Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
10 years ago
Brett Cannon
1d8f755e67
Issue #28605 : Fix the help and What's New entry for --with-optimizations.
10 years ago
Ned Deily
ee22aad963
regenerate configure with autoconf 2.69
10 years ago
Zachary Ware
6a6967e827
Issue #21085 : add configure check for siginfo_t.si_band
Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.
This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.
10 years ago
Christian Heimes
938da643ee
Write configure message to AS_MESSAGE_FD
10 years ago
Benjamin Peterson
0c21214f3e
replace usage of Py_VA_COPY with the (C99) standard va_copy
10 years ago
Zachary Ware
f40d4ddff3
Closes #27979 : Remove bundled copy of libffi
An installed copy of libffi is now required for building _ctypes on
any platform but OSX and Windows.
10 years ago
Benjamin Peterson
37098cd584
more granular configure checks for clock_* functions ( closes #28081 )
10 years ago
Ned Deily
4829bc6619
Bump to 3.7.0a0
10 years ago
Martin Panter
c5ee3caa80
Issue #28066 : Fix include search directory logic for out-of-tree builds
10 years ago
Xavier de Gaye
92dec548ff
Issue #28046 : get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME
environment variable that is defined when cross-compiling.
10 years ago
Serhiy Storchaka
ea80ffb851
Issue #23545 : Turn on extra warnings on GCC.
10 years ago
Serhiy Storchaka
81b08a8217
Regenerate the configure script. Now it supports --runstatedir option
(directory for pid files etc, /run or /var/run).
https://lists.gnu.org/archive/html/bug-autoconf/2013-09/msg00002.html
10 years ago
Benjamin Peterson
050af5d89a
Backed out changeset 8460a729e1de
10 years ago
Benjamin Peterson
cc1ea5dedc
force gcc to use c99 inline semantics
10 years ago
Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
10 years ago
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
10 years ago
Zachary Ware
935043d1ac
Closes #27976 : Deprecate bundled full copy of libffi
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
10 years ago
Benjamin Peterson
4fd64b9a6a
remove ceval timestamp support
10 years ago
Benjamin Peterson
7d895ac953
remove --with(out)-signal-module, since the signal module is non-optional
10 years ago
Benjamin Peterson
a845a81e42
remove unused osx10.5 sdk check
10 years ago
Benjamin Peterson
93b2dee80e
compile with -std=c99 instead of -std=gnu99; use kiddie-gloves with bluetooth/bluetooh.h ( #28017 )
10 years ago
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
14c7f71150
issue28032: never imply --with-lto as part of --with-optimizations.
Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9). On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.
We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.
10 years ago
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
10 years ago
Gregory P. Smith
799520c91e
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
10 years ago
Brett Cannon
8c94f97465
Issue #26359 : Add the --with-optimizations flag.
10 years ago
Benjamin Peterson
01c340da23
do not leak addrinfo in configure test
10 years ago
Benjamin Peterson
47ff0734b8
more PY_LONG_LONG to long long
10 years ago
Christian Heimes
7f9eb6eda3
Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian.
10 years ago
Benjamin Peterson
d170256585
put -std=c99 in CFLAGS_NODIST
10 years ago
Benjamin Peterson
7490577f6a
compile with -std=c99
10 years ago
Benjamin Peterson
0d67ed54f7
permit intermingled declarations
10 years ago
Benjamin Peterson
a9296e7f3b
require C99 bool
10 years ago
Brett Cannon
63d98bcd4c
Issue #26359 : Add the --with-optimizations configure flag.
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
10 years ago
Ned Deily
8482ce4868
Issue #21122 : Fix LTO builds on OS X.
Patch by Brett Cannon.
10 years ago
Benjamin Peterson
df6ff7bcca
add back SIZEOF_UINTPTR_T
10 years ago
Benjamin Peterson
b9d9eeda2a
require uintptr_t to exist
10 years ago
Benjamin Peterson
4fe55106d1
require standard int types to be defined ( #17884 )
10 years ago
Benjamin Peterson
ed4aa83ff7
require a long long data type ( closes #27961 )
10 years ago
Christian Heimes
dffa3949c7
Issue #27744 : Add AF_ALG (Linux Kernel crypto) to socket module.
10 years ago