summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* acinclude.m4: improved warning message.vlefevre2009-01-191-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5864 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: added a warning message for the NAN != NAN test.vlefevre2009-01-191-0/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5862 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: Explicit list of type supported by mpfr_printf functions.thevenyp2009-01-191-10/+1
| | | | | | | | | acinclude.m4: Remove detection of type modifier 'q'. vasprintf.c: Remove support of type modifier 'q'. tests/tfprintf.c tests/tprintf.c: Remove tests with type modifier 'q'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5835 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfprintf.c tests/tsprintf.c tests/tprintf.c acinclude.m4 vasprintf.c: ↵thevenyp2009-01-161-16/+12
| | | | | | No longer check libc's printf. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5827 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: Check if %Ld specification is supported (not always the case ↵thevenyp2009-01-161-0/+7
| | | | | | | | | with MS Windows) tests/tfprintf.c tests/tprintf.c tests/tsprintf.c: do not check %Ld specification when not available. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5826 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2009 withvlefevre2009-01-151-1/+1
| | | | | | | perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5814 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: New macro MPFR_CHECK_PRINTF_SPEC looking for support of the ↵thevenyp2009-01-121-2/+71
| | | | | | | | | | | "%jd", "%qd", and "%td" conversion specifications in printf and gmp_printf. configure.in: Call MPFR_CHECK_PRINTF_SPEC when we can link against a suitable gmp library and run test programs at compile time, otherwise (for instance, when cross compiling), everything is enable by default. vasprintf.c: Disable support for length modifiers not supported by libc's printf ('j' and 'q' for this time). tests/tprintf.c, tests/tfprintf.c: Disable tests for length modifiers not supported by gmp_printf ('j', 'q', and 't' for this time). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5801 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4, vasprintf.c, tests/tfprintf.c, tests/tprintf.c, mpfr.texi: ↵thevenyp2008-12-161-0/+3
| | | | | | quad_t support git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5760 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: Clearly mention that the length modifier 'q' is unsupported by ↵thevenyp2008-12-151-3/+0
| | | | | | | | | | | mpfr-*printf. vasprintf.c: Do not take quad_t as a long long but as an insupported length modifier. acinclude.m4: Remove check for quad_t. tests/tprintf.c tests/tfprintf.c: Remove tests with 'q' length modifier. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5753 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: Check for quad_t.thevenyp2008-12-151-0/+3
| | | | | | | | vasprintf.c: Accept length modifier 'q' if HAVE_QUAD_T is defined (instead of HAVE_LONG_LONG). README.dev: Add notice for new HAVE_QUAD_T macro. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5748 280ebfd0-de03-0410-8827-d642c229c3f4
* This is now GNU MPFR!vlefevre2008-10-271-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5654 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: updated AC_PREREQ line due to the use of AC_PROG_SED.vlefevre2008-07-231-4/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5441 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: add a check defining va_copy macro when needed.thevenyp2008-06-271-0/+18
| | | | | | | | | | vasprintf.c: use TMP_ALLOC instead of variable-length array (C99). tests/tfprintf.c tests/tsprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). tests/tprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). remove use of function dup (dependency with <unistd.h>). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5408 280ebfd0-de03-0410-8827-d642c229c3f4
* Clean-up and various changes to be able to build MPFR with g++.vlefevre2008-06-091-0/+3
| | | | | | | | | | | | | But the following 3 tests currently fail with g++ 4.3.1: FAIL: tprintf FAIL: tsprintf FAIL: tfprintf This is an "Illegal instruction" error, so probably a bug in g++. [Edit: acinclude.m4 now uses gl_SIZE_MAX, typically from size_max.m4, but which is not installed on all machines; this will be added to the MPFR repository in changesets 5680 and 5683.] git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5385 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: locally add -I$srcdir to CPPFLAGS for the thread-safe testvlefevre2008-05-081-0/+4
| | | | | | | (fixes bug #5556). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5353 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: add check for long long compiler support, define HAVE_LONG_LONG.thevenyp2008-03-101-0/+4
| | | | | | | | | vasprintf.c: raise an error when it encounter an unsupported format in format string. tests/tfprintf.c: HAVE_SDTINT_H -> _MPFR_H_HAVE_INTMAX_T git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5341 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: fixed configure test for TLS support.vlefevre2008-01-231-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5219 280ebfd0-de03-0410-8827-d642c229c3f4
* Changes related to thread-local variables / TLS support.vlefevre2008-01-231-0/+23
| | | | | | | | | | | | | * Moved the MPFR_THREAD_ATTR definition from mpfr-impl.h into a new header file mpfr-thread.h, and updated Makefile.am accordingly. * Removed the compiler check __MPFR_GNUC(3,3) || __MPFR_ICC(8,1,0) as this test leaded to both false positives and false negatives concerning TLS support. Assume that __thread should be used for thread-local variables (except for the MS compiler). * Added a configure test to acinclude.m4 (in MPFR_CONFIGS). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5212 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2008 withvlefevre2008-01-011-1/+1
| | | | | | | | perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5151 280ebfd0-de03-0410-8827-d642c229c3f4
* experimental code to distinguish Core2 from AMD64zimmerma2007-11-301-0/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5063 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: check wchar.h header (see below).vlefevre2007-11-261-0/+3
| | | | | | | | | | | | | vasprintf.c: * No longer depend on toupper (which returns locale-dependent results) to generate 'A'..'F' (see C standard). * Removed #include <ctype.h> which was hiding a bug (see below). * Added missing #include <wchar.h> if HAVE_WCHAR_H is defined. But the compilation fails if <wchar.h> doesn't exist due to the use of wchar_t and wint_t. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5014 280ebfd0-de03-0410-8827-d642c229c3f4
* Makefile.am: add mpfr_printf-like functionsthevenyp2007-11-231-1/+3
| | | | | | | | | | | | | | | | mpfr.h: add mpfr_printf-like functions printf.c: printf, sprintf, snprintf, asprintf and 'v' variants vasprintf.c: vasprintf functions used by its likes mpfr.texi: add description for printf family functions tests/Makefile.am: add test for printf tests/tprintf.c: tests for printf-like functions acinclude.m4: define HAVE_LOCALE_H mpfr-impl.h: define MPFR_DECIMAL_POINT even if no locale.h strtofr.c: remove locale.h inclusion (done by mpfr-impl.h ) tests/tests.c: use HAVE_LOCALE_H git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4993 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: test the availability of <string.h>.vlefevre2007-11-231-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4989 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: test the availability of <locale.h>.vlefevre2007-11-231-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4988 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: updated comment concerning the checked functions.vlefevre2007-11-231-3/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4987 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: added memmove to the checked functions (though this testvlefevre2007-11-231-1/+1
| | | | | | | is currently useless, except for the corresponding information). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4986 280ebfd0-de03-0410-8827-d642c229c3f4
* acinclude.m4: updated a comment concerning the function checking.vlefevre2007-11-231-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4985 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated copyright notice (for an unknown reason, some files were missingvlefevre2007-08-291-1/+1
| | | | | | | from the change done in r4350). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4800 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2007.vlefevre2007-01-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4326 280ebfd0-de03-0410-8827-d642c229c3f4
* Improved linker flag settings on darwin.vlefevre2006-07-201-0/+19
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4104 280ebfd0-de03-0410-8827-d642c229c3f4
* Define HAVE_ATTRIBUTE_MODE if supported; useful for s390, but incompletevlefevre2006-05-291-0/+22
| | | | | | | and will fail on platforms with gcc and CHAR_BIT != 8. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4083 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated FSF address.vlefevre2006-03-311-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4057 280ebfd0-de03-0410-8827-d642c229c3f4
* Added ', Inc.' when missing after 'Free Software Foundation'.vlefevre2006-01-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3985 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the copyright notices according to the new GNU rules on:vlefevre2006-01-051-1/+1
| | | | | | | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices i.e. added 2006 to every MPFR file. Note: the copyright notices (currently 336) should match the regexp Copyright.* 2006 Free Software so that it will be easier to update them for the next year... git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3983 280ebfd0-de03-0410-8827-d642c229c3f4
* More portable DOUBLE_ISNAN (useful for MIPSpro under IRIX64).vlefevre2005-09-021-0/+23
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3775 280ebfd0-de03-0410-8827-d642c229c3f4
* Reformat.vlefevre2005-09-021-30/+30
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3773 280ebfd0-de03-0410-8827-d642c229c3f4
* Clean up.pelissip2005-07-181-35/+21
| | | | | | | | Add comment. Add a new test: check if the charset has consecutive values. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3676 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed locale bug. Function strncasecmp is no longer used.vlefevre2005-07-111-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3671 280ebfd0-de03-0410-8827-d642c229c3f4
* In the tests, set the locale to the current one. This allows to testvlefevre2005-07-091-1/+1
| | | | | | | | | MPFR under various locales, showing a bug in the parse_string function due to the use of the strncasecmp function ('i' and 'I' don't match with LC_ALL="tr_TR.ISO8859-9"). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3670 280ebfd0-de03-0410-8827-d642c229c3f4
* Clean up configure and acinclude:pelissip2005-06-221-61/+104
| | | | | | | | | | + Remove useless test in MPFR_CONFIGS (Check for valid NAN). Its result is not use by MPFR. + Remove useless macros (AC_CHECK_OS, AC_CHECK_MACH and AC_MY_HEADERS). + Move detection of math/rint,round,floor,ceil to MPFR_CONFIGS. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3659 280ebfd0-de03-0410-8827-d642c229c3f4
* Add support for Shared Library in MPFR (both Unix and Windows) by using libtool.pelissip2005-02-081-10/+14
| | | | | | | | Improve configure (remove unused macros, make dist produce .zip and .bz2) Update update-version to modify configure.in too. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3281 280ebfd0-de03-0410-8827-d642c229c3f4
* Now MPFR tries to get GMP's CC and CFLAGS from its build directory.pelissip2005-02-011-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3253 280ebfd0-de03-0410-8827-d642c229c3f4
* Forget 2005 !pelissip2005-01-111-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3177 280ebfd0-de03-0410-8827-d642c229c3f4
* Improve and fix detection of NAN and GCC bug.pelissip2005-01-111-4/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3176 280ebfd0-de03-0410-8827-d642c229c3f4
* Remove useless assembly code.pelissip2004-12-141-13/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3136 280ebfd0-de03-0410-8827-d642c229c3f4
* Code checking for GMP library wasn't working (always returning "yes"?).vlefevre2004-11-021-28/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3068 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated copyright line.vlefevre2004-10-271-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3066 280ebfd0-de03-0410-8827-d642c229c3f4
* Applied patch by Steve M. Robbins for non-IRIX MIPS systemsvlefevre2004-10-271-0/+7
| | | | | | | (originally for MPFR 2.0.3). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3060 280ebfd0-de03-0410-8827-d642c229c3f4
* Add support for ".lib" since it seems to work.pelissip2004-10-071-1/+6
| | | | | | | Display GMP version inside the configure. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3023 280ebfd0-de03-0410-8827-d642c229c3f4
* Use LIBS instead of LDADD for libraries (GMP).pelissip2004-09-171-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2973 280ebfd0-de03-0410-8827-d642c229c3f4