diff --git a/configure b/configure index d2c60e6366..00408f9326 100755 --- 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 8249ac1696..fe540588c6 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.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 c02f94c218..974011e0a7 100644 --- 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