* configure.in: Add support for DragonFly BSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2004-06-09 06:41:08 +00:00
parent 505d19848e
commit d918f9f34f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Wed Jun 9 15:39:55 2004 Akinori MUSHA <knu@iDaemons.org>
* configure.in: Add support for DragonFly BSD.
Wed Jun 9 15:07:06 2004 Akinori MUSHA <knu@iDaemons.org>
* config.guess, config.sub: Update to a more recent version as of

View File

@ -352,6 +352,8 @@ freebsd*) LIBS="-lm $LIBS"
fi
fi
;;
dragonfly*) LIBS="-lm $LIBS"
;;
bow) ac_cv_func_setitimer=no
;;
superux*) ac_cv_func_setitimer=no
@ -869,7 +871,7 @@ if test "$with_dln_a_out" != yes; then
gnu*) : ${LDSHARED="$CC -shared"}
rb_cv_dlopen=yes
LDFLAGS="$LDFLAGS -rdynamic" ;;
freebsd*) : ${LDSHARED="$CC -shared"}
freebsd*|dragonfly*) : ${LDSHARED="$CC -shared"}
if test "$rb_cv_binary_elf" = yes; then
LDFLAGS="$LDFLAGS -rdynamic"
DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
@ -1170,7 +1172,7 @@ if test "$enable_shared" = 'yes'; then
LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
;;
freebsd*)
freebsd*|dragonfly*)
SOLIBS='$(LIBS)'
LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
if test "$rb_cv_binary_elf" != "yes" ; then