aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-12-13 20:03:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-12-13 20:03:07 +0000
commita10b38f255c477a7b84ed0e58d7ea80e46a928f8 (patch)
treeabe81f1b2cd2fc052278f7a4774d03abf3fba5dd /src/include
parent26a23e33db0f6b7a49f95fd4b422ec06fb776880 (diff)
downloadpostgresql-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.in9
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() */