diff options
| author | Magnus Hagander | 2009-01-21 10:30:02 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2009-01-21 10:30:02 +0000 |
| commit | 0154345078fb96a8bbe8b8785628400b17e5a75b (patch) | |
| tree | 34e581ca07428ed44cdc4f4a9d58d7df9f08a501 /configure.in | |
| parent | fa40ca42a6bc3da349eaf661ef9e25c0064d110d (diff) | |
Make win32 builds always do SetEnvironmentVariable() when doing putenv().
Also, if linked against other versions than the default MSVCRT library
(for example the MSVC build which links against MSVCRT80), also update
the cache in the default MSVCRT at the same time.
This should fix the issues with setting LC_MESSAGES on the MSVC build.
Original patch from Hiroshi Inoue and Hiroshi Saito, much rewritten
by me.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index fadd4c53adf..3ece4326db6 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.587 2009/01/14 18:10:21 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.588 2009/01/21 10:30:02 mha Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1274,6 +1274,7 @@ AC_REPLACE_FUNCS(gettimeofday) AC_LIBOBJ(kill) AC_LIBOBJ(open) AC_LIBOBJ(rand) +AC_LIBOBJ(win32env) AC_LIBOBJ(win32error) AC_DEFINE([HAVE_SYMLINK], 1, [Define to 1 if you have the `symlink' function.]) |
