?RCS: that same Artistic Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:installusrbinperl: installbin cat Myread Setvar test Devel
+?MAKE:installusrbinperl: installbin cat bin Myread Setvar test Devel
?MAKE: -pick add $@ %<
?LINT:set installusrbinperl
?Y:TOP
if $test -d /usr/bin -a "X$installbin" != X/usr/bin; then
$cat <<EOM
Many scripts expect perl to be installed as /usr/bin/perl.
-I can install the perl you are about to compile also as /usr/bin/perl
-(in addition to $installbin/perl).
+
+If you want to, I can install the perl you are about to compile
+as /usr/bin/perl (in addition to $bin/perl).
EOM
- case "$installusrbinperl" in
- "$undef"|[nN]*) dflt='n';;
- *) dflt='y';;
- esac
+ if test -f /usr/bin/perl; then
+ $cat <<EOM
+
+However, please note that because you already have a /usr/bin/perl,
+overwriting that with a new Perl would very probably cause problems.
+Therefore I'm assuming you don't want to do that (unless you insist).
+
+EOM
+ case "$installusrbinperl" in
+ "$define"|[yY]*) dflt='y';;
+ *) dflt='n';;
+ esac
+ else
+ $cat <<EOM
+
+Since you don't have a /usr/bin/perl I'm assuming creating one is okay.
+
+EOM
+ case "$installusrbinperl" in
+ "$undef"|[nN]*) dflt='n';;
+ *) dflt='y';;
+ esac
+ fi
rp="Do you want to install perl as /usr/bin/perl?"
. ./myread
case "$ans" in
?RCS: that same Artistic Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:gccversion gccosandvers: cat cpp rm +cc \
+?MAKE:gccversion gccosandvers gccansipedantic: cat cpp rm +cc \
Mcc Myread Guess Options Oldconfig Loc osname osvers run
?MAKE: -pick add $@ %<
?S:gccversion:
?S: setting some of the default cflags. It is set to '' if not gcc.
?S:.
?S:gccosandvers:
-?S: If GNU cc (gcc) is used, this variable the operating system and
-?S: version used to compile the gcc. It is set to '' if not gcc,
+?S: If GNU cc (gcc) is used, this variable holds the operating system
+?S: and version used to compile gcc. It is set to '' if not gcc,
?S: or if nothing useful can be parsed as the os version.
?S:.
+?S:gccansipedantic:
+?S: If GNU cc (gcc) is used, this variable will enable (if set) the
+?S: -ansi and -pedantic ccflags for building core files (through
+?S: cflags script). (See Porting/pumpkin.pod for full description).
+?S:.
?T:gccshortvers
?T:incdir
?T:warn
?D:gccversion=''
+?D:gccansipedantic=''
?LINT:change cpp
?LINT:extern ccflags
?LINT:extern ldflags