configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads[={yes,pthreads,posix}] is passed as...

* configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix'
        --enable-threads[={yes,pthreads,posix}] is passed as a command
        line parameter to configure.
        * config/i386/sysv5.h (LIB_SPEC): Add support for '-pthread'.
        (CPP_SPEC): Likewise.

From-SVN: r26702
This commit is contained in:
Robert Lipe 1999-04-29 20:20:15 +00:00
parent 01e3900529
commit 4431070510

View File

@ -29,4 +29,7 @@ Boston, MA 02111-1307, USA. */
/* Add -lcrt for Dwarf2 abbreviation table */
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:-lc -lcrt}}"
#define LIB_SPEC "%{pthread:-lthread} %{!shared:%{!symbolic:-lc -lcrt}}"
#undef CPP_SPEC
#define CPP_SPEC "%{pthread:-D_REENTRANT}"