summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/config b/config
index f57969bb44..d85fbde3aa 100755
--- a/config
+++ b/config
@@ -292,6 +292,8 @@ TEST="false"
for i
do
case "$i" in
+# shared library support (behnke@trustcenter.de)
+-shared) SHARED=true;;
-d*) PREFIX="debug-";;
-t*) TEST="true";;
-h*) TEST="true"; cat <<EOF
@@ -476,6 +478,16 @@ then
options="$options -DATALLA"
fi
+#get some basic shared lib support (behnke@trustcenter.de)
+case "$OUT" in
+ solaris-*-gcc)
+ if [ "$SHARED" = "true" ]
+ then
+ options="$options -DPIC -fPIC"
+ fi
+ ;;
+esac
+
# gcc < 2.8 does not support -mcpu=ultrasparc
if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
then