Branch: Tag:

2001-03-04

2001-03-04 15:27:55 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

modifications to allow for bigger INT_TYPE then the standard 32 bit or 'signed long':
Gmp.mpz modified to create objects from bigger native int types (get_mpz_new)
sprintf and configure modified so it can print bigger ints with then '%d', tests for '%llx' among others
main configure and global.h to allow type setting with --with-long-long-int et al
(default to not use long long is still in global.h)
various warnings fixed (not all)

Rev: src/acconfig.h:1.80
Rev: src/configure.in:1.494
Rev: src/global.h:1.58
Rev: src/modules/Gmp/configure.in:1.25
Rev: src/modules/Gmp/gmp_machine.h.in:1.6
Rev: src/modules/Gmp/mpz_glue.c:1.89
Rev: src/modules/Image/colors.c:1.45
Rev: src/modules/Image/image.c:1.186
Rev: src/modules/Image/image.h:1.47
Rev: src/modules/Image/layers.c:1.62
Rev: src/modules/files/udp.c:1.20
Rev: src/modules/sprintf/acconfig.h:1.2
Rev: src/modules/sprintf/configure.in:1.7
Rev: src/modules/sprintf/sprintf.c:1.76

1: - AC_REVISION("$Id: configure.in,v 1.493 2001/02/27 20:31:53 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.494 2001/03/04 15:27:53 mirar Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
775:   AC_ARG_WITH(include-path,[ --with-include-path A list of paths to search for include files.])   AC_ARG_WITH(lib-path, [ --with-lib-path A list of paths to search for libraries.])    - AC_ARG_WITH(double-precision, [ --with-double-precision use double precision floats ], [ AC_DEFINE(WITH_DOUBLE_PRECISION_SVALUE) ] ) - AC_ARG_WITH(long-double-precision, [ --with-long-double-precision use long double precision floats ], [ AC_DEFINE(WITH_LONG_DOUBLE_PRECISION_SVALUE) ] ) + AC_ARG_WITH(double-precision, [ --with-double-precision use double precision floats ], [ AC_DEFINE(WITH_DOUBLE_PRECISION_SVALUE) ] ) + AC_ARG_WITH(long-double-precision,[ --with-long-double-precision use long double precision floats ], [ AC_DEFINE(WITH_LONG_DOUBLE_PRECISION_SVALUE) ] )    -  + AC_ARG_WITH(long-int, [ --with-long-int use "long" native type int (experimental)], [ AC_DEFINE(WITH_LONG_INT) ] ) + AC_ARG_WITH(long-long-int, [ --with-long-long-int use "long long" native type int (experimental)], [ AC_DEFINE(WITH_LONG_LONG_INT) ] ) + AC_ARG_WITH(short-int, [ --with-short-int use "short" native type int (experimental)], [ AC_DEFINE(WITH_SHORT_INT) ] ) + AC_ARG_WITH(int-int, [ --with-int-int use "int" native type int (experimental)], [ AC_DEFINE(WITH_INT_INT) ] ) +    AC_ARG_WITH(gdbm, [ --without-gdbm no GNU database manager support ])   AC_ARG_WITH(gmp, [ --without-gmp no support for Gmp bignums])   AC_ARG_WITH(dmalloc, [ --with-dmalloc enable memory-leak tests],[with_debug="yes" AC_DEFINE(DEBUG_MALLOC,10)],[])