From 4c74bde8e53ccc5ac6753aed39358b5a2dcccfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 19 Nov 2004 19:24:10 +0000 Subject: [PATCH] Added support for timezone files which are parsed at configure time. This allows jam to know which targets are expected. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10030 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure b/configure index 175b89099d..03ba8b2f1a 100755 --- a/configure +++ b/configure @@ -128,3 +128,14 @@ INCLUDE_GPL_ADDONS ?= ${include_gpl_addons} ; TARGET_PLATFORM ?= ${target} ; EOF +# Generate Timezones binaries bindings + +for f in src/data/etc/timezones/*; +do + +TZOBJECTS=`gawk '/^(Zone|Link)/ { print $2 } ' $f ` + +cat << EOF >> build/BuildConfig +TZ_OBJECTS on ${f##src/data/etc/timezones/} ?= $TZOBJECTS ; +EOF +done