source: trunk/third/perl/hints/dos_djgpp.sh @ 14545

Revision 14545, 1.3 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
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# 000222 - added -DPERL_EXTERNAL_GLOB to ccflags
7
8archname='dos-djgpp'
9archobjs='djgpp.o'
10path_sep=\;
11startsh="#! /bin/sh"
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
27lns='cp'
28
29usenm='true'
30
31# this reportedly causes compile errors in system includes
32i_ieeefp='undef'
33
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)
43        optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
44        ;;
45esac
46ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
47ldflags='-s'
48usemymalloc='n'
49timetype='time_t'
50
51prefix=$DJDIR
52privlib=$prefix/lib/perl5
53archlib=$privlib
54sitelib=$privlib/site
55sitearch=$sitelib
56
57eagain='EAGAIN'
58rd_nodata='-1'
59
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
Note: See TracBrowser for help on using the repository browser.