[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6938] move check for xsubpp
From: |
Gavin D. Smith |
Subject: |
[6938] move check for xsubpp |
Date: |
Wed, 13 Jan 2016 13:44:12 +0000 |
Revision: 6938
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6938
Author: gavin
Date: 2016-01-13 13:44:11 +0000 (Wed, 13 Jan 2016)
Log Message:
-----------
move check for xsubpp
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-01-13 12:50:17 UTC (rev 6937)
+++ trunk/ChangeLog 2016-01-13 13:44:11 UTC (rev 6938)
@@ -1,5 +1,11 @@
2016-01-13 Gavin Smith <address@hidden>
+ * tp/Texinfo/Convert/XSParagraph/configure.ac: Move check for
+ xsubpp to before gl_INIT, in order not to waste time running the
+ gnulib checks if the extension isn't going to be built anyway.
+
+2016-01-13 Gavin Smith <address@hidden>
+
* info/t/Init-inter.inc (synch_with_program): Remove function.
* info/t/c-u-m-x-scroll-forward.sh,
* info/t/inc-sea-forward.sh,
@@ -14,7 +20,7 @@
2016-01-11 Gavin Smith <address@hidden>
- * tp/Texinfo/Convert/XSParagraph/Makefile.am: Print error if
+ * tp/Texinfo/Convert/XSParagraph/configure.ac: Print error if
"xsubpp" program is not found. This avoids an attempt to later
execute a "typemap" program when $(XSUBPP) -typemap is done.
Modified: trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2016-01-13 12:50:17 UTC
(rev 6937)
+++ trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2016-01-13 13:44:11 UTC
(rev 6938)
@@ -77,6 +77,13 @@
AC_PROG_CC
gl_EARLY
+
+AC_PATH_PROG([XSUBPP], [xsubpp])
+if test x$ac_cv_path_XSUBPP = x ; then
+ echo $ac_cv_path_XSUBPP
+ AC_MSG_ERROR([xsubpp not found])
+fi
+
gl_INIT
LT_INIT
@@ -111,14 +118,7 @@
# 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
-AC_PATH_PROG([XSUBPP], [xsubpp])
-if test x$ac_cv_path_XSUBPP = x ; then
- echo $ac_cv_path_XSUBPP
- AC_MSG_ERROR([xsubpp not found])
-fi
-
AC_CONFIG_HEADERS([config.h:config.in])
-
fi # not disable_xs
AC_CONFIG_FILES([Makefile lib/Makefile])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6938] move check for xsubpp,
Gavin D. Smith <=