Index: configure =================================================================== --- configure (revision 64571) +++ configure (working copy) @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 64002 . +# From configure.in Revision: 64567 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for python 2.6. # @@ -4684,6 +4684,16 @@ ;; esac +if test "$CC" = cc +then + case $ac_sys_system/$ac_sys_release in + SunOS/5*) + BASECFLAGS="$BASECFLAGS -xlibmieee" + LDFLAGS="$LDFLAGS -xlibmieee" + ;; + esac +fi + if test "$Py_DEBUG" = 'true'; then : else @@ -12996,7 +13006,7 @@ SunOS/5*) if test "$GCC" = "yes" then LDSHARED='$(CC) -shared' - else LDSHARED='$(CC) -G'; + else LDSHARED='$(CC) $(LDFLAGS) -G'; fi ;; hp*|HP*) if test "$GCC" = "yes" Index: configure.in =================================================================== --- configure.in (revision 64571) +++ configure.in (working copy) @@ -943,6 +943,16 @@ ;; esac +if test "$CC" = cc +then + case $ac_sys_system/$ac_sys_release in + SunOS/5*) + BASECFLAGS="$BASECFLAGS -xlibmieee" + LDFLAGS="$LDFLAGS -xlibmieee" + ;; + esac +fi + if test "$Py_DEBUG" = 'true'; then : else @@ -1587,7 +1597,7 @@ SunOS/5*) if test "$GCC" = "yes" then LDSHARED='$(CC) -shared' - else LDSHARED='$(CC) -G'; + else LDSHARED='$(CC) $(LDFLAGS) -G'; fi ;; hp*|HP*) if test "$GCC" = "yes"