static SplayTreeInfo
*locale_cache = (SplayTreeInfo *) NULL;
-#if defined(MAGICKCORE_HAVE_LOCALE_H)
+#if !defined(MAGICKCORE_HAVE_LOCALE_T)
+typedef void *locale_t;
+#endif
+
static volatile locale_t
c_locale = (locale_t) NULL;
-#endif
\f
/*
Forward declarations.
#define MAGICKCORE_HAVE_LOCALE_H 1
#endif
+/* Define to 1 if the system has the type `locale_t'. */
+#ifndef MAGICKCORE_HAVE_LOCALE_T
+#define MAGICKCORE_HAVE_LOCALE_T 1
+#endif
+
/* Define to 1 if you have the `localtime_r' function. */
#ifndef MAGICKCORE_HAVE_LOCALTIME_R
#define MAGICKCORE_HAVE_LOCALTIME_R 1
*/
#define MagickPackageName "ImageMagick"
#define MagickCopyright "Copyright (C) 1999-2015 ImageMagick Studio LLC"
-#define MagickSVNRevision "18537:18543M"
+#define MagickSVNRevision "18537:18545M"
#define MagickLibVersion 0x700
#define MagickLibVersionText "7.0.0"
#define MagickLibVersionNumber 0,0,0
#define MagickppLibAddendum "-0"
#define MagickppLibInterface 0
#define MagickppLibMinInterface 0
-#define MagickReleaseDate "2015-05-12"
+#define MagickReleaseDate "2015-05-14"
#define MagickChangeDate "20120427"
#define MagickAuthoritativeLicense \
"http://www.imagemagick.org/script/license.php"
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
+/* Define to 1 if the system has the type `locale_t'. */
+#undef HAVE_LOCALE_T
+
/* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
MAGICK_VERSION=7.0.0-0
-MAGICK_SVN_REVISION=18537:18543M
+MAGICK_SVN_REVISION=18537:18545M
# Substitute library versioning
fi
+ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "$ac_includes_default"
+if test "x$ac_cv_type_locale_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LOCALE_T 1
+_ACEOF
+
+
+fi
+
+
# Float_t and double_t are intended to be the the most efficient type.
ac_fn_c_check_type "$LINENO" "float_t" "ac_cv_type_float_t" "#include <math.h>
"
AC_TYPE_UINTPTR_T
AC_TYPE_UNSIGNED_LONG_LONG_INT
+AC_CHECK_TYPES([locale_t])
+
# Float_t and double_t are intended to be the the most efficient type.
AC_CHECK_TYPES([float_t], [], [], [[#include <math.h>]])
AC_CHECK_TYPES([double_t], [], [], [[#include <math.h>]])