summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2014-03-12 11:00:00 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2014-03-12 11:00:00 +0100
commitf53a6e0ea91f342c0645d72c1c6cfbd044b1794b (patch)
tree4b68e2ab56de2678a5e68498f91602220c7fae85 /config_h.SH
parentf0081f64cc268c6765e7cdc0539513842b398eb3 (diff)
downloadperl-f53a6e0ea91f342c0645d72c1c6cfbd044b1794b.tar.gz
Backport/genererate work from cross-port
At the "Perl5 and beyond" hackathon early feb 2014 in Amsterdam, hugmeir and I walked through all the changes and ended up with a serious warning in metalint where we stopped. The warning proved to be a bug in metalint that will be fixed in the future and has a rather easy workaround. Porting/Glossary is not yet being generated correctly. Will take care of that later.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH26
1 files changed, 13 insertions, 13 deletions
diff --git a/config_h.SH b/config_h.SH
index c027ac4707..640d0a23b2 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -901,18 +901,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#define OSNAME "$osname" /**/
#define OSVERS "$osvers" /**/
-/* 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
-
/* MULTIARCH:
* This symbol, if defined, signifies that the build
* process will produce some binary files that are going to be
@@ -3141,7 +3129,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* /bin/pdksh, /bin/ash, /bin/bash, or even something such as
* D:/bin/sh.exe.
*/
-#define SH_PATH "$targetsh" /**/
+#define SH_PATH "$sh" /**/
/* SIG_NAME:
* This symbol contains a list of signal names in order of
@@ -3359,6 +3347,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$i_termios I_TERMIOS /**/
#$i_sgtty I_SGTTY /**/
+/* 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
+
/* PERL_USE_DEVEL:
* This symbol, if defined, indicates that Perl was configured with
* -Dusedevel, to enable development features. This should not be