blob: 23c32abde089126b30131fd34dfb6b0b56a590ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ac,v 1.1 1999/09/22 12:33:30 sakamoto Exp $
--- ./configure.orig Mon Aug 30 23:14:28 1999
+++ ./configure Wed Sep 22 19:53:16 1999
@@ -4581,9 +4581,11 @@
netbsd*)
LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).$(MINOR)'
- case "$host_cpu" in
- alpha|mipsel|mipseb|powerpc|sparc64) # ELF platforms
- LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).so.$(MAJOR) lib$(RUBY_INSTALL_NAME).so' ;;
- *) LIBRUBY_ALIASES= ;; # a.out platforms
- esac
+ rb_cv_netbsd_elf=`echo|cc -E -v - 2>&1 |grep __ELF__`
+ if test "x$rb_cv_netbsd_elf" != "x" ; then
+ LIBRUBYARG='$(LIBRUBY_SO)'
+ LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).so.$(MAJOR) lib$(RUBY_INSTALL_NAME).so'
+ else
+ LIBRUBY_ALIASES=''
+ fi
;;
solaris*)
|