YA resync with mainstem, including VMS patches from others
[p5sagit/p5-mst-13.2.git] / hints / dos_djgpp.sh
CommitLineData
39e571d4 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
706de38c 6# 000222 - added -DPERL_EXTERNAL_GLOB to ccflags
39e571d4 7
8archname='dos-djgpp'
9archobjs='djgpp.o'
10path_sep=\;
c4f23d77 11startsh="#! /bin/sh"
39e571d4 12
13cc='gcc'
14ld='gcc'
15usrinc="$DJDIR/include"
16
17libpth="$DJDIR/lib"
18libc="$libpth/libc.a"
19
20so='none'
21usedl='n'
22
23firstmakefile='GNUmakefile'
24exe_ext='.exe'
25
26randbits=31
39e571d4 27lns='cp'
28
29usenm='true'
39e571d4 30
ee8c7f54 31# this reportedly causes compile errors in system includes
32i_ieeefp='undef'
33
39e571d4 34d_link='undef' # these are empty functions in libc.a
35d_symlink='undef'
36d_fork='undef'
37d_pipe='undef'
38
39startperl='#!perl'
40
41case "X$optimize" in
42 X)
9731c6ca 43 optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
39e571d4 44 ;;
45esac
706de38c 46ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
39e571d4 47ldflags='-s'
48usemymalloc='n'
49timetype='time_t'
50
51prefix=$DJDIR
52privlib=$prefix/lib/perl5
53archlib=$privlib
54sitelib=$privlib/site
55sitearch=$sitelib
56
9e48b294 57eagain='EAGAIN'
58rd_nodata='-1'
59
104d25b7 60# This script UU/usethreads.cbu will get 'called-back' by Configure
61# after it has prompted the user for whether to use threads.
62cat > UU/usethreads.cbu <<'EOCBU'
63case "$usethreads" in
64$define|true|[yY]*)
65 set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
66 shift
67 libswanted="$*"
68 ;;
69esac
70EOCBU