Use Doug Lea's malloc as an alternative to YAP's standard malloc
don't use TR directly in scanner/parser, this avoids trouble with ^C while consulting large files. pass gcc -mno-cygwin to library compilation in cygwin environment (cygwin should compile out of the box now). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1168 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
48
configure
vendored
48
configure
vendored
@@ -3081,7 +3081,7 @@ fi
|
||||
# and -fomit-frame-point -DBP_FREE
|
||||
YAPLIB="libWYap.a"
|
||||
SHLIB_CFLAGS=""
|
||||
SHLIB_LD="gcc -shared ../../yap.dll"
|
||||
SHLIB_LD="\$(CC) -shared ../../yap.dll"
|
||||
SHLIB_SUFFIX=".dll"
|
||||
C_PARSER_FLAGS="$C_INTERF_FLAGS"
|
||||
EXEC_SUFFIX=".exe"
|
||||
@@ -4142,12 +4142,12 @@ else
|
||||
#line 4143 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(int *));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4181,12 +4181,12 @@ else
|
||||
#line 4182 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(short int));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4220,12 +4220,12 @@ else
|
||||
#line 4221 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(int));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4259,12 +4259,12 @@ else
|
||||
#line 4260 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(long int));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4298,12 +4298,12 @@ else
|
||||
#line 4299 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(long long int));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4337,12 +4337,12 @@ else
|
||||
#line 4338 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(float));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -4376,12 +4376,12 @@ else
|
||||
#line 4377 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) return(1);
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(double));
|
||||
return(0);
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
@@ -5887,6 +5887,10 @@ cat >> confdefs.h <<\EOF
|
||||
#define GC_NO_TAGS 1
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define USE_DL_MALLOC 1
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
mkdir -p library/mpi
|
||||
|
Reference in New Issue
Block a user