This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document the d_socket override.
[perl5.git] / hints / dos_djgpp.sh
1 # hints file for dos/djgpp v2.xx
2 # Original by Laszlo Molnar <molnarl@cdata.tvnet.hu>
3
4 # 971015 - archname changed from 'djgpp' to 'dos-djgpp'
5 # 971210 - threads support
6
7 archname='dos-djgpp'
8 archobjs='djgpp.o'
9 path_sep=\;
10 startsh="#! /bin/sh"
11
12 cc='gcc'
13 ld='gcc'
14 usrinc="$DJDIR/include"
15
16 libpth="$DJDIR/lib"
17 libc="$libpth/libc.a"
18
19 so='none'
20 usedl='n'
21
22 firstmakefile='GNUmakefile'
23 exe_ext='.exe'
24
25 randbits=31
26 lns='cp'
27
28 usenm='true'
29
30 d_link='undef'      # these are empty functions in libc.a
31 d_symlink='undef'
32 d_fork='undef'
33 d_pipe='undef'
34
35 startperl='#!perl'
36
37 case "X$optimize" in
38   X)
39         optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
40         ;;
41 esac
42 ldflags='-s'
43 usemymalloc='n'
44 timetype='time_t'
45
46 prefix=$DJDIR
47 privlib=$prefix/lib/perl5
48 archlib=$privlib
49 sitelib=$privlib/site
50 sitearch=$sitelib
51
52 eagain='EAGAIN'
53 rd_nodata='-1'
54
55 if [ "X$usethreads" = "X$define" ]; then
56     set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
57     shift
58     libswanted="$*"
59 fi