summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-15 06:29:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-15 06:29:05 +0000
commit08771defc6bec4eedb0d90f5819212121530e6ad (patch)
tree345ff5618c9f765fcba576b5874d66eed038c9d1 /configure.in
parent17bb511df2d33f4c344d7aefc2f5dfcd53fdaaf7 (diff)
* configure.in (ARCHFILE): set even unless --enable-shared on
AIX. [ruby-talk:61466] * marshal.c (math.h): should be included after ruby.h on AIX. [ruby-talk:61366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a4a86010a0..da620ec081 100644
--- a/configure.in
+++ b/configure.in
@@ -805,6 +805,7 @@ if test "$with_dln_a_out" != yes; then
XLDFLAGS='-Wl,-bE:ruby.imp'
DLDFLAGS='-brtl -eInit_$(TARGET) -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc'
LDFLAGS="-brtl"
+ test $GCC = yes || ARCHFILE="ruby.imp"
rb_cv_dlopen=yes ;;
human*) DLDFLAGS=''
@@ -1091,7 +1092,6 @@ if test "$enable_shared" = 'yes'; then
else
LIBRUBY_LDSHARED='/usr/ccs/bin/ld'
LIBRUBY_DLDFLAGS='-bE:ruby.imp -bM:SRE -bnoentry'
- ARCHFILE="ruby.imp"
fi
LIBRUBYARG_SHARED='-L${libdir} -Wl,lib$(RUBY_SO_NAME).so'
SOLIBS='-lm -lc'