diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1998-12-13 20:03:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1998-12-13 20:03:07 +0000 |
commit | a10b38f255c477a7b84ed0e58d7ea80e46a928f8 (patch) | |
tree | abe81f1b2cd2fc052278f7a4774d03abf3fba5dd /src/include | |
parent | 26a23e33db0f6b7a49f95fd4b422ec06fb776880 (diff) | |
download | postgresql-a10b38f255c477a7b84ed0e58d7ea80e46a928f8.tar.gz postgresql-a10b38f255c477a7b84ed0e58d7ea80e46a928f8.zip |
Use standard AC_PROG_INSTALL macro to search for install program,
instead of our own halfway-there code. Add AC_STRUCT_TIMEZONE call
to check whether tm_zone exists in struct tm. Revise reading of template
file so that templates can define any variables they feel like (and,
indeed, can execute arbitrary shell code) rather than being constrained
to a fixed set of variable names.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/config.h.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index 916676bf125..ff0431383c4 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -145,7 +145,14 @@ int isinf(double x); int gethostname(char *name, int namelen); #endif -/* Set to 1 if you have int timezone */ +/* Set to 1 if struct tm has a tm_zone member */ +#undef HAVE_TM_ZONE + +/* Set to 1 if you have int timezone. + * NOTE: if both tm_zone and a global timezone variable exist, + * using the tm_zone field should probably be preferred, + * since global variables are inherently not thread-safe. + */ #undef HAVE_INT_TIMEZONE /* Set to 1 if you have cbrt() */ |