1 ?RCS: $Id: d_tzmin.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: d_tzmin.U,v $
12 ?RCS: Revision 3.0.1.1 1994/10/29 16:16:58 ram
13 ?RCS: patch36: call ./bsd explicitly instead of relying on PATH
15 ?RCS: Revision 3.0 1993/08/18 12:07:49 ram
16 ?RCS: Baseline for dist 3.0 netwide release.
18 ?MAKE:d_tzmin: contains cppstdin cppminus timeincl rm Setvar Guess
19 ?MAKE: -pick add $@ %<
21 ?S: This symbol conditionally defines TZ_MINUTESWEST if the system uses
22 ?S: tz_minuteswest in time header instead of timezone.
25 ?C: This symbol is defined if this system uses tz_minuteswest
26 ?C: in time header instead of timezone.
27 ?C: If not defined, you may have to use struct timeb and ftime() rather
28 ?C: than the new gettimeofday() system call.
30 ?H:#$d_tzmin TZ_MINUTESWEST /**/
33 : see if tz_minuteswest is defined in time header
36 $cppstdin $cppminus < $timeincl > try 2>&1
37 if $contains 'tz_minuteswest' try >/dev/null 2>&1; then
38 echo "You have tz_minuteswest defined in $timeincl rather than timezone." >&4
40 elif $contains 'timezone' try >/dev/null 2>&1; then
41 echo "You have timezone defined in $timeincl rather than tz_minuteswest." >&4
43 echo "Your $timeincl file looks strange." >&4
47 "$undef") echo "(Maybe your system is an USG one after all?)";;