1 # hints file for dos/djgpp v2.xx
2 # Original by Laszlo Molnar <molnarl@cdata.tvnet.hu>
4 # 971015 - archname changed from 'djgpp' to 'dos-djgpp'
5 # 971210 - threads support
6 # 000222 - added -DPERL_EXTERNAL_GLOB to ccflags
15 usrinc="$DJDIR/include"
23 firstmakefile='GNUmakefile'
31 # this reportedly causes compile errors in system includes
34 d_link='undef' # these are empty functions in libc.a
43 case "`gcc -v 2>&1|grep "gcc version"` in
45 optimize="-O2 -falign-loops=2 -falign-jumps=2 -falign-functions=2" ;;
47 optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2" ;;
55 ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
60 privlib=$prefix/lib/perl5
68 # This script UU/usethreads.cbu will get 'called-back' by Configure
69 # after it has prompted the user for whether to use threads.
70 cat > UU/usethreads.cbu <<'EOCBU'
73 set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`