summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/generic/configure-sl
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-05-02 07:42:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-05-02 07:42:02 +0200
commitfc486627a4ecbae797fa6856d8a9204ea85f4db8 (patch)
treeff3dae4c0e5d980d8e2da4fc6256ae839269bbcd /build-0.3/cxx/generic/configure-sl
parent1c188393cd2e271ed2581471b601fb5960777fd8 (diff)
parentecba0bbd9947036dd82f16ab95252f8db445e149 (diff)
Merge tag 'debian/4.0.0-10' into developdevelop
Bugfix release
Diffstat (limited to 'build-0.3/cxx/generic/configure-sl')
-rwxr-xr-xbuild-0.3/cxx/generic/configure-sl36
1 files changed, 36 insertions, 0 deletions
diff --git a/build-0.3/cxx/generic/configure-sl b/build-0.3/cxx/generic/configure-sl
new file mode 100755
index 0000000..31df8ce
--- /dev/null
+++ b/build-0.3/cxx/generic/configure-sl
@@ -0,0 +1,36 @@
+#! /usr/bin/env bash
+
+# file : build/cxx/generic/configure-sl
+# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
+# license : GNU GPL v2; 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 "Please enter C++ compiler option(s) used to build position-"
+$echo "independent code (e.g., -fPIC, -Kpic, etc)."
+$echo
+
+read -e -p "[]: " pic_option
+
+$echo
+$echo "Please enter C++ compiler option(s) used to build shared"
+$echo "libraries (e.g., -shared, -G, etc)."
+$echo
+
+read -e -p "[]: " shared_option
+
+echo "cxx_generic_pic_option := $pic_option" > $1
+echo "cxx_generic_shared_option := $shared_option" >> $1