Commit | Line | Data |
---|---|---|
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 |
16 | case "$prototype" in |
17 | "$define") ;; | |
18 | *) ansi2knr='ansi2knr' | |
19 | echo " " | |
20 | cat <<EOM >&4 | |
21 | ||
22 | $me: FATAL ERROR: | |
0d616ccb MBT |
23 | This version of $package can only be compiled by a compiler that |
24 | understands function prototypes. Unfortunately, your C compiler | |
959f3c4c JH |
25 | $cc $ccflags |
26 | doesn't seem to understand them. Sorry about that. | |
27 | ||
0d616ccb | 28 | If GNU cc is available for your system, perhaps you could try that instead. |
959f3c4c JH |
29 | |
30 | Eventually, we hope to support building Perl with pre-ANSI compilers. | |
31 | If you would like to help in that effort, please contact <perlbug@perl.org>. | |
32 | ||
33 | Aborting Configure now. | |
34 | EOM | |
35 | exit 2 | |
36 | ;; | |
37 | esac | |
38 |