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