Commit eca8ff32 by Marc Espie Committed by Jeff Law

configure.in: Handle OpenBSD with and without threads.

        * configure.in: Handle OpenBSD with and without threads.
        * config/openbsd.ml: New file.
        * config/openbsd.mt: New file.

From-SVN: r25291
parent c87a0a39
Thu Feb 18 19:53:17 1999 Marc Espie <espie@cvs.openbsd.org>
* configure.in: Handle OpenBSD with and without threads.
* config/openbsd.ml: New file.
* config/openbsd.mt: New file.
1999-01-28 Baron Roberts <baron@sgi.com> 1999-01-28 Baron Roberts <baron@sgi.com>
* string: Uncomment wstring declaration. * string: Uncomment wstring declaration.
......
# Base shared lib for OpenBSD i386
LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive
SHDEPS = -lm
DEPLIBS = ../$(SHLIB)
# tell we want the mt-safe version
MT_CFLAGS = -D_IO_MTSAFE_IO -D_PTHREADS
...@@ -63,6 +63,7 @@ if [ "${shared}" = "yes" ]; then ...@@ -63,6 +63,7 @@ if [ "${shared}" = "yes" ]; then
*-*-irix[56]*) frags="${frags} irix5.ml" ;; *-*-irix[56]*) frags="${frags} irix5.ml" ;;
*-*-linux*aout*) ;; *-*-linux*aout*) ;;
*-*-linux*) frags="${frags} linux.ml" ;; *-*-linux*) frags="${frags} linux.ml" ;;
*-*-openbsd*) frags="${frags} openbsd.ml" ;;
*-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;; *-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;;
*-*-solaris*) frags="${frags} sol2shm.ml" ;; *-*-solaris*) frags="${frags} sol2shm.ml" ;;
*-*-sunos4*) frags="${frags} sunos4.ml" ;; *-*-sunos4*) frags="${frags} sunos4.ml" ;;
...@@ -76,6 +77,10 @@ case "${target}" in ...@@ -76,6 +77,10 @@ case "${target}" in
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
*-*-linux-gnu) frags="${frags} linux.mt" ;; *-*-linux-gnu) frags="${frags} linux.mt" ;;
*-*-openbsd*)
case "x${enable_threads}" in
xyes|xposix) frags="${frags} openbsd.mt" ;;
esac;;
m68k-motorola-sysv) frags="${frags} delta.mt" ;; m68k-motorola-sysv) frags="${frags} delta.mt" ;;
*-*-solaris*) *-*-solaris*)
case "x${enable_threads}" in case "x${enable_threads}" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment