summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-23 17:35:46 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-23 17:35:46 +0000
commit95d35d1a8dd18aceb7d1af74f38128eb9232964a (patch)
tree4a565114eb7d39f5d33a2542d009927ecf021e3f /acinclude.m4
parent29cf68c84dc49e80be5bd9316345eddbdfb07bc6 (diff)
downloadmpfr-95d35d1a8dd18aceb7d1af74f38128eb9232964a.tar.gz
Makefile.am: add mpfr_printf-like functions
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
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index fc510a0fd..a3a543b24 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -44,9 +44,11 @@ AC_REQUIRE([AC_CANONICAL_HOST])
AC_CHECK_HEADER([limits.h],, AC_MSG_ERROR([limits.h not found]))
AC_CHECK_HEADER([float.h],, AC_MSG_ERROR([float.h not found]))
-AC_CHECK_HEADER([locale.h],, AC_MSG_ERROR([locale.h not found]))
AC_CHECK_HEADER([string.h],, AC_MSG_ERROR([string.h not found]))
+dnl Check for locales
+AC_CHECK_HEADERS([locale.h])
+
dnl Check for stdargs
AC_CHECK_HEADER([stdarg.h],[AC_DEFINE([HAVE_STDARG],1,[Define if stdarg])],
[AC_CHECK_HEADER([varargs.h],,