path: root/mcon/U/usesocks.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/usesocks.U
Moving project to sourceforge.
git-svn-id: 190e5f8e-a817-0410-acf6-e9863daed9af
Diffstat (limited to 'mcon/U/usesocks.U')
1 files changed, 46 insertions, 0 deletions
diff --git a/mcon/U/usesocks.U b/mcon/U/usesocks.U
new file mode 100644
index 0000000..cd30e4d
--- /dev/null
+++ b/mcon/U/usesocks.U
@@ -0,0 +1,46 @@
+?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: Copyright (c) 1999 Jarkko Hietaniemi
+?MAKE:usesocks: Myread Oldconfig Setvar spackage package
+?MAKE: -pick add $@ %<
+?S: This variable conditionally defines the USE_SOCKS symbol,
+?S: and indicates that Perl should be built to use SOCKS.
+?C: This symbol, if defined, indicates that Perl should
+?C: be built to use socks.
+?H:?%<:#$usesocks USE_SOCKS /**/
+?LINT:set usesocks
+: check for requested SOCKS support
+case "$usesocks" in
+$define|true|[yY]*) dflt='y';;
+*) dflt='n';;
+cat <<EOM
+$spackage can be built to use the SOCKS proxy protocol library.
+If this doesn't make any sense to you, just accept the default '$dflt'.
+rp="Build $package for SOCKS?"
+. ./myread
+case "$ans" in
+y|Y) val="$define" ;;
+*) val="$undef" ;;
+set usesocks
+eval $setvar