930 |
AC_MSG_RESULT(big),AC_MSG_RESULT(big))) |
AC_MSG_RESULT(big),AC_MSG_RESULT(big))) |
931 |
AC_SUBST(LITTLE_END) |
AC_SUBST(LITTLE_END) |
932 |
|
|
933 |
|
AC_MSG_CHECKING(TYPE_BITS macro) |
934 |
|
AC_TRY_RUN([#include <stdio.h> |
935 |
|
#define EXTER |
936 |
|
#include "$MP_INCLUDE" |
937 |
|
#include "`pwd`/h/enum.h" |
938 |
|
#include "`pwd`/h/object.h" |
939 |
|
int main(int argc,char **argv,char **envp) { |
940 |
|
FILE *f=fopen("conftest1","w"); |
941 |
|
fixnum g=0; |
942 |
|
fobj(g)->d.e=-1; |
943 |
|
fobj(g)->d.t=-1; |
944 |
|
fprintf(f,"0x%x",g); |
945 |
|
fclose(f); |
946 |
|
return 0; |
947 |
|
}],type_bits=`cat conftest1`, |
948 |
|
echo Cannot find type_bits;exit 1, |
949 |
|
echo Cannot find type_bits;exit 1) |
950 |
|
AC_MSG_RESULT($type_bits) |
951 |
|
AC_DEFINE_UNQUOTED(TYPE_BITS,$type_bits) |
952 |
|
|
953 |
AC_MSG_CHECKING(sizeof struct contblock) |
AC_MSG_CHECKING(sizeof struct contblock) |
954 |
|
|
1107 |
AC_MSG_RESULT(got it) |
AC_MSG_RESULT(got it) |
1108 |
AC_MSG_CHECKING("trying to lower heap start") |
AC_MSG_CHECKING("trying to lower heap start") |
1109 |
cp gcl.script gcl.script.def |
cp gcl.script gcl.script.def |
1110 |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print} | sed 's,. = 0x10000000;,/*. = 0x10000000;*/,1'' >gcl.script |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' | sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script |
1111 |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
1112 |
AC_MSG_RESULT("cannot or not needed") |
AC_MSG_RESULT("cannot or not needed") |
1113 |
rm -f gcl.script gcl.script.def |
rm -f gcl.script gcl.script.def |