Thread

  1. Australian timezone configure option

    Chris Dunlop <chris@onthe.net.au> — 2001-05-31T14:54:41Z

    Hi,
    
    Being in Australia, it's always been a minor pain building the support
    for Australian timezone rules by defining USE_AUSTRALIAN_RULES to the
    compiler.  Not to mention the not inconsiderable pain involved in pawing
    through the code and documentation trying to work out why the timezones
    were wrong in the first place.
    
    This patch makes it a configure option - much easier to use, and much
    more obvious for the other Aussies who keep wondering why their
    timezones are all messed up...
    
    Obviously 'autoconf' needs to be run after applying the patch.
    
    Cheers,
    
    Chris,
    OnTheNet
    
    
    --- postgresql-7.1.2/configure.in.orig	Fri May 11 11:34:39 2001
    +++ postgresql-7.1.2/configure.in	Thu May 31 23:54:27 2001
    @@ -150,6 +150,16 @@
     
     
     #
    +# Australian timezone (--enable-australian-tz)
    +#
    +AC_MSG_CHECKING([whether to build with Australian timezone rules])
    +PGAC_ARG_BOOL(enable, australian-tz, no, [  --enable-australian-tz  enable Australian timezone rules ],
    +              [AC_DEFINE([USE_AUSTRALIAN_RULES], 1,
    +                         [Set to 1 if you want Australian timezone rules (--enable-australian-tz)])])
    +AC_MSG_RESULT([$enable_australian_tz])
    +
    +
    +#
     # Locale (--enable-locale)
     #
     AC_MSG_CHECKING([whether to build with locale support])