1998-10-10 13:08:16 +00:00
|
|
|
--- hints/freebsd.sh.orig Fri Jul 24 13:00:19 1998
|
|
|
|
+++ hints/freebsd.sh Sat Oct 10 20:39:02 1998
|
1998-10-10 11:23:09 +00:00
|
|
|
@@ -68,6 +68,7 @@
|
1997-08-31 16:20:53 +00:00
|
|
|
d_setreuid='define'
|
|
|
|
d_setegid='undef'
|
|
|
|
d_seteuid='undef'
|
|
|
|
+ d_dosuid='define'
|
|
|
|
test -r ./broken-db.msg && . ./broken-db.msg
|
1997-01-24 06:58:44 +00:00
|
|
|
;;
|
|
|
|
#
|
1998-10-10 11:23:09 +00:00
|
|
|
@@ -81,12 +82,18 @@
|
1997-08-31 16:20:53 +00:00
|
|
|
d_setreuid='define'
|
|
|
|
d_setegid='undef'
|
|
|
|
d_seteuid='undef'
|
1997-01-24 06:58:44 +00:00
|
|
|
+ d_dosuid='define'
|
1997-08-31 16:20:53 +00:00
|
|
|
;;
|
|
|
|
#
|
|
|
|
# Guesses at what will be needed after 2.2
|
|
|
|
*) usevfork='true'
|
|
|
|
usemymalloc='n'
|
|
|
|
libswanted=`echo $libswanted | sed 's/ malloc / /'`
|
1997-01-24 06:58:44 +00:00
|
|
|
+ d_setregid='define'
|
|
|
|
+ d_setreuid='define'
|
|
|
|
+ d_setegid='undef'
|
|
|
|
+ d_seteuid='undef'
|
|
|
|
+ d_dosuid='define'
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1998-10-10 13:08:16 +00:00
|
|
|
@@ -95,12 +102,20 @@
|
|
|
|
case "$osvers" in
|
|
|
|
0.*|1.0*) ;;
|
|
|
|
|
|
|
|
-3.0*) if [ -e /usr/lib/aout ]; then
|
|
|
|
- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
|
|
- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
|
|
- fi
|
|
|
|
- cccdlflags='-DPIC -fpic'
|
|
|
|
- lddlflags='-Bshareable'
|
|
|
|
+3.0*) objformat=`objformat`
|
|
|
|
+ if [ x$objformat = xelf ]; then
|
|
|
|
+ libpth="/usr/lib /usr/local/lib"
|
|
|
|
+ glibpth="/usr/lib /usr/local/lib"
|
|
|
|
+ ldflags="-Wl,-E "
|
|
|
|
+ lddlflags="-shared "
|
|
|
|
+ else
|
|
|
|
+ if [ -e /usr/lib/aout ]; then
|
|
|
|
+ libpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
|
|
+ glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
|
|
+ fi
|
|
|
|
+ lddlflags='-Bshareable'
|
|
|
|
+ fi
|
|
|
|
+ cccdlflags='-DPIC -fpic'
|
|
|
|
;;
|
|
|
|
|
|
|
|
*) cccdlflags='-DPIC -fpic'
|