From b82baff62ab7f5eb277b53f2a625c8a41392dbdf Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 23 Jan 2000 09:08:30 +0000 Subject: [PATCH] cygwin update (from Eric Fifer ) p4raw-id: //depot/perl@4853 --- cygwin/Makefile.SHs | 7 ++----- hints/cygwin.sh | 5 +++++ t/io/tell.t | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs index d466bde..8d77778 100644 --- a/cygwin/Makefile.SHs +++ b/cygwin/Makefile.SHs @@ -33,12 +33,9 @@ ld2: $& Makefile perlld ${src}/cygwin/ld2.in # install is included in Cygwin distributions, and we make a note of th # requirement in the README.cygwin file. However, let's give them # a warning. - @if test -n "`type $1 2>&1 | sed -n -e '/'$1'$/p'`" ; then \ - install -c -m 755 ld2 ${installbin}/ld2 ; \ - else \ + @install -c -m 755 ld2 ${installbin}/ld2 + @if test ! -f ${installbin}/ld2; then \ echo "*************************************************" ; \ - echo "Oh, no! You didn't read the README.cygwin" ; \ - echo "file, which stated that \"install\" was required." ; \ echo "Make will probably fail in a few more steps." ; \ echo "When it does, copy \"ld2\" to a directory in" ; \ echo "your path, other than \".\"." ; \ diff --git a/hints/cygwin.sh b/hints/cygwin.sh index 71c9a83..ebe8618 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -34,6 +34,11 @@ cccdlflags=' ' # - perl malloc needs to be unpolluted bincompat5005='undef' +# stubs (ENOSYS, not implemented) +d_chroot='undef' +d_seteuid='undef' +d_setegid='undef' + # strip exe's and dll's #ldflags="$ldflags -s" #ccdlflags="$ccdlflags -s" diff --git a/t/io/tell.t b/t/io/tell.t index 31287e1..b89aefb 100755 --- a/t/io/tell.t +++ b/t/io/tell.t @@ -7,7 +7,7 @@ print "1..21\n"; $TST = 'tst'; $Is_Dosish = ($^O eq 'MSWin32' or $^O eq 'dos' or - $^O eq 'os2' or $^O eq 'mint'); + $^O eq 'os2' or $^O eq 'mint' or $^O eq 'cygwin'); open($TST, '../Configure') || (die "Can't open ../Configure"); binmode $TST if $Is_Dosish; -- 2.7.4