summaryrefslogtreecommitdiff
path: root/xsd/build/configure
blob: 44cbc279451be5e650def666dab85bce0e851250 (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
71
72
73
74
75
76
77
78
79
80
#! /usr/bin/env bash

# file      : build/configure
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2005-2010 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 'Berkeley DB XML' library?"
$echo

with_dbxml=`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_dbxml := $with_dbxml"                             >>$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