Commit 50a79e0f authored by Juha Sointusalo's avatar Juha Sointusalo

build: remove NO_PER_THREAD_LOCALE stuff

NO_PER_THREAD_LOCALE has been replaced by HAVE__CONFIGTHREADLOCALE and
HAVE_USELOCALE.

Also remove HAVE_DECL__CONFIGTHREADLOCALE which was used only for
NO_PER_THREAD_LOCALE.
parent f97421a7
...@@ -638,14 +638,6 @@ AH_TOP([ ...@@ -638,14 +638,6 @@ AH_TOP([
]) ])
AH_BOTTOM([ AH_BOTTOM([
#if !HAVE_DECL__CONFIGTHREADLOCALE
#define NO_PER_THREAD_LOCALE 1
#undef HAVE__CONFIGTHREADLOCALE
#else
#undef NO_PER_THREAD_LOCALE
#define HAVE__CONFIGTHREADLOCALE 1
#endif
#ifndef HAVE_RES_INIT #ifndef HAVE_RES_INIT
#define res_init() (0) #define res_init() (0)
#endif #endif
...@@ -926,7 +918,7 @@ AC_PROG_GCC_TRADITIONAL ...@@ -926,7 +918,7 @@ AC_PROG_GCC_TRADITIONAL
AC_FUNC_VPRINTF AC_FUNC_VPRINTF
AC_CHECK_FUNCS([ether_ntoa setpriority sched_setscheduler strlcpy strlcat strcasestr strcasecmp sigaction getutent setutent getisax strdup _strdup strdupa _strdupa daemon stat64 putenv setenv unsetenv res_init strtoull localtime localtime_r gmtime gmtime_r uselocale _configthreadlocale]) AC_CHECK_FUNCS([ether_ntoa setpriority sched_setscheduler strlcpy strlcat strcasestr strcasecmp sigaction getutent setutent getisax strdup _strdup strdupa _strdupa daemon stat64 putenv setenv unsetenv res_init strtoull localtime localtime_r gmtime gmtime_r uselocale _configthreadlocale])
AC_CHECK_DECLS([_fpreset, fpreset, _configthreadlocale], AC_CHECK_DECLS([_fpreset, fpreset],
[],[],[[ [],[],[[
#include <stdio.h> #include <stdio.h>
#if HAVE_SYS_TYPES_H #if HAVE_SYS_TYPES_H
...@@ -973,12 +965,6 @@ AC_CHECK_DECLS([_fpreset, fpreset, _configthreadlocale], ...@@ -973,12 +965,6 @@ AC_CHECK_DECLS([_fpreset, fpreset, _configthreadlocale],
#ifdef HAVE_MATH_H #ifdef HAVE_MATH_H
#include <math.h> #include <math.h>
#endif #endif
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#ifdef HAVE_XLOCALE_H
#include <xlocale.h>
#endif
]]) ]])
dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for typedefs, structures, and compiler characteristics.
......
...@@ -96,8 +96,6 @@ ...@@ -96,8 +96,6 @@
#define HAVE_DECL__FPRESET 1 #define HAVE_DECL__FPRESET 1
#define HAVE_DECL___CPUID 1 #define HAVE_DECL___CPUID 1
#define HAVE_MSVCRT 1 #define HAVE_MSVCRT 1
#undef NO_PER_THREAD_LOCALE
#define HAVE_DECL__CONFIGTHREADLOCALE 1
#define HAVE__CONFIGTHREADLOCALE 1 #define HAVE__CONFIGTHREADLOCALE 1
#define HAVE_DECL___CPUID 1 #define HAVE_DECL___CPUID 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment