| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
of dbmmodule dynamically by default (otherwise it can pull in
dependencies with libdb that croak pybsddb3). This change moves the
Setup line for dbmmodule to Setup.config.in.
|
|
|
|
| |
[including support for modules w/Objective-C].
|
|
|
|
|
|
|
| |
Extension Patch.
Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
|
|
|
|
|
| |
Note: I've reordered acconfig.h and config.h.in to obtain alphabetical
order (modulo case and leading _).
|
|
|
|
|
|
|
| |
curses and readline (for Linux, at least).
These are done as shared libraries by default, and so is bsddb -- that
seems to make the most sense.
|
| |
|
|
|
|
| |
funlockfile()).
|
| |
|
| |
|
|
|
|
|
|
|
| |
occurs in the Python sources appears to be as text in comments. We do not
want to interfere with C++ keywords!
This closes bug #119851.
|
|
|
|
|
|
|
| |
- when compiling with GCC on Solaris, use "$(CC) -shared" instead
of "$(CC) -G" to generate .so files
- when compiling with GCC on any platform, add "-fPIC" to OPT
(without this, "$(CC) -shared" dies horribly)
|
|
|
|
|
|
|
|
|
| |
regardless of whether the system getopt() does what we want. This avoids the
hassle with prototypes and externs, and the check to see if the system
getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to
avoid name clashes. Add new include file to define the right symbols. Fix
Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on
Python to provide it.
|
| |
|
|
|
|
|
| |
Jocham. Philipp asks: "Are there any success stories with HP-UX 11.00
and -lcma? Maybe libcma is broken."
|
|
|
|
| |
already exist.
|
|
|
|
| |
by Thomas Wouters
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Wstrict-prototypes options. This will make it a lot easier to keep
warnings under control in the first place in the future.
There is one known warning at this time, caught by the -Wstrict-prototypes
option. In Modules/main.c, the declaration of getopt() without parameters
gets a complaint (rightly) that it is not a proper prototype. The lack of
a complete prototype information should be corrected when the right
portability conditions have been identified.
Approved by the Guido.
|
|
|
|
|
| |
from autoheader and is not useful anymore.
(Approved by Donn Cave.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tony Lownds: [ Patch #101816 ] Fixes shared modules on Mac OS X
1. Mac OS X is recognized by the Next-ish host recognition code as
"Darwin/1.2"
2. When specifying just --with-dyld, modules can compile as shared
3. --with-dyld and --with-next-framework, modules can compile as
shared
4. --with-suffix=.exe, and Lib/plat-darwin1.2 is being made, the regen
script invokes python as python.exe
[I had to reformat this patch a bit to make it work. Please test!]
Dan Wolfe: [ Patch #101823 ] Fix Darwin POSIX Thread redefinition
The patch below fixes the redefinition problem in Darwin with
_POSIX_THREADS. I'm not sure if this is the correct long term fix but
for now it fixes the problem and the fix is specific to Darwin.
Dan Wolfe: [ Patch #101824 ] On Darwin, remove unrecognized option
`-OPT:Olimit=0'
After many, many, many compiles, I finally got itchy of this warning
cluttering up the output... so I scratched (Darwin configs only) and
it's gone! :-)
|
|
|
|
|
|
|
| |
Update for BeOS.
This closes SourceForge patch #101774.
Also fix typo in a comment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
test -d "$directory"
to
test ! -z "directory" -a -d "directory"
Apparently, on SunOS 4.1.4_JL (and other?) OSes, -d on an empty string
always returns true. This closes SF bug #115392.
|
|
|
|
| |
By D.K. Wolfe.
|
|
|
|
| |
flags reported by Daniel Dittmar <daniel.dittmar@sap.com>.
|
|
|
|
|
| |
db_185.h has renamed that function to __db185_open, which it does in DB 3.1.
So don't check whether the function is in -ldb.
|
| |
|
|
|
|
|
| |
for pthread_t (to calculate its size) to work even if pthread_t is a
struct.
|
|
|
|
|
|
|
|
| |
-D_HPUX_SOURCE and also turns on long long support.
Suggestion by stnor@sweden.hp.com (Stefan Norberg).
Please test this if you have access to HP-UX!!!
|
|
|
|
|
| |
variable in the Makefiles from the configure script. Usefil for
Cygwin and Mac OS X builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.
Changes include:
- There's a --with-pth configure option.
- Instead of _GNU_PTH, we test for HAVE_PTH.
- Better signal handling.
- (The config.h.in file is regenerated in a slightly different order.)
|
|
|
|
| |
layer. If that is available, consider that as an option as well.
|
|
|
|
|
|
|
|
| |
This allows dbmmodule.c to use either without having to add additional
options to the Modules/Setup file or make source changes.
(At least some Linux systems use gdbm to emulate ndbm, but only install
the ndbm.h header as /usr/include/gdbm/ndbm.h.)
|
|
|
|
|
| |
automatically if dbopen is found in libc or libdb. This closes patch
#101420
|
|
|
|
|
|
|
| |
enable it), but db.h was not found, the WITH_LIBDB macros was still being
defined, resulting in compilation errors. Also added a short explain when
bsddb support wasn't enabled (because db.h wasn't found) when the user
explicitly used --with-libdb on the configure command line.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Update the build structures to automatically detect the presence of BSD db,
including the proper name of the header file to include. Has all the
expected niceties associated with yet-more-configure-options. ;)
This checkin includes changes for non-generated files only; subsequent
checkin will catch those.
This is part of SourceForge patch #101272.
|
| |
|
|
|
|
|
|
| |
figures out old (a.out) and newer (ELF) systems, similar to NetBSD.
(I'm assuming this is also by tg@FreeBSD.org.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Fix bug in thread_pthread.h::PyThread_get_thread_ident() where
sizeof(pthread) < sizeof(long).
- Add 'configure' for:
- SIZEOF_PTHREAD is pthread_t can be included via <pthread.h>
- setting Monterey system name
- appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey
- Add section in README for Monterey build
|
|
|
|
|
|
|
| |
which I can cast void* to and back again without losing information".
In pyport.h, we typedef Py_uintptr_t to mean this thing, which if the
platform supports, will be uintptr_t (otherwise, other accomodations
are made).
|
|
|
|
| |
directory.
|
| |
|
|
|
|
| |
(and yes, "Currintly" also counts <0.5 wink>)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the
latter already does everything the former does (because it's implemented as
a call to the former.)
- Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action
clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS,
which defines 'HAVE_<function>' of itself, possibly with aditional 'action'
clauses.
No checks are removed by this patch, only moved around, and some duplicates
are removed.
|
| |
|
| |
|