aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodbc/configure
blob: 3a5301a5ea1ff71360abf1adab9ecb8a2cbfb337 (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
#! /usr/bin/env bash

# file      : build/import/libodbc/configure
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009-2011 Boris Kolpackov
# license   : GNU GPL v2; see accompanying LICENSE file


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

source $bld_root/dialog.bash

$echo
$echo "Configuring external dependency on 'ODBC library' for '$project_name'."
$echo

$echo
$echo "Please select the driver manager you would like to use:"
$echo
$echo "(1) Windows ODBC"
$echo "(2) unixODBC"
$echo

manager=`read_option "windows unix" "unix"`

echo libodbc_manager := $manager >$1