From: nobu.nokada@... Date: 2005-01-30T13:05:04+09:00 Subject: Re: Ruby on AIX? Hi, At Sat, 29 Jan 2005 14:53:31 +0900, KUBO Takehiro wrote in [ruby-talk:128791]: > have_func() in extconf.rb doesn't work correctly. I see. What about this patch? Index: configure.in =================================================================== RCS file: /cvs/ruby/src/ruby/configure.in,v retrieving revision 1.212.2.24 diff -U2 -p -r1.212.2.24 configure.in --- configure.in 17 Jan 2005 14:34:09 -0000 1.212.2.24 +++ configure.in 30 Jan 2005 04:00:05 -0000 @@ -895,9 +895,8 @@ if test "$with_dln_a_out" != yes; then aix*) : ${LDSHARED='/usr/ccs/bin/ld'} XLDFLAGS="$XLDFLAGS -Wl,-bE:ruby.imp" - DLDFLAGS='-brtl -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 '"$DLDFLAGS" - ARCH_FLAG='-eInit_$(TARGET)' - : LDFLAGS="-brtl $LDFLAGS" + DLDFLAGS='-brtl -eInit_$(TARGET) -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 '"$DLDFLAGS" + LDFLAGS="-brtl $LDFLAGS" : ${ARCHFILE="ruby.imp"} - TRY_LINK='$(CC) $(DLDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS) $(CFLAGS)' + TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS) $(CFLAGS)' TRY_LINK="$TRY_LINK"' $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' rb_cv_dlopen=yes ;; -- Nobu Nakada