?RCS: This file is included with or a derivative work of a file included
?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
?RCS: In accordance with clause 7 of dist's modified Artistic License:
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?S: quadtype.
?S:.
?S:quadtype:
-?S: This variable defines Quad_t to be something like long, int,
+?S: This variable defines Quad_t to be something like long, int,
?S: long long, int64_t, or whatever type is used for 64-bit integers.
?S:.
?S:quadkind:
?S: echo 'int main() { exit(0); }' > try.c
?S: set try
?S: if eval $compile; then
-?S: echo "success" # and do whatever . . .
+?S: echo "success" # and do whatever . . .
?S: else
-?S: echo "failure" # and do whatever . . .
+?S: echo "failure" # and do whatever . . .
?S: fi
?S: To add extra flags cc flags (e.g. -DWHATEVER) just put them
?S: in $*, e.g.
?S: This shell variable is used internally by Configure to provide
?S: a convenient shorthand for the typical compile command that you
?S: expect to work ok. It is the same as $compile, except we
-?S: deliberately let the user see any error messages.
+?S: deliberately let the user see any error messages.
?S:.
: define a shorthand compile call
compile='
?RCS: $Id: perl5.U,v $
?RCS:
?RCS: Copyright (c) 2000 Andrew Dougherty
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?RCS: $Id: Myinit.U,v 3.0 1993/08/18 12:05:07 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: This file is included with or a derivative work of a file included
?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
?RCS: In accordance with clause 7 of dist's modified Artistic License:
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 2014, H.Merijn Brand
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 2014, H.Merijn Brand
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: $Id: i_execinfo.U 34 2010-11-27 11:55:39Z rmanfredi $
?RCS:
?RCS: Copyright (c) 2011, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 2000, Jarkko Hietaniemi
-?RCS:
-?X:
+?RCS:
+?X:
?X: This unit produces a bit of shell code that must be dotted in order
?X: to make quick check on whether the current C compiler is working.
-?X:
+?X:
?MAKE:Checkcc ccname ccversion: rm cat test Myread startsh
?MAKE: -pick add $@ %<
?S:ccname:
# The most common problem is -D_REENTRANT for threads.
# This heuristic catches that case, but gets false positives
# if -Dusethreads was not actually specified. Better to
- # bail out here with a useful message than fail
+ # bail out here with a useful message than fail
# mysteriously later. Should we perhaps just try to
# re-invoke Configure -Dcc=gcc config_args ?
if $test -f usethreads.cbu; then
- $cat >&4 <<EOM
+ $cat >&4 <<EOM
*** However, any setting of the C compiler flags (e.g. for thread support)
*** will be lost. It may be necessary for you to restart Configure and
echo "Cannot find myread, sorry. Aborting." >&2
exit 1
fi
- fi
+ fi
case "$ans" in
[yY]*) cc=gcc; ccname=gcc; ccflags=''; despair=no;
esac
$startsh
EOS
cat <<'EOSC' >>checkcc
-case "$cc" in
+case "$cc" in
'') ;;
-*) $rm -f try try.*
+*) $rm -f try try.*
$cat >try.c <<EOM
int main(int argc, char *argv[]) {
return 0;
if $test X"$despair" = Xyes; then
echo "Uh-oh, the C compiler '$cc' doesn't seem to be working." >&4
fi
- $cat >&4 <<EOM
+ $cat >&4 <<EOM
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 2000, Jarkko Hietaniemi
-?RCS:
-?X:
+?RCS:
+?X:
?X: This unit produces a bit of shell code that must be dotted in order
?X: to make quick check on whether the current C compiler is working.
-?X:
+?X:
?MAKE:IncClean: ccflags cppflags
?MAKE: -pick add $@ %<
?LINT:extern ccflags
?MAKE:ansi2knr: prototype +cc +ccflags package
?MAKE: -pick add $@ %<
?S:ansi2knr:
-?S: This variable is set if the user needs to run ansi2knr.
+?S: This variable is set if the user needs to run ansi2knr.
?S: Currently, this is not supported, so we just abort.
?S:.
?Y:TOP
cat <<EOM >&4
$me: FATAL ERROR:
-This version of $package can only be compiled by a compiler that
-understands function prototypes. Unfortunately, your C compiler
+This version of $package can only be compiled by a compiler that
+understands function prototypes. Unfortunately, your C compiler
$cc $ccflags
doesn't seem to understand them. Sorry about that.
-If GNU cc is available for your system, perhaps you could try that instead.
+If GNU cc is available for your system, perhaps you could try that instead.
Eventually, we hope to support building Perl with pre-ANSI compilers.
If you would like to help in that effort, please contact <perlbug@perl.org>.
?S:.
?C:BINCOMPAT3:
?C: This symbol, if defined, indicates that Perl 5.004 should be
-?C: binary-compatible with Perl 5.003. This is impossible for
+?C: binary-compatible with Perl 5.003. This is impossible for
?C: 5.004_50 and later, so it is always undefined for those versions.
?C:.
?H:#$d_bincompat3 BINCOMPAT3 /**/
?RCS: $Id: d_portable.U,v 3.0.1.2 1995/01/11 15:28:52 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: This file is included with or a derivative work of a file included
?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
?RCS: In accordance with clause 7 of dist's modified Artistic License:
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?S:.
?S:oldarchlib:
?S: This variable holds the name of the directory in which perl5.000
-?S: and perl5.001 stored
+?S: and perl5.001 stored
?S: architecture-dependent public library files.
?S:.
?S:oldarchlibexp:
-?S: This variable is the same as the oldarchlib variable, but is
+?S: This variable is the same as the oldarchlib variable, but is
?S: filename expanded at configuration time, for convenient use.
?S:.
?C:OLDARCHLIB:
?C:.
?C:OLDARCHLIB_EXP:
?C: This symbol contains the ~name expanded version of OLDARCHLIB, to be
-?C: used in programs that are not prepared to deal with ~ expansion at
+?C: used in programs that are not prepared to deal with ~ expansion at
?C: run-time.
?C:.
?H:#$d_oldarchlib OLDARCHLIB "$oldarchlib" /**/
;;
esac
;;
-*) dflt="$oldarchlib"
+*) dflt="$oldarchlib"
;;
esac
if $test ! -d "$dflt/auto"; then
cat <<EOM
In 5.001, Perl stored architecture-dependent library files in a directory
-with a name such as $privlib/$archname,
-and this directory contained files from the standard extensions and
-files from any additional extensions you might have added. Starting
-with version 5.002, all the architecture-dependent standard extensions
+with a name such as $privlib/$archname,
+and this directory contained files from the standard extensions and
+files from any additional extensions you might have added. Starting
+with version 5.002, all the architecture-dependent standard extensions
will go into a version-specific directory such as
-$archlib,
+$archlib,
while locally-added extensions will go into
$sitearch.
?H:.
?T:xxx yyy try hdrs
@if netdb_host_type || Netdb_host_t || netdb_hlen_type || Netdb_hlen_t
-: check for type of arguments to gethostbyaddr.
+: check for type of arguments to gethostbyaddr.
if test "X$netdb_host_type" = X -o "X$netdb_hlen_type" = X; then
case "$d_gethbyaddr" in
$define)
Checking to see what type of arguments are accepted by gethostbyaddr().
EOM
hdrs="$define sys/types.h
- $d_socket sys/socket.h
- $i_niin netinet/in.h
+ $d_socket sys/socket.h
+ $i_niin netinet/in.h
$i_netdb netdb.h
$i_unistd unistd.h"
: The first arg can 'char *' or 'void *'
netdb_hlen_type="$sizetype"
;;
esac
- # Remove the "const" if needed. -- but then we'll have a
+ # Remove the "const" if needed. -- but then we'll have a
# prototype clash!
# netdb_host_type=`echo "$netdb_host_type" | sed 's/^const //'`
fi
@end
@if netdb_name_type || Netdb_name_t
-: check for type of argument to gethostbyname.
+: check for type of argument to gethostbyname.
if test "X$netdb_name_type" = X ; then
case "$d_gethbyname" in
$define)
Checking to see what type of argument is accepted by gethostbyname().
EOM
hdrs="$define sys/types.h
- $d_socket sys/socket.h
- $i_niin netinet/in.h
+ $d_socket sys/socket.h
+ $i_niin netinet/in.h
$i_netdb netdb.h
$i_unistd unistd.h"
for xxx in "const char *" "char *"; do
@end
@if netdb_net_type || Netdb_net_t
-: check for type of 1st argument to getnetbyaddr.
+: check for type of 1st argument to getnetbyaddr.
if test "X$netdb_net_type" = X ; then
case "$d_getnbyaddr" in
$define)
Checking to see what type of 1st argument is accepted by getnetbyaddr().
EOM
hdrs="$define sys/types.h
- $d_socket sys/socket.h
- $i_niin netinet/in.h
+ $d_socket sys/socket.h
+ $i_niin netinet/in.h
$i_netdb netdb.h
$i_unistd unistd.h"
for xxx in in_addr_t "unsigned long" long "unsigned int" int; do