components/python/python26/patches/Python26-05-isalibs.patch
branchs11-update
changeset 3087 a8a55bae43f3
parent 938 2c2880af6a0b
equal deleted inserted replaced
3085:73315e7681d6 3087:a8a55bae43f3
   419 -		else CCSHARED="-Kpic";
   419 -		else CCSHARED="-Kpic";
   420 -		fi;;
   420 -		fi;;
   421  	hp*|HP*) if test "$GCC" = yes;
   421  	hp*|HP*) if test "$GCC" = yes;
   422  		 then CCSHARED="-fPIC";
   422  		 then CCSHARED="-fPIC";
   423  		 else CCSHARED="+z";
   423  		 else CCSHARED="+z";
   424 @@ -3383,12 +3341,6 @@
       
   425  wchar_h="no"
       
   426  )
       
   427  
       
   428 -# determine wchar_t size
       
   429 -if test "$wchar_h" = yes
       
   430 -then
       
   431 -  AC_CHECK_SIZEOF(wchar_t, 4, [#include <wchar.h>])
       
   432 -fi
       
   433 -
       
   434  AC_MSG_CHECKING(for UCS-4 tcl)
       
   435  have_ucs4_tcl=no
       
   436  AC_TRY_COMPILE([
       
   437 @@ -3419,6 +3371,11 @@
       
   438    ac_cv_wchar_t_signed=no,
       
   439    ac_cv_wchar_t_signed=yes)])
       
   440    AC_MSG_RESULT($ac_cv_wchar_t_signed)
       
   441 + 
       
   442 +  PY_CHECK_SIZEOF(wchar_t, 4, [
       
   443 +  #include <wchar.h>
       
   444 +  #include <stdlib.h>
       
   445 +  ])
       
   446  fi
       
   447    
       
   448  AC_MSG_CHECKING(what type to use for unicode)