Solaris hints tweak for 64-bitallness.
[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
31d_link='undef' # these are empty functions in libc.a
32d_symlink='undef'
33d_fork='undef'
34d_pipe='undef'
35
36startperl='#!perl'
37
38case "X$optimize" in
39 X)
9731c6ca 40 optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
39e571d4 41 ;;
42esac
706de38c 43ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
39e571d4 44ldflags='-s'
45usemymalloc='n'
46timetype='time_t'
47
48prefix=$DJDIR
49privlib=$prefix/lib/perl5
50archlib=$privlib
51sitelib=$privlib/site
52sitearch=$sitelib
53
9e48b294 54eagain='EAGAIN'
55rd_nodata='-1'
56
104d25b7 57# This script UU/usethreads.cbu will get 'called-back' by Configure
58# after it has prompted the user for whether to use threads.
59cat > UU/usethreads.cbu <<'EOCBU'
60case "$usethreads" in
61$define|true|[yY]*)
62 set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
63 shift
64 libswanted="$*"
65 ;;
66esac
67EOCBU