summaryrefslogtreecommitdiff
path: root/xsd/build/configure
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/build/configure')
-rwxr-xr-xxsd/build/configure70
1 files changed, 70 insertions, 0 deletions
diff --git a/xsd/build/configure b/xsd/build/configure
new file mode 100755
index 0000000..df57f07
--- /dev/null
+++ b/xsd/build/configure
@@ -0,0 +1,70 @@
+#! /usr/bin/env bash
+
+# file : build/configure
+# copyright : Copyright (c) 2005-2014 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