[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6379] use Perl's cc for a C compiler
From: |
Gavin D. Smith |
Subject: |
[6379] use Perl's cc for a C compiler |
Date: |
Thu, 02 Jul 2015 23:11:48 +0000 |
Revision: 6379
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6379
Author: gavin
Date: 2015-07-02 23:11:46 +0000 (Thu, 02 Jul 2015)
Log Message:
-----------
use Perl's cc for a C compiler
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am
trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-07-02 23:07:46 UTC (rev 6378)
+++ trunk/ChangeLog 2015-07-02 23:11:46 UTC (rev 6379)
@@ -1,5 +1,11 @@
2015-07-02 Gavin Smith <address@hidden>
+ * tp/Texinfo/Convert/XSParagraph/configure.ac: Retrieve "cc"
+ Perl configuration value.
+ * tp/Texinfo/Convert/XSParagraph/Makefile.am: Use it as CC.
+
+2015-07-02 Gavin Smith <address@hidden>
+
* doc/Makefile.am: Change path in -I flag to makeinfo.
2015-07-02 Karl Berry <address@hidden>
Modified: trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am 2015-07-02 23:07:46 UTC
(rev 6378)
+++ trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am 2015-07-02 23:11:46 UTC
(rev 6379)
@@ -30,6 +30,10 @@
#PERL = /usr/bin/perl5.18.1
+# It's essential that we use the same compiler that was used to build
+# Perl. Otherwise Perl's "config.h" will be incorrect.
+CC = $(PERL_CONF_cc)
+
#XSUBPPARGS = -typemap /usr/share/perl5/ExtUtils/typemap
.xs.c:
Modified: trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2015-07-02 23:07:46 UTC
(rev 6378)
+++ trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2015-07-02 23:11:46 UTC
(rev 6379)
@@ -28,6 +28,7 @@
lookup_perl_flags([cccdlflags])
lookup_perl_conf([archlibexp])
+lookup_perl_conf([cc])
# TODO: would be nice to be able to do lookup_perl_conf([ccflags cccdlflags])
# A for loop doesn't work; it has to be expanded at m4 time
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6379] use Perl's cc for a C compiler,
Gavin D. Smith <=