From: H.Merijn Brand Date: Thu, 26 May 2005 11:26:05 +0000 (+0000) Subject: More possible re-order dependencies solved X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b70c55fe958b1da7c3c2de3a97fa739b1687085;p=p5sagit%2Fp5-mst-13.2.git More possible re-order dependencies solved p4raw-id: //depot/perl@24581 --- diff --git a/Porting/config_h.pl b/Porting/config_h.pl index 2543b34..7c1deec 100755 --- a/Porting/config_h.pl +++ b/Porting/config_h.pl @@ -30,9 +30,13 @@ sub ch_index () my %dep = ( # This symbol must be defined BEFORE ... + BYTEORDER => [ qw( UVSIZE ) ], LONGSIZE => [ qw( BYTEORDER ) ], MULTIARCH => [ qw( BYTEORDER MEM_ALIGNBYTES ) ], + USE_CROSS_COMPILE => [ qw( BYTEORDER MEM_ALIGNBYTES ) ], HAS_QUAD => [ qw( I64TYPE ) ], + HAS_GETGROUPS => [ qw( Groups_t ) ], + HAS_SETGROUPS => [ qw( Groups_t ) ], ); my $changed; diff --git a/config_h.SH b/config_h.SH index 0811510..422bd6c 100644 --- a/config_h.SH +++ b/config_h.SH @@ -939,6 +939,18 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$multiarch MULTIARCH /**/ +/* USE_CROSS_COMPILE: + * This symbol, if defined, indicates that Perl is being cross-compiled. + */ +/* PERL_TARGETARCH: + * This symbol, if defined, indicates the target architecture + * Perl has been cross-compiled to. Undefined if not a cross-compile. + */ +#ifndef USE_CROSS_COMPILE +#$usecrosscompile USE_CROSS_COMPILE /**/ +#define PERL_TARGETARCH "$targetarch" /**/ +#endif + /* MEM_ALIGNBYTES: * This symbol contains the number of bytes required to align a * double, or a long double when applicable. Usual values are 2, @@ -3808,18 +3820,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #define SH_PATH "$sh" /**/ -/* USE_CROSS_COMPILE: - * This symbol, if defined, indicates that Perl is being cross-compiled. - */ -/* PERL_TARGETARCH: - * This symbol, if defined, indicates the target architecture - * Perl has been cross-compiled to. Undefined if not a cross-compile. - */ -#ifndef USE_CROSS_COMPILE -#$usecrosscompile USE_CROSS_COMPILE /**/ -#define PERL_TARGETARCH "$targetarch" /**/ -#endif - /* HAS_AINTL: * This symbol, if defined, indicates that the aintl routine is * available. If copysignl is also present we can emulate modfl.