This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Win32: try to make the new stat pre-Vista compatible
[perl5.git] / hints / interix.sh
CommitLineData
0c52c6a9
TV
1# hints/interix.sh
2#
3# Please check with tech-pkg@netbsd.org before making modifications
4# to this file.
5
6cc='gcc'
7cccdlflags="-DPIC $cccdlflags"
8ccdlflags='-Wl,-E'
9ccflags="-D_ALL_SOURCE $ccflags"
10d_poll="$undef"
11ld='gcc'
12lddlflags="-shared $lddlflags"
13rpathflag='-Wl,-R'
14sharpbang='#!'
c3eb8dc3 15usemymalloc='false'
0c52c6a9 16usenm='false'
929c6ecf
CBW
17plibpth=''
18
19case "$plibpth" in
20'') plibpth=`LANG=C LC_ALL=C $cc -print-search-dirs | grep libraries |
21 cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
22 set X $plibpth # Collapse all entries on one line
23 shift
24 plibpth="$*"
25 ;;
26esac
0c52c6a9
TV
27
28# This script UU/usethreads.cbu will get 'called-back' by Configure
29# after it has prompted the user for whether to use threads.
30cat > UU/usethreads.cbu <<'EOCBU'
31case "$usethreads" in
32$define|true|[yY]*)
33 ccflags="-D_REENTRANT $ccflags"
34 libswanted="$libswanted pthread"
35 ;;
36esac
37EOCBU