path: root/mcon/U/so.U
diff options
Diffstat (limited to 'mcon/U/so.U')
1 files changed, 50 insertions, 0 deletions
diff --git a/mcon/U/so.U b/mcon/U/so.U
new file mode 100644
index 0000000..60fc2e0
--- /dev/null
+++ b/mcon/U/so.U
@@ -0,0 +1,50 @@
+?RCS: $Id: so.U,v 1994/10/29 16:30:04 ram Exp $
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: as specified in the README file that comes with the distribution.
+?RCS: You may reuse parts of this distribution only within the terms of
+?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 3.0.
+?RCS: $Log: so.U,v $
+?RCS: Revision 1994/10/29 16:30:04 ram
+?RCS: patch36: now tells user how he can suppress shared lib lookup (ADO)
+?RCS: patch36: removed echo at the top, since it's now in the here-doc (ADO)
+?RCS: Revision 1994/06/20 07:07:02 ram
+?RCS: patch30: created
+?X: This unit computes the shared-object / shared-lib extension
+?MAKE:so: test libpth Loc Myread Oldconfig cat
+?MAKE: -pick add $@ %<
+?S: This variable holds the extension used to identify shared libraries
+?S: (also known as shared objects) on the system. Usually set to 'so'.
+?T: xxx
+: compute shared library extension
+case "$so" in
+ if xxx=`./loc X $libpth`; $test -f "$xxx"; then
+ dflt='sl'
+ else
+ dflt='so'
+ fi
+ ;;
+*) dflt="$so";;
+$cat <<EOM
+On some systems, shared libraries may be available. Answer 'none' if
+you want to suppress searching of shared libraries for the remaining
+of this configuration.
+rp='What is the file extension used for shared libraries?'
+. ./myread