summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-26 02:05:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-26 02:05:54 +0000
commite0b022bcd85a5ef1070124c8e3e019fc017160c1 (patch)
tree827981309e23f0ca2ba2c9d97490f987a1df3f8f /configure.in
parent6a26a2147c53c08e074dfc6f65f2130e1d3fec1e (diff)
downloadruby-e0b022bcd85a5ef1070124c8e3e019fc017160c1.tar.gz
ruby-e0b022bcd85a5ef1070124c8e3e019fc017160c1.tar.xz
ruby-e0b022bcd85a5ef1070124c8e3e019fc017160c1.zip
* configure.in (aix): -b must come at the start of the command line,
and -e must not appear while testing libraries. [ruby-talk:104501] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4bb27580f..fd0c69022 100644
--- a/configure.in
+++ b/configure.in
@@ -907,9 +907,12 @@ if test "$with_dln_a_out" != yes; then
rb_cv_dlopen=yes ;;
aix*) : ${LDSHARED='/usr/ccs/bin/ld'}
XLDFLAGS="$XLDFLAGS -Wl,-bE:ruby.imp"
- DLDFLAGS="$DLDFLAGS "'-brtl -eInit_$(TARGET) -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc'
- : LDFLAGS="$LDFLAGS -brtl"
+ DLDFLAGS='-brtl -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 '"$DLDFLAGS"
+ ARCH_FLAGS='-eInit_$(TARGET)'
+ : LDFLAGS="-brtl $LDFLAGS"
: ${ARCHFILE="ruby.imp"}
+ TRY_LINK='$(CC) $(DLDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS) $(CFLAGS)'
+ TRY_LINK="$TRY_LINK"' $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)'
rb_cv_dlopen=yes ;;
human*) : ${DLDFLAGS=''}