git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a73eb5)
Enable use of our own timezone library for Win32.
2004年4月30日 04:18:28 +0000 (04:18 +0000)
2004年4月30日 04:18:28 +0000 (04:18 +0000)

diff --git a/configure b/configure
index d2c60e6366c26ef25649e4e061ca7a017fc056a1..00408f9326a5aa1664e1c35a1646eed2fe633a3e 100755 (executable)
--- a/configure
+++ b/configure
@@ -12012,7 +12012,12 @@ LIBOBJS="$LIBOBJS copydir.$ac_objext"
LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
LIBOBJS="$LIBOBJS open.$ac_objext"
LIBOBJS="$LIBOBJS pipe.$ac_objext"
-LIBOBJS="$LIBOBJS rand.$ac_objext" ;;
+LIBOBJS="$LIBOBJS rand.$ac_objext"
+
+cat >>confdefs.h <<\_ACEOF
+#define PGTZ 1
+_ACEOF
+ ;;
esac
# Win32 can't to rename or unlink on an open file
diff --git a/configure.in b/configure.in
index 8249ac169652c1944b60c5f10fd3e011d1e26712..fe540588c68ba1194336610e2a37927732710194 100644 (file)
--- 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.339 2004年04月27日 20:09:27 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.340 2004年04月30日 04:18:28 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -893,7 +893,9 @@ AC_LIBOBJ(copydir)
AC_LIBOBJ(gettimeofday)
AC_LIBOBJ(open)
AC_LIBOBJ(pipe)
-AC_LIBOBJ(rand) ;;
+AC_LIBOBJ(rand)
+AC_DEFINE(PGTZ, 1,
+ [Define to 1 to use our own timezone library]) ;;
esac
# Win32 can't to rename or unlink on an open file
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index c02f94c218f75a5451ae4bacd589fab7932cf796..974011e0a778ba2c2f184f4d9143ce8261e27b0f 100644 (file)
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -575,6 +575,9 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
+/* Define to 1 to use our own timezone library */
+#undef PGTZ
+
/* Define to the name of the PostgreSQL service principal in Kerberos.
(--with-krb-srvnam=NAME) */
#undef PG_KRB_SRVNAM
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /