This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
better Carp reporting within subclassed modules (from Wolfgang Laun
[perl5.git] / hints / dos_djgpp.sh
CommitLineData
39e571d4
LM
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'
9731c6ca 5# 971210 - threads support
39e571d4
LM
6
7archname='dos-djgpp'
8archobjs='djgpp.o'
9path_sep=\;
c4f23d77 10startsh="#! /bin/sh"
39e571d4
LM
11
12cc='gcc'
13ld='gcc'
14usrinc="$DJDIR/include"
15
16libpth="$DJDIR/lib"
17libc="$libpth/libc.a"
18
19so='none'
20usedl='n'
21
22firstmakefile='GNUmakefile'
23exe_ext='.exe'
24
25randbits=31
39e571d4
LM
26lns='cp'
27
28usenm='true'
39e571d4
LM
29
30d_link='undef' # these are empty functions in libc.a
31d_symlink='undef'
32d_fork='undef'
33d_pipe='undef'
34
35startperl='#!perl'
36
37case "X$optimize" in
38 X)
9731c6ca 39 optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
39e571d4
LM
40 ;;
41esac
42ldflags='-s'
43usemymalloc='n'
44timetype='time_t'
45
46prefix=$DJDIR
47privlib=$prefix/lib/perl5
48archlib=$privlib
49sitelib=$privlib/site
50sitearch=$sitelib
51
9e48b294
LM
52eagain='EAGAIN'
53rd_nodata='-1'
54
104d25b7
JH
55# This script UU/usethreads.cbu will get 'called-back' by Configure
56# after it has prompted the user for whether to use threads.
57cat > UU/usethreads.cbu <<'EOCBU'
58case "$usethreads" in
59$define|true|[yY]*)
60 set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
61 shift
62 libswanted="$*"
63 ;;
64esac
65EOCBU