path: root/mcon/U/so.U
diff options
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-08-24 12:32:52 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-08-24 12:32:52 +0000
commit8bfc5756fb68e0b13d7e7c0073ad5b9a4790d1b6 (patch)
treedee05e98bc53766d609ef2a3a07a5672627d812c /mcon/U/so.U
Moving project to sourceforge.
git-svn-id: 190e5f8e-a817-0410-acf6-e9863daed9af
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..38121d6
--- /dev/null
+++ b/mcon/U/so.U
@@ -0,0 +1,50 @@
+?RCS: $Id$
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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 4.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 remainder
+of this configuration.
+rp='What is the file extension used for shared libraries?'
+. ./myread