This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / ansi2knr.U
CommitLineData
959f3c4c
JH
1?RCS: $Id: ansi2knr.U,v 3.0.1.3 1994/05/06 15:11:49 ram Exp $
2?RCS:
3?RCS: Copyright (c) 1998 Andy Dougherty
4?RCS:
5?RCS: You may distribute under the terms of either the GNU General Public
6?RCS: License or the Artistic License, as specified in the README file.
7?RCS:
8?MAKE:ansi2knr: prototype +cc +ccflags package
9?MAKE: -pick add $@ %<
10?S:ansi2knr:
0d616ccb 11?S: This variable is set if the user needs to run ansi2knr.
959f3c4c
JH
12?S: Currently, this is not supported, so we just abort.
13?S:.
14?Y:TOP
d7a2632b 15: Check if ansi2knr is required
959f3c4c
JH
16case "$prototype" in
17"$define") ;;
18*) ansi2knr='ansi2knr'
19 echo " "
20 cat <<EOM >&4
21
22$me: FATAL ERROR:
0d616ccb
MBT
23This version of $package can only be compiled by a compiler that
24understands function prototypes. Unfortunately, your C compiler
959f3c4c
JH
25 $cc $ccflags
26doesn't seem to understand them. Sorry about that.
27
0d616ccb 28If GNU cc is available for your system, perhaps you could try that instead.
959f3c4c
JH
29
30Eventually, we hope to support building Perl with pre-ANSI compilers.
31If you would like to help in that effort, please contact <perlbug@perl.org>.
32
33Aborting Configure now.
34EOM
35 exit 2
36 ;;
37esac
38