[xml/sgml-commit] [linuxdoc-tools] 07/12: configure.in: Use single literals in AC_CONFIG_SUBDIRS. Refresh configure.

Agustín Martín Domingo agmartin at moszumanska.debian.org
Thu Oct 8 17:28:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.

commit 7c9007b2173aa55ce1c3f824ef58ab041a025175
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Thu Oct 8 16:38:54 2015 +0200

    configure.in: Use single literals in AC_CONFIG_SUBDIRS. Refresh configure.
    
    Signed-off-by: Agustin Martin Domingo <agmartin at debian.org>
---
 configure    | 20 +++++++++++---------
 configure.in |  8 +++-----
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/configure b/configure
index d20d18f..43d43c1 100755
--- a/configure
+++ b/configure
@@ -658,7 +658,9 @@ with_texdir
       ac_precious_vars='build_alias
 host_alias
 target_alias'
-ac_subdirs_all='$SUB'
+ac_subdirs_all='sp
+entity-map
+iso-entities'
 
 # Initialize some variables set by options.
 ac_init_help=
@@ -2187,22 +2189,22 @@ fi
 
 if test "$BUILD_NSGMLS" = "true"
 then
-  SUB=sp
+
+
+subdirs="$subdirs sp"
+
 fi
 if test "$BUILD_ENTITY_MAP" = "true"
 then
-  SUB="$SUB entity-map"
+  subdirs="$subdirs entity-map"
+
 fi
 
 if test "$BUILD_ISO_ENTITIES" = "true"
 then
-  SUB="$SUB iso-entities"
-fi
-
-
-
-subdirs="$subdirs $SUB"
+  subdirs="$subdirs iso-entities"
 
+fi
 
 ac_config_files="$ac_config_files Makefile"
 
diff --git a/configure.in b/configure.in
index 3bf89c6..ac3313e 100644
--- a/configure.in
+++ b/configure.in
@@ -128,20 +128,18 @@ AC_SUBST(texdir)
 dnl ------ Create list of possible extra subdirs -----------
 if test "$BUILD_NSGMLS" = "true"
 then
-  SUB=sp
+  AC_CONFIG_SUBDIRS([sp])
 fi
 if test "$BUILD_ENTITY_MAP" = "true"
 then
-  SUB="$SUB entity-map"
+  AC_CONFIG_SUBDIRS([entity-map])
 fi
 
 if test "$BUILD_ISO_ENTITIES" = "true"
 then
-  SUB="$SUB iso-entities"
+  AC_CONFIG_SUBDIRS([iso-entities])
 fi
 
-AC_CONFIG_SUBDIRS($SUB)
-
 AC_OUTPUT(Makefile)
 
 if test "$BUILD_SGMLSASP" = "true"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git



More information about the debian-xml-sgml-commit mailing list