regex updates: compatability fixes for Como and sunpro compilers

[SVN r9642]
This commit is contained in:
John Maddock
2001-03-26 11:09:49 +00:00
parent 1758679bd6
commit b8adb4df00
10 changed files with 119 additions and 92 deletions

View File

@ -753,7 +753,7 @@ pthread_mutex_t m;
],
[
pthread_mutex_init(&m, NULL);
pthread_mutex_init(&m, 0);
pthread_mutex_lock(&m);
pthread_mutex_unlock(&m);
pthread_mutex_destroy(&m);
@ -1055,9 +1055,17 @@ AC_MSG_CHECKING(for <locale>)
AC_TRY_COMPILE(
[
#include <locale>
#include <string>
#include <map>
#include "confdefs.h"
std::locale l;
//
// regex locale support also requires
// std::map to be working so we test this
// as well here:
//
std::map<std::string, std::string> m;
],
[
],
@ -1687,5 +1695,6 @@ rm -f jm_opt.out