aboutsummaryrefslogtreecommitdiff
path: root/build/configure
blob: 1905cdf0ad44b458a11ac00f0567fbc4a7cbb21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#! /usr/bin/env bash

# file      : build/configure
# copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

# $1  out file
#
# bld_root     - build root
# project_name - project name
#

source $bld_root/dialog.bash


$echo
$echo
$echo "configuring '$project_name'"
$echo
$echo

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the 'zlib' library?"
$echo

with_zlib=`read_y_n n`

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the 'ACE' library?"
$echo

with_ace=`read_y_n n`

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the 'XDR' library (part of the system in most GNU/Linux and"
$echo "UNIX distributions)?"
$echo

with_xdr=`read_y_n n`

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the boost 'serialization' library?"
$echo

with_boost_serialization=`read_y_n n`

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the boost 'date_time' library?"
$echo

with_boost_date_time=`read_y_n n`

$echo
$echo "Would you like to build optional parts of '$project_name' that require"
$echo "the XQilla library?"
$echo

with_xqilla=`read_y_n n`

echo "xsd_with_zlib := $with_zlib"                                >$1
echo "xsd_with_ace := $with_ace"                                 >>$1
echo "xsd_with_xdr := $with_xdr"                                 >>$1
echo "xsd_with_xqilla := $with_xqilla"                           >>$1
echo "xsd_with_boost_date_time := $with_boost_date_time"         >>$1
echo "xsd_with_boost_serialization := $with_boost_serialization" >>$1