Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update operating system support (DragonFly BSD) #606

Merged
merged 6 commits into from
Sep 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 5 additions & 33 deletions aclocal.m4
Original file line number Diff line number Diff line change
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,11 +776,13 @@ 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"
;;
DragonFly)
SHLIB_CC="$CC -fPIC"
;;
Darwin)
# Mac OS X
SHLIB_CC="$CC -fPIC"
Expand Down
4 changes: 2 additions & 2 deletions doc/BUG-REPORT
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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