aboutsummaryrefslogtreecommitdiff
path: root/build/import/liboci/configure
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
commitf024d16b9c78d683baa5d87b6e92b3d79a1f3300 (patch)
tree0f2c114c2d046a4abe1fe582f34d18b08f8cc2c0 /build/import/liboci/configure
parentdb57fa8ca484a677350299e691f0f6ba721904c8 (diff)
Add initial development infrastructure
Diffstat (limited to 'build/import/liboci/configure')
-rwxr-xr-xbuild/import/liboci/configure27
1 files changed, 27 insertions, 0 deletions
diff --git a/build/import/liboci/configure b/build/import/liboci/configure
new file mode 100755
index 0000000..ca05a06
--- /dev/null
+++ b/build/import/liboci/configure
@@ -0,0 +1,27 @@
+#! /usr/bin/env bash
+
+# file : build/import/liboci/configure
+# author : Constantin Michael <constantin@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : ODB NCUEL; 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 'OCI library' for '$project_name'."
+$echo
+
+$echo
+$echo "Please enter the 'Oracle' home directory."
+$echo
+
+liboci_root=`read_path --directory --exist $ORACLE_HOME`
+
+echo liboci_root := $liboci_root >$1