.
D 2006-11-16T07:11:42
J assignee dgp
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sYES\n\nDon,\nfor\scompilers\swithout\sintptr_t,\sthe\scheck\sbelow\sin\sconfigure.in\sis\ssupposed\sto\sfind\san\sinteger\stype\sas\swide\sas\sa\spointer\sand\sdefine\sintptr_t\sto\sthat,\scan\syou\sinvestigate\swhy\sthis\sdoesn't\swork\sfor\syou,\sor\ssend\sme\sthe\spart\sof\sconfig.log\sshowing\swhat\sfails\sin\sthat\stest\s?\n\n\s\s\s\sAC_CACHE_CHECK([for\spointer-size\ssigned\sinteger\stype],\stcl_cv_intptr_t,\s[\n\s\s\s\sfor\stcl_cv_intptr_t\sin\s"int"\s"long"\s"long\slong"\snone;\sdo\nif\stest\s"$tcl_cv_intptr_t"\s!=\snone;\sthen\n\s\s\s\sAC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],\n\s\s\s\s[[sizeof\s(void\s*)\s<=\ssizeof\s($tcl_cv_intptr_t)]])],\s\n[tcl_ok=yes],\s[tcl_ok=no])\n\s\s\s\stest\s"$tcl_ok"\s=\syes\s&&\sbreak;\sfi\n\s\s\s\sdone])\n\s\s\s\sif\stest\s"$tcl_cv_intptr_t"\s!=\snone;\sthen\nAC_DEFINE_UNQUOTED([intptr_t],\s[$tcl_cv_intptr_t],\s[Signed\sinteger\n\s\s\stype\swide\senough\sto\shold\sa\spointer.])\n\s\s\s\sfi\n\n
J login das
J mimetype text/plain
J status Open
J username das
K 1592791fffffffffffffffffffffffffffffffff
U das
Z cfafa3bb37b7886fa60af10c56e8fdd8