summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-10-20 16:08:04 +0000
committerschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-10-20 16:08:04 +0000
commite85191e585dc70f01e9827d32ce4bd33b3fe611b (patch)
treebd400e0573b94df0b129c0391fb69f0b2b7896e8 /tune
parent1c074332bd966b75ca6b475eeea668b0415eb675 (diff)
downloadmpfr-e85191e585dc70f01e9827d32ce4bd33b3fe611b.tar.gz
Cosmetic change: the constant MPFR_TUNE_CASE is now defined in mparam_h.in.
Hence the files src/some-architecture/mparam.h are now simply obtained by performing 'make tune' on some architecture and copying the resulting src/mparam.h to src/some-architecture/mparam.h. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7231 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c
index 1c9f2cc47..6f176fd95 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -1024,7 +1024,9 @@ all (const char *filename)
fprintf (f, "system compiler */\n");
#endif
fprintf (f, "\n\n");
+ fprintf (f, "#ifndef MPFR_TUNE_CASE\n");
fprintf (f, "#define MPFR_TUNE_CASE \"src/mparam.h\"\n");
+ fprintf (f, "#endif\n\n");
/* Tune mulhigh */
tune_mul_mulders (f);