Use proper compiler flags on UnixWare.

Closes bug #231439.
This commit is contained in:
Martin v. Löwis 2001-03-21 15:57:54 +00:00
parent f74c9dc870
commit bec1958d97
2 changed files with 225 additions and 203 deletions

417
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -581,6 +581,11 @@ then
else
LDSHARED="ld -Bshareable ${LDFLAGS}"
fi;;
UnixWare*)
if test "$GCC" = "yes"
then LDSHARED="$(CC) -shared"
else LDSHARED="$(CC) -G"
fi;;
SCO_SV*) LDSHARED="cc -G -KPIC -Ki486 -belf -Wl,-Bexport";;
Monterey*) LDSHARED="cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64";;
CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
@ -606,6 +611,11 @@ then
BSD/OS*/4*) CCSHARED="-fpic";;
OpenBSD*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*) CCSHARED="-fPIC";;
UnixWare*)
if test "$GCC" = "yes"
then CCSHARED="-fPIC"
else CCSHARED="-KPIC"
fi;;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
Monterey*) CCSHARED="-G";;
IRIX*/6*) case $CC in
@ -635,6 +645,7 @@ then
# loading of any modules which reference it in System.framework
next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
Darwin/*) LINKFORSHARED="-u __dummy -framework System -framework Foundation" ;;
UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
FreeBSD*|NetBSD*)