From: Daniel Berger Date: 2006-06-30T23:49:05+09:00 Subject: Solaris patches for configure.in work! I applied both Ville's isinf patch and Andrew's patch for -shared (ruby-core: 7791) and both worked fine against the nightly snapshot (I messed up Andrew's patch earlier, btw). Here's the total diff (based on the 30-Jun-2006 stable snapshot): >diff -u configure.in.orig configure.in --- configure.in.orig Fri Jun 30 08:38:58 2006 +++ configure.in Fri Jun 30 08:23:52 2006 @@ -417,8 +417,10 @@ ;; superux*) ac_cv_func_setitimer=no ;; -solaris*2.10) ac_cv_func_isinf=yes - LIBS="-lm $LIBS" +solaris*2.10) if test -z "$GCC"; then + ac_cv_func_isinf=yes + fi + LIBS="-lm $LIBS" ;; *) LIBS="-lm $LIBS";; esac @@ -910,10 +912,9 @@ : ${LIBPATHENV=SHLIB_PATH} rb_cv_dlopen=yes;; solaris*) if test "$GCC" = yes; then - : ${LDSHARED='$(CC) -Wl,-G'} + : ${LDSHARED='$(CC) -shared'} if test "$rb_cv_prog_gnu_ld" = yes; then LDFLAGS="$LDFLAGS -Wl,-E" - LDSHARED="$LDSHARED -shared" fi else : ${LDSHARED='ld -G'} I applied both patches individually, re-ran autoconf, configure and make with both gcc 3.4.5 and the Sun compiler that ships with Sun Studio 11 (cc: Sun C 5.8 2005/10/13). I didn't pass any special options to either compiler. Both worked fine. Regards, Dan PS - I'm running into issues with Sun's cc and OpenSSL. More later... This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.