configure.in: Support shared libs on FreeBSD 3.x and 4.x

* configure.in: Support shared libs on FreeBSD 3.x and 4.x
        * config/freebsd.ml: A copy of config/linux.ml since they are both
        ELF and both have a shared libm.

From-SVN: r25594
This commit is contained in:
Doug Rabson 1999-03-05 01:21:14 +00:00 committed by Jeff Law
parent 6f67a30d15
commit 268e8aeed4
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Fri Mar 5 02:16:39 1999 Doug Rabson <dfr@freebsd.org>
* configure.in: Support shared libs on FreeBSD 3.x and 4.x
* config/freebsd.ml: A copy of config/linux.ml since they are both
ELF and both have a shared libm.
1999-02-24 Jason Merrill <jason@yorick.cygnus.com>
* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.

View File

@ -0,0 +1,6 @@
# Elf with shared libm, so we can link it into the shared libstdc++.
LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -Wl,-soname,$(MSHLINK)
SHDEPS = -lm
DEPLIBS = ../$(SHLIB)

View File

@ -62,6 +62,8 @@ if [ "${shared}" = "yes" ]; then
*-*-hpux*) frags="${frags} hpux.ml" ;;
*-*-irix[56]*) frags="${frags} irix5.ml" ;;
*-*-linux*aout*) ;;
*-*-freebsd2) ;;
*-*-freebsd*) frags="${frags} freebsd.ml" ;;
*-*-linux*) frags="${frags} linux.ml" ;;
*-*-openbsd*) frags="${frags} openbsd.ml" ;;
*-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;;