From cd63dba445d476317e9a25c9d791a7078a0395c8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Nov 2011 17:40:25 +0200 Subject: Add support for selecting threading implementation --- build/configure | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 build/configure (limited to 'build/configure') diff --git a/build/configure b/build/configure new file mode 100644 index 0000000..5816683 --- /dev/null +++ b/build/configure @@ -0,0 +1,26 @@ +#! /usr/bin/env bash + +# file : build/configure +# author : Boris Kolpackov +# copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +# $1 out file +# +# bld_root - build root +# project_name - project name +# + +source $bld_root/dialog.bash + +$echo +$echo "Please select the threading implementation:" +$echo +$echo "(1) POSIX" +$echo "(2) Win32" +$echo "(3) None" +$echo + +threads=`read_option "posix win32 none" "posix"` + +echo "libodb_threads := $threads" >$1 -- cgit v1.1