Commit Graph

284 Commits

Author SHA1 Message Date
Martin v. Löwis 791bfda2b3 Autocheck for snprintf, and use sprintf if it is not available.
Remove declaration of h_errno, since it is supposedly declared in netdb.h.
Changes proposed by itojun.
2001-07-24 06:33:08 +00:00
Martin v. Löwis 9db2f571c3 Instead of accessing ss_family, cast sockaddr_storage to sockaddr and access sa_family. 2001-07-23 01:30:10 +00:00
Andrew M. Kuchling 5a3e4cb0a2 Patch #429442 from Jason Tishler: Corrects sys.platform and
distutils.util.get_platform() problems caused by the cruft contained
    in Cygwin's uname -s.
2001-07-20 19:29:04 +00:00
Martin v. Löwis 123cbd286a Use -Kpthread when trying to find out the size of pthread_t. 2001-07-19 14:21:10 +00:00
Martin v. Löwis 130fb17578 Patch #418659: Fixes for UnixWare and ReliantUnix.
back-out 1.215 of configure.in and 1.34 of Makefile.pre.in
Check for -Kpthread compiler support, and use this as the sole option
for MT if available.
2001-07-19 11:00:41 +00:00
Martin v. Löwis b926866cb7 Deactivate definition of ss_family and ss_len. Fixes bug #440486. 2001-07-18 16:24:30 +00:00
Andrew M. Kuchling 881fd90fd6 [Bug #438050] Check for sys/poll.h in configure script 2001-07-14 20:55:52 +00:00
Thomas Wouters e38b2f1f00 Re-do the broken-nice() patch to break less platforms. Hopefully none :P
Also note that it isn't just Linux nice() that is broken: at least FreeBSD
and BSDI also have this problem. os.nice() should probably just be emulated
using getpriority()/setpriority(), if they are available, but I'll get to
that later.
2001-07-11 22:35:31 +00:00
Thomas Wouters c2c12dc31c Patch #439995 (slightly modified from the uploaded version):
Work around Linux's nonstandard nice() systemcall, which does not return the
new priority.

This closes SF bug #439990.
2001-07-11 14:45:34 +00:00
Fred Drake 9f71582c14 Check for --with-pydebug earlier, and record the result.
When setting up the basic OPT value for GCC, only use optimization if
not using debugging mode.

Fix a typo in a comment in the IPv6 check.
2001-07-11 06:27:00 +00:00
Guido van Rossum 353ae58964 SF Patch #432457 by Jason Tishler: support for readline 4.2.
This patch allows the readline module to build cleanly with GNU
readline 4.2 without breaking the build for earlier GNU readline
versions.  The configure script checks for the presence of
rl_completion_matches in libreadline.
2001-07-10 16:45:32 +00:00
Martin v. Löwis fd9177943b Default to ucs2 when no argument to --enable-unicode is specified. 2001-06-27 20:22:04 +00:00
Martin v. Löwis 0ba70cc3c8 Support using UCS-4 as the Py_UNICODE type:
Add configure option --enable-unicode.
Add config.h macros Py_USING_UNICODE, PY_UNICODE_TYPE, Py_UNICODE_SIZE,
                    SIZEOF_WCHAR_T.
Define Py_UCS2.
Encode and decode large UTF-8 characters into single Py_UNICODE values
for wide Unicode types; likewise for UTF-16.
Remove test whether sizeof Py_UNICODE is two.
2001-06-26 22:22:37 +00:00
Martin v. Löwis b9ab159052 Emulate inet_{pton,ntop} on systems that don't provide it. 2001-06-24 21:18:26 +00:00
Martin v. Löwis 01dfdb3d35 Patch #401196: Configuration machinery for IPv6.
Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation
code taken from WIDE.
2001-06-23 16:30:13 +00:00
Jack Jansen c49e5b7386 Added a MACHDEP_OBJS to the python link. Use this on MacOSX to include
Mac/macglue.c into the core interpreter. This file contains the glue code that
allows extension modules for Mac toolboxes to live in different shared libraries
but still communicate with each other. The glue code is controlled by the
USE_MAC_TOOLBOX_GLUE define.
2001-06-19 15:00:23 +00:00
Fred Drake 2ca5f3b752 Add a check for sys/modem.h, needed by termios on HP-UX. 2001-05-11 16:10:56 +00:00
Neil Schemenauer f8b71c5984 Process Setup* files with makesetup in the same order as the makefile. 2001-04-21 17:41:16 +00:00
Guido van Rossum 6db412be44 Bump the version number in more places 2001-04-18 04:37:57 +00:00
Guido van Rossum 2242f2fbd0 Unixware 7 support by Billy G. Allie (SF patch 413011) 2001-04-11 20:58:20 +00:00
Neil Schemenauer a42c8271ab "install -d" does not work on BSDI systems even though autoconf thinks
install works on that system.   Use "install-sh" on BSDI.
2001-03-31 00:01:55 +00:00
Neil Schemenauer 4edbc2a54f Add CONFIG_ARGS Makefile variable (saves the arguments passed
to configure).
2001-03-22 00:34:03 +00:00
Martin v. Löwis bec1958d97 Use proper compiler flags on UnixWare.
Closes bug #231439.
2001-03-21 15:57:54 +00:00
Guido van Rossum 6abce91a34 Get rid of --with-check-import-case. (Jason Tishler, SF #409924) 2001-03-20 13:09:14 +00:00
Martin v. Löwis e8964d493e Define __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787. 2001-03-06 12:09:07 +00:00
Fred Drake a1a84e7d4f Move all knowledge that $(MAINOBJ) is built in the Modules/ directory
into Makefile.pre.in; the configure script will only determine the basename
of the file.

This fixes installation of a Python built using C++, reported by Greg
Wilson.
2001-03-06 05:52:16 +00:00
Neil Schemenauer f25cf6ccea Add Python/ prefix to files in LIBOBJS. This closes SF bug "[ #404827 ] Python
Makefile: LIBOBJS incorrect".
2001-03-04 06:39:33 +00:00
Neil Schemenauer a35c688055 Add Vladimir Marangozov's object allocator. It is disabled by default. This
closes SF patch #401229.
2001-02-27 04:45:05 +00:00
Neil Schemenauer acbf9ef784 Don't create the Include directory if building outside of the source
directory.  Closes SF #403930.
2001-02-27 02:15:14 +00:00
Andrew M. Kuchling f55204b0ce Rip out various module-enabling switches, made obsolete by setup.py 2001-02-21 21:12:59 +00:00
Neil Schemenauer 9505272511 Revert SF patch #103655. Martin Löwis says:
-shared does the following things:
- invoke the linker with -G -dy -z text (the latter only if
  -mimpure-text was not given)
- drop crt1.o from the list of objects being linked
- drop -lc from the list of libraries being linked
OTOH, -G is just passed through to the linker.

The things that -shared does are necessary: crt1.o defines _start, and
requires main, so it should not be present in a shared library.
Likewise, -z text should be used to detect position-dependent code at
compile time.
2001-02-19 18:17:33 +00:00
Neil Schemenauer 6625216762 Use -G option for linking shared libraries on Solaris (SF patch #103656).
Compile shared object files using -fPIC option when using GCC on Solaris (SF
patch #103865).  Closes bug #132783.  Move config.c generated by makesetup to
the Modules directory.
2001-02-19 04:47:42 +00:00
Neil Schemenauer 28aa9d39b0 Add Include to the list of source directories. 2001-02-16 04:11:41 +00:00
Neil Schemenauer b3531b8638 Simplify linking on AIX and BeOS (SF patch #103679). 2001-02-16 04:09:05 +00:00
Marc-André Lemburg 9f8cdf58a2 Patches for AIX. Checked by Benjamin Collar. 2001-02-09 09:59:06 +00:00
Neil Schemenauer d9cf41c438 - Remove Guido's LINKCC=CXX experiment.
- Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL.
2001-01-27 21:39:17 +00:00
Neil Schemenauer 3ae1d0aa84 Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants
and an option is more friendly then manually setting a variable.
2001-01-27 06:54:42 +00:00
Andrew M. Kuchling 8abedde53a Removed setup.cfg from the list of generated files
Fixed typo in message
2001-01-26 22:55:24 +00:00
Neil Schemenauer 61c5115672 - LIBRARY is now a SUBST variable.
- Add CFLAGSFORSHARED variable.  configure sets this to CCSHARED if LDLIBRARY
  is a shared library.
- Remove -fPIC from OPT, it has no business there.
- Change CCSHARED option for Linux to -fPIC.  It should probably be
  -fPIC on a few other platforms as well.
- Don't create silly boot Makefile, create Setup files and run makesetup
  instead.
2001-01-26 16:18:16 +00:00
Neil Schemenauer 55f0cf3379 - build now happens in toplevel directory, add subdir paths to filenames
- change EXE to EXTEXT, there is an autoconf macro for it
- use PROG_INSTALL macro rather than always using install-sh
- add option to disable signal module (simplifies the makefile)
- create subdirs for object files (when building out of src dir)
- don't generate subdir makefiles
- generate "boot" makefile
2001-01-24 17:24:33 +00:00
Guido van Rossum 275529087d Fix some make errors during "make clobber" or "make distclean", caused
by weird and (hopefully) unnecessary SET_CXX and SET_DLLLIBRARY macros
that occurr at the start of Makefile.in files.

- Also removed the already-commented-out SET_CCC macro cruft.
2001-01-23 01:52:26 +00:00
Neil Schemenauer 7d6457743a Bump up version number. 2001-01-17 21:59:33 +00:00
Andrew M. Kuchling b226b0c078 Patch #102588 / PEP 229:
Tweak the configure script to build setup.cfg
2001-01-17 15:24:57 +00:00
Sjoerd Mullender 124698cbb0 Fixed typo: Using --with-dbm had no effect because due to a typo it
was never enabled.
2001-01-17 09:42:21 +00:00
Eric S. Raymond a888540593 Eric the half-a-wit, driven to berserk rage after repeatedly doing
builds during which he forgot to uncomment crucial library lines in
Setup, walks into Guido's East End nightclub with a tactical nuclear
weapon on his shoulder.  Said nuclear weapon is promptly deployed
exactly where it will do the most good, right in the middle of
configure.in.

With this patch, the set of libraries autoconfigured in is extended to
include ndbm, gdbm, and crypt.  This essentially eliminates any need to
tweak Setup for a normal Linux build.

"'E was a fair man.  Cruel, but fair."
2001-01-17 08:25:11 +00:00
Eric S. Raymond 1360359bb9 Make HAVE_TERMIOS_H and associated config.sh shell variable available
when configure detects the presence of termios.h; later we'll use this
for correct configuration of edline/readline.

Also, fix a bug in acconfig.h -- somebody forgot to add an undef to
cover the LIBNDBM configure symbol, which was preventing autoheader
from working properly.
2001-01-16 15:01:26 +00:00
Barry Warsaw a57b89b492 Committing patch #103216, autodetect of dbmmodule support and building
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.
2001-01-15 17:07:21 +00:00
Guido van Rossum acb14c716f SF Patch #102362 by bbum: Support dynamic module loading under OSX
[including support for modules w/Objective-C].
2001-01-10 21:41:16 +00:00
Guido van Rossum aef734b182 Part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
Extension Patch.

Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
2001-01-10 21:09:12 +00:00
Guido van Rossum 4c3f57cf05 SF Patch #103154 by jlt63: Cygwin Check Import Case Patch.
Note: I've reordered acconfig.h and config.h.in to obtain alphabetical
order (modulo case and leading _).
2001-01-10 20:40:46 +00:00
Guido van Rossum 3d15bd8806 Adapted version of Eric Raymond's patches to automatically configure
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.
2001-01-10 18:53:48 +00:00
Andrew M. Kuchling a9586c7273 Remove configure test for getline(), since it's no longer used at all 2001-01-08 17:58:56 +00:00
Guido van Rossum cadfaeca7f Configuration test for working getc_unlocked() (and flockfile() and
funlockfile()).
2001-01-05 14:45:49 +00:00
Martin v. Löwis 537970fe26 Set CXX even when --with-cxx is not specified. Closes bug #124782 2000-12-13 17:37:02 +00:00
Andrew M. Kuchling 78a14423af Patch #102469: Check for glibc's getline() extension 2000-11-29 02:44:05 +00:00
Fred Drake 8a41d20b05 Remove AC_C_INLINE test from configure.in, since the only place the symbol
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.
2000-11-08 20:22:59 +00:00
Greg Ward a1c4da2481 Fix for SF bug #117606:
- 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)
2000-11-07 15:44:21 +00:00
Thomas Wouters 2cffc7d420 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
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.
2000-11-03 08:18:37 +00:00
Fred Drake 884d3ba9dd Make sure the Modules/ directory is created before writing Modules/Setup. 2000-11-02 17:52:56 +00:00
Guido van Rossum 8d6e8af16e Hack to force -lpthread instead instead of -lcma on HPUX, by Philipp
Jocham.  Philipp asks: "Are there any success stories with HP-UX 11.00
and -lcma?  Maybe libcma is broken."
2000-10-30 17:45:07 +00:00
Fred Drake 036144d26d Test for and create Modules/Setup in the configure script if it does not
already exist.
2000-10-26 17:09:35 +00:00
Jeremy Hylton 1a2ca86a4f Patch #101936: Auto-detect DEC threads (which need "-threads" argument)
by Thomas Wouters
2000-10-16 16:59:12 +00:00
Fred Drake f4670e9639 When we know the compiler is GCC, always add the -Wall and
-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.
2000-10-12 17:11:38 +00:00
Fred Drake c9a5cc1a98 Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warning
from autoheader and is not useful anymore.
(Approved by Donn Cave.)
2000-10-09 20:18:32 +00:00
Guido van Rossum 5839e5861b Checking in three Darwin-specific patches.
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! :-)
2000-10-09 19:52:35 +00:00
Fred Drake 5790be1a4d Donn Cave <donn@oz.net>:
Update for BeOS.
This closes SourceForge patch #101774.

Also fix typo in a comment.
2000-10-09 17:06:13 +00:00
Guido van Rossum 4095101c78 Put arguments to test -z in double quotes. Fixes Bug #116325. 2000-10-07 16:21:27 +00:00
Barry Warsaw 7d1219d9bd Change all occurances of
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.
2000-10-05 18:45:53 +00:00
Guido van Rossum 3dc0a514e6 [ Patch #101730 ] Add initial static support for Darwin/MacOSX.
By D.K. Wolfe.
2000-10-05 18:00:06 +00:00
Fred Drake 02706f5898 Properly set LINKFORSHARED on Reliant UNIX. Problem and required linker
flags reported by Daniel Dittmar <daniel.dittmar@sap.com>.
2000-09-25 15:08:46 +00:00
Martin v. Löwis 05a65d6745 If dbopen is not in libc, checking whether it is in libdb will fail if
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.
2000-09-24 19:40:25 +00:00
Guido van Rossum 1258049de0 Stupid typo in the pthread_t test 2000-09-24 16:47:19 +00:00
Guido van Rossum e126233cd9 Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the test
for pthread_t (to calculate its size) to work even if pthread_t is a
struct.
2000-09-22 19:41:56 +00:00
Guido van Rossum cd5ff9f057 Change HP=UX compiler options from -Aa to -Ae, which implies
-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!!!
2000-09-22 16:15:54 +00:00
Guido van Rossum ff555e383d Address Bug #115057: add a --with-suffix option to set the EXE
variable in the Makefiles from the configure script.  Usefil for
Cygwin and Mac OS X builds.
2000-09-22 15:38:21 +00:00
Guido van Rossum 9e8181b809 Make better use of GNU Pth -- patch by Andy Dustman.
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.)
2000-09-19 00:46:46 +00:00
Fred Drake ae90f8da24 Trent Mick points out that the BSD DB also provides an ndbm compatibility
layer.  If that is available, consider that as an option as well.
2000-09-15 03:38:12 +00:00
Fred Drake 641fbe66e7 Allow configure to detect whether ndbm.h or gdbm/ndbm.h is installed.
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.)
2000-09-14 15:47:06 +00:00
Skip Montanaro ed33c9af97 autodetect presence of libdb - this allows bsddbmodule to be built
automatically if dbopen is found in libc or libdb.  This closes patch
#101420
2000-09-08 02:17:15 +00:00
Skip Montanaro b89f41efbc Fixes bug in --with-libdb. If --with-libdb was not specified (default is to
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.
2000-09-04 04:06:05 +00:00
Jeremy Hylton 4bcc7c5119 patch #101733: fix glitch in FreeBSD conf 2000-08-31 17:45:35 +00:00
Vladimir Marangozov 0cf8cdea30 Remove obsolete --with(out)-readline configure option 2000-08-31 16:40:08 +00:00
Fred Drake c9cb84703b Skip Montanaro <skip@mojam.com>:
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.
2000-08-31 16:11:07 +00:00
Skip Montanaro cb853261bd adds support for --with-pydebug configure option 2000-08-30 22:29:48 +00:00
Guido van Rossum 0286ae8c46 Some cleanup for FreeBSD. This gets rid of version numbers and
figures out old (a.out) and newer (ELF) systems, similar to NetBSD.

(I'm assuming this is also by tg@FreeBSD.org.)
2000-08-29 15:06:49 +00:00
Thomas Wouters 0db2b2b4fe Don't enable the 'thread' module if threads are not possible. 2000-08-26 11:33:43 +00:00
Andrew M. Kuchling 5821b77782 Add configure tests for poll() (SF patch #100852) 2000-08-25 01:14:08 +00:00
Trent Mick 635f6fb0e9 This patch partly (some stuff went in already) ports Python to Monterey.
- 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
2000-08-23 21:33:05 +00:00
Barry Warsaw bc7c7f991c Added test for uintptr_t, the C9X acceptable way to spell "type to
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).
2000-08-18 04:53:33 +00:00
Sjoerd Mullender 59bb0800df Fix up problems when compiling in a directory other than the source
directory.
2000-08-17 11:38:18 +00:00
Andrew M. Kuchling 966e8e3203 Back out ESR's erroneous commit of a DB-related change 2000-08-12 18:43:02 +00:00
Peter Schneider-Kamp 10e1bf2f64 remove all occurence of math.rint() from the sources
(and yes, "Currintly" also counts <0.5 wink>)
2000-08-10 04:23:30 +00:00
Eric S. Raymond 1ebd3f6c4b Tweak curses.wrapper so it initializes colors if they are available. 2000-08-09 21:11:07 +00:00
Thomas Wouters 3a58420d86 Cleanup configure.in. Specifically:
- 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.
2000-08-05 23:28:51 +00:00
Jeremy Hylton cb25d5e834 Gregor Hoffleit: don't link with libnet on non-BeOS systems 2000-07-27 21:23:28 +00:00
Jeremy Hylton be28f5b2a2 Gregor Hoffleit: Don't link with the libieee library if it's not necessary 2000-07-27 21:03:04 +00:00
Thomas Wouters 70c21a1603 Move (actually copy) support for the sgi._getpty() function into
posix.openpty(). And conveniently also check if CVS write access really
works.

Closes SF patch #100722
2000-07-14 14:28:33 +00:00
Andrew M. Kuchling 8d2f2b2db2 From Sam Rushing's Medusa, via SF patch #100858: add & document
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
2000-07-13 01:26:58 +00:00
Vladimir Marangozov a618028e45 Second try: checks whether right shift extends the sign bit.
Adds caching and reverts back the 'return' to 'exit()' in
AC_TRY_RUN as recommended by the Autoconf documentation.
2000-07-12 05:05:06 +00:00
Vladimir Marangozov 9a5a5d1cb0 Checks whether right shift extends the sign bit.
Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine
(in main(), use return instead of exit).

Closes patch #100832
(but I can't assign it to myself, nor close it -- sorry)
2000-07-12 03:02:16 +00:00