- Moved unused argc, temp variable into small scope.
[dragonfly.git] / contrib / perl5 / 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 # This script UU/usethreads.cbu will get 'called-back' by Configure 
56 # after it has prompted the user for whether to use threads.
57 cat > UU/usethreads.cbu <<'EOCBU'
58 case "$usethreads" in
59 $define|true|[yY]*)
60         set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
61         shift
62         libswanted="$*"
63         ;;
64 esac
65 EOCBU