summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-05 19:59:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-05 19:59:48 +0000
commit29209bc5efc823322ed539ae434cba1765cb5082 (patch)
tree5497276ac24576eaa422b59e9f1a2e3f3ae34087 /hints/aix.sh
parent5b877257c279c72efd65c092c32959c904c739e8 (diff)
downloadperl-29209bc5efc823322ed539ae434cba1765cb5082.tar.gz
Hack SOCKS support some more plus a patch from Andy Dougherty
that addresses the notorious "Additional libraries" question. p4raw-id: //depot/cfgperl@3597
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh50
1 files changed, 1 insertions, 49 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index fcf4adbfa1..e24874bc17 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -17,7 +17,7 @@
#
# - use nm in AIX 43x and above
# - gcc + threads now builds
-# - added support for socks, when Dccflags=-DSOCKS specified
+# [(added support for socks) Jul 99 SOCKS support rewritten]
#
# Notes:
#
@@ -113,54 +113,6 @@ case "$osvers" in
;;
esac
-# Save this for backward compatibility for now.
-# Configure already (5.005_58) knows how to probe for
-# <socks.h> and libsocks. What sucks is that the name
-# of the socks library seems to be version dependent
-# (e.g. libsocks5), bleagh.
-#
-# if $ccflags contains -DSOCKS, then add socks library support.
-#
-# It is expected that libsocks.a resides in /usr/local/lib and that
-# socks.h resides in /usr/local/include. If these files live some
-# different place then modify
-#
-
-for arg in $ccflags ; do
-
- if [ "$arg" = "-DSOCKS" ] ; then
-
- sockslib=socks5
- incpath=/usr/local/include
- libpath=/usr/local/lib
-
- lddlflags="$lddlflags -l$sockslib"
-
- # setting $libs here breaks the optional libraries search
- # for some reason, so use $libswanted instead
- #libs="$libs -lsocks5"
-
- libswanted="$libswanted $sockslib"
-
- #
- # path for include file
- #
-
- locincpth="$locincpath /usr/local/include"
-
- #
- # path for library not needed, if in /usr/local/lib as that
- # directory is already searched.
- #
-
- #loclibpth="$loclibpath /usr/local/lib"
-
- break
-
- fi
-
-done
-
# This script UU/usethreads.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use threads.
cat > UU/usethreads.cbu <<'EOCBU'