[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6386] xsubpp -typemap
From: |
Gavin D. Smith |
Subject: |
[6386] xsubpp -typemap |
Date: |
Sat, 04 Jul 2015 13:46:52 +0000 |
Revision: 6386
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6386
Author: gavin
Date: 2015-07-04 13:46:49 +0000 (Sat, 04 Jul 2015)
Log Message:
-----------
xsubpp -typemap
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-04 12:17:40 UTC (rev 6385)
+++ trunk/ChangeLog 2015-07-04 13:46:49 UTC (rev 6386)
@@ -1,5 +1,12 @@
2015-07-04 Gavin Smith <address@hidden>
+ * tp/Texinfo/Convert/XSParagraph/configure.ac: Retrieve
+ "privlibexp" Perl configuration value.
+ * tp/Texinfo/Convert/XSParagraph/Makefile.am: Use it for
+ -typemap argument to xsubpp.
+
+2015-07-04 Gavin Smith <address@hidden>
+
* doc/texinfo.texi: Change "a @node line" back to "an @node
line".
Modified: trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am 2015-07-04 12:17:40 UTC
(rev 6385)
+++ trunk/tp/Texinfo/Convert/XSParagraph/Makefile.am 2015-07-04 13:46:49 UTC
(rev 6386)
@@ -34,6 +34,8 @@
# Perl. Otherwise Perl's "config.h" will be incorrect.
CC = $(PERL_CONF_cc)
+XSUBPPARGS = -typemap $(PERL_CONF_privlibexp)/ExtUtils/typemap
+
#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-04 12:17:40 UTC
(rev 6385)
+++ trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2015-07-04 13:46:49 UTC
(rev 6386)
@@ -7,13 +7,13 @@
AC_DEFUN([lookup_perl_conf],
[echo Getting Perl conf value $1
- AC_SUBST([PERL_CONF_$1], [`./fetch_conf.pl $1`])
+ AC_SUBST([PERL_CONF_$1], [`$srcdir/fetch_conf.pl $1`])
])
AC_DEFUN([lookup_perl_flags],
[echo Getting Perl flags for $1
- conf_value=`./fetch_conf.pl $1`
+ conf_value=`$srcdir/fetch_conf.pl $1`
echo conf value is $conf_value
# Remove any flags that aren't -I or -D
@@ -29,6 +29,8 @@
lookup_perl_conf([archlibexp])
lookup_perl_conf([cc])
+lookup_perl_conf([privlibexp])
+
# 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] |
- [6386] xsubpp -typemap,
Gavin D. Smith <=