[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6780] _AC_OUTPUT_SUBDIRS
From: |
Gavin D. Smith |
Subject: |
[6780] _AC_OUTPUT_SUBDIRS |
Date: |
Sat, 14 Nov 2015 10:58:51 +0000 |
Revision: 6780
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6780
Author: gavin
Date: 2015-11-14 10:58:50 +0000 (Sat, 14 Nov 2015)
Log Message:
-----------
_AC_OUTPUT_SUBDIRS
Modified Paths:
--------------
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-11-12 10:46:13 UTC (rev 6779)
+++ trunk/ChangeLog 2015-11-14 10:58:50 UTC (rev 6780)
@@ -1,5 +1,9 @@
2015-11-12 Gavin Smith <address@hidden>
+ * configure.ac: Use _AC_OUTPUT_SUBDIRS macro inside a subshell.
+
+2015-11-12 Gavin Smith <address@hidden>
+
* configure.ac: Use _AC_OUTPUT_SUBDIRS macro to configure in
subdirectory.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2015-11-12 10:46:13 UTC (rev 6779)
+++ trunk/configure.ac 2015-11-14 10:58:50 UTC (rev 6780)
@@ -372,13 +372,16 @@
# script.
# Don't use AC_CONFIG_SUBDIRS for this because it isn't done right away,
# and we need it for the check that follows.
-# We should have some processing of the options here: see
-# _AC_OUTPUT_SUBDIRS internal autoconf macro in
-# /usr/share/autoconf/autoconf/status.m4.
+# We use the _AC_OUTPUT_SUBDIRS internal autoconf macro
+# (in /usr/share/autoconf/autoconf/status.m4) for this in order to
+# pass on the configure command line correctly; for example, adjusting
+# paths. It is done in a subshell to be resilient against failure of the
+# subsidiary configure script, which happens if the C compiler is found
+# not to work.
#
save_subdirs=$subdirs
subdirs=tp/Texinfo/Convert/XSParagraph
-_AC_OUTPUT_SUBDIRS
+( _AC_OUTPUT_SUBDIRS ) || enable_xs=no
subdirs=$save_subdirs
if test $enable_xs = check; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6780] _AC_OUTPUT_SUBDIRS,
Gavin D. Smith <=