Enable use of our own timezone library for Win32.
authorBruce Momjian
Fri, 30 Apr 2004 04:18:28 +0000 (04:18 +0000)
committerBruce Momjian
Fri, 30 Apr 2004 04:18:28 +0000 (04:18 +0000)
configure
configure.in
src/include/pg_config.h.in

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
index 8249ac169652c1944b60c5f10fd3e011d1e26712..fe540588c68ba1194336610e2a37927732710194 100644 (file)
@@ -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
index c02f94c218f75a5451ae4bacd589fab7932cf796..974011e0a778ba2c2f184f4d9143ce8261e27b0f 100644 (file)
 /* 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