Skip to content

Commit

Permalink
Add DragonFly, TrueOS support; remove BSD/OS
Browse files Browse the repository at this point in the history
Found by: michaelortmann
Patch by: michaelortmann

* enhance dragonflybsd support
* enhanced doc for dragonfly bsd
* rip out support for BSD/OS (originally called BSD/386 and sometimes known as BSDi) because Wind River discontinued sales of BSD/OS at the end of 2003, with support terminated at the end of 2004.
* added TrueOS
  • Loading branch information
michaelortmann authored and vanosg committed Sep 16, 2018
1 parent 39502ee commit 309be07
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 47 deletions.
38 changes: 5 additions & 33 deletions aclocal.m4
Expand Up @@ -551,11 +551,6 @@ AC_DEFUN([EGG_CHECK_MODULE_SUPPORT],
# Note to other maintainers:
# Bourne shell has no concept of "fall through"
case "$egg_cv_var_system_type" in
BSD/OS)
if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 2; then
MODULES_OK="no"
fi
;;
CYGWI*)
WEIRD_OS="no"
MOD_EXT="dll"
Expand Down Expand Up @@ -601,9 +596,7 @@ AC_DEFUN([EGG_CHECK_MODULE_SUPPORT],
AC_DEFINE(DLOPEN_1, 1, [Define if running on SunOS 4.0.])
fi
;;
*BSD)
# FreeBSD/OpenBSD/NetBSD all support dlopen() and have had plenty of
# testing with Eggdrop.
FreeBSD|OpenBSD|NetBSD|DragonFly)
WEIRD_OS="no"
;;
Darwin)
Expand Down Expand Up @@ -690,29 +683,6 @@ AC_DEFUN([EGG_CHECK_OS],
EGG_CYGWIN="no"
case "$egg_cv_var_system_type" in
BSD/OS)
case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
2)
# do nothing
;;
3)
MOD_CC="shlicc"
MOD_LD="shlicc"
if test "$STRIP" != touch; then
MOD_STRIP="$STRIP -d"
fi
SHLIB_LD="shlicc -r"
SHLIB_STRIP="touch"
;;
*)
if test "$STRIP" != touch; then
MOD_STRIP="$STRIP -d"
fi
SHLIB_CC="$CC -export-dynamic -fPIC"
SHLIB_LD="$CC -shared -nostartfiles"
;;
esac
;;
CYGWI*)
SHLIB_LD="$CC -shared"
MOD_CC="$CC"
Expand Down Expand Up @@ -806,8 +776,7 @@ AC_DEFUN([EGG_CHECK_OS],
SHLIB_CC="$CC -PIC"
fi
;;
*BSD)
# FreeBSD/OpenBSD/NetBSD
FreeBSD|OpenBSD|NetBSD)
SHLIB_CC="$CC -fPIC"
SHLIB_LD="$CC -shared"
case "$egg_cv_var_system_type" in
Expand All @@ -816,6 +785,9 @@ AC_DEFUN([EGG_CHECK_OS],
;;
esac
;;
DragonFly)
SHLIB_CC="$CC -fPIC"
;;
Darwin)
# Mac OS X
SHLIB_CC="$CC -fPIC"
Expand Down
4 changes: 2 additions & 2 deletions doc/BUG-REPORT
Expand Up @@ -63,11 +63,11 @@ DO NOT SEND HTML E-MAIL TO THE LISTS.

3.1) OS type:
( ) BeOS
( ) BSD/OS
( ) Cygwin
( ) Darwin/Mac OS X
( ) Dell SVR4
( ) FreeBSD
( ) DragonFly BSD
( ) FreeBSD/TrueOS
( ) HP-UX
( ) IRIX
( ) Linux
Expand Down
15 changes: 3 additions & 12 deletions doc/COMPILE-GUIDE
@@ -1,5 +1,5 @@
Eggdrop Compile Guide and FAQ
Last revised: October 25, 2010
Last revised: September 4, 2018
_____________________________________________________________________

Eggdrop Compile Guide and FAQ
Expand Down Expand Up @@ -52,17 +52,7 @@ Last revised: October 25, 2010
resources needed to test portability on uncommon operating systems, so
your help is greatly appreciated.

A. Standard compile process (32-bit Linux, FreeBSD, NetBSD, OpenBSD, etc.)
B. HP-UX B.11.*
C. Ultrix
D. Mac OS X
E. AIX
F. IRIX
G. Solaris / SunOS
H. Cygwin / Windows
I. Tcl Detection and Installation

A. Standard compile process (32-bit Linux, FreeBSD, NetBSD, OpenBSD, etc.)
A. Standard compile process (Linux, FreeBSD, NetBSD, OpenBSD, etc)
1. Type './configure' from the Eggdrop directory. Some of the options
that can be given to ./configure are explained below.

Expand Down Expand Up @@ -115,6 +105,7 @@ Last revised: October 25, 2010

make install DEST=/home/user/otherdir


B. HP-UX B.11.*
Follow the standard compile process in Section A. To compile dynamically
(with module support), use 'make eggdrop' instead of 'make'.
Expand Down

0 comments on commit 309be07

Please sign in to comment.