summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorDan Hale <danhale@us.ibm.com>2000-08-25 06:58:06 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-25 18:27:17 +0000
commit1b9c9cf5b717295753f7f7adb1f9d3d1cbaf5308 (patch)
treea906ab9e337ec28f96959d9763e4ae2abf50e3c7 /perl.c
parentcb3d9de5ab53f2c2103b956bb8c972762aabbaa3 (diff)
downloadperl-1b9c9cf5b717295753f7f7adb1f9d3d1cbaf5308.tar.gz
AIX 4.3.3 has SOCKS in libc with a differently named init routine,
the problem reported in Subject: [ID 20000825.007] Building stable 5.6.0 on AIX 4.3.3 using SOCKS Message-Id: <85256946.005238A3.00@d54mta02.raleigh.ibm.com> p4raw-id: //depot/perl@6816
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 89e6429f17..a2cfd78917 100644
--- a/perl.c
+++ b/perl.c
@@ -1261,7 +1261,11 @@ print \" \\@INC:\\n @INC\\n\";");
#endif
#ifdef USE_SOCKS
+# ifdef HAS_SOCKS5_INIT
+ socks5_init(argv[0]);
+# else
SOCKSinit(argv[0]);
+# endif
#endif
init_predump_symbols();