This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
More possible re-order dependencies solved
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 26 May 2005 11:26:05 +0000 (11:26 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 26 May 2005 11:26:05 +0000 (11:26 +0000)
p4raw-id: //depot/perl@24581

Porting/config_h.pl
config_h.SH

index 2543b34..7c1deec 100755 (executable)
@@ -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;
index 0811510..422bd6c 100644 (file)
@@ -939,6 +939,18 @@ sed <<!GROK!THIS! >$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 <<!GROK!THIS! >$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.