1 --- Python-2.6.7/configure.in   Wed Feb 22 18:07:20 2012
   2 +++ Python-2.6.7/configure.in   Wed Feb 22 18:07:27 2012
   3 @@ -1931,7 +1931,11 @@
   4  
   5  
   6  # checks for libraries
   7 -AC_CHECK_LIB(dl, dlopen)       # Dynamic linking for SunOS/Solaris and SYSV
   8 +case  $ac_sys_system/$ac_sys_release in
   9 +  SunOS/5.11) ;;
  10 +  *) AC_CHECK_LIB(dl, dlopen)  # Dynamic linking for SunOS/Solaris and SYSV
  11 +  ;;
  12 +esac
  13  AC_CHECK_LIB(dld, shl_load)    # Dynamic linking for HP-UX
  14  
  15  # only check for sem_init if thread support is requested