summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/hints/os390.sh
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-06-25 11:04:01 +0000
committermarkm <markm@FreeBSD.org>2000-06-25 11:04:01 +0000
commit21975e44f4d968e37d47dc6ee4fc7780630d0347 (patch)
tree96544d447664a4c3cea2f9958db7c7a7c921a1fa /contrib/perl5/hints/os390.sh
parent06c84cc17466ac9779fd7b1e51593df98446d350 (diff)
parent2618fad5bbb2d0182eb31ed805c41b543c513940 (diff)
downloadFreeBSD-src-21975e44f4d968e37d47dc6ee4fc7780630d0347.zip
FreeBSD-src-21975e44f4d968e37d47dc6ee4fc7780630d0347.tar.gz
This commit was generated by cvs2svn to compensate for changes in r62076,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/perl5/hints/os390.sh')
-rw-r--r--contrib/perl5/hints/os390.sh48
1 files changed, 48 insertions, 0 deletions
diff --git a/contrib/perl5/hints/os390.sh b/contrib/perl5/hints/os390.sh
index 08b60c8..d6f6821 100644
--- a/contrib/perl5/hints/os390.sh
+++ b/contrib/perl5/hints/os390.sh
@@ -59,3 +59,51 @@ archobjs=ebcdic.o
# We have our own cppstdin.
echo 'cat >.$$.c; '"$cc"' -E -Wc,NOLOC ${1+"$@"} .$$.c; rm .$$.c' > cppstdin
+
+#
+# Note that Makefile.SH employs a bare yacc to generate
+# perly.[hc] and a2p.[hc], hence you may wish to:
+#
+# alias yacc='myyacc'
+#
+# Then if you would like to use myyacc and skip past the
+# following warnings try invoking Configure like so:
+#
+# sh Configure -Dbyacc=yacc
+#
+# This trick ought to work even if your yacc is byacc.
+#
+if test "X$byacc" = "Xbyacc" ; then
+ if test -e /etc/yyparse.c ; then
+ : we should be OK - perhaps do a test -r?
+ else
+ cat <<EOWARN >&4
+
+Warning. You do not have a copy of yyparse.c, the default
+yacc parser template file, in place in /etc.
+EOWARN
+ if test -e /samples/yyparse.c ; then
+ cat <<EOWARN >&4
+
+There does appear to be a template file in /samples though.
+Please run:
+
+ cp /samples/yyparse.c /etc
+
+before attempting to Configure the build of $package.
+
+EOWARN
+ else
+ cat <<EOWARN >&4
+
+There does not appear to be one in /samples either.
+If you feel you can make use of an alternate yacc-like
+parser generator then please read the comments in the
+hints/os390.sh file carefully.
+
+EOWARN
+ fi
+ exit 1
+ fi
+fi
+
OpenPOWER on IntegriCloud