[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] tools: move CONFIG_DIR and XEN_CONFIG_DIR in paths.m4



commit fe9ba142c03a2046def52cfd5864f5a89172bf5c
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Tue Feb 9 16:45:33 2021 +0100
Commit:     Ian Jackson <iwj@xxxxxxxxxxxxxx>
CommitDate: Tue Feb 9 17:09:34 2021 +0000

    tools: move CONFIG_DIR and XEN_CONFIG_DIR in paths.m4
    
    Upcoming changes need to reuse XEN_CONFIG_DIR.
    
    In its current location the assignment happens too late. Move it up
    in the file, along with CONFIG_DIR. Their only dependency is
    sysconfdir, which may also be adjusted in this file.
    
    No functional change intended.
    
    [autoconf rerun -iwj]
    
    Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
    Reviewed-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
    Release-Acked-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
---
 configure       | 16 ++++++++--------
 docs/configure  | 16 ++++++++--------
 m4/paths.m4     | 12 ++++++------
 tools/configure | 16 ++++++++--------
 4 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/configure b/configure
index e174dbd238..2fe26c1bf7 100755
--- a/configure
+++ b/configure
@@ -600,9 +600,7 @@ XEN_DUMP_DIR
 XEN_PAGING_DIR
 XEN_LOCK_DIR
 XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
 INITD_DIR
-CONFIG_DIR
 SHAREDIR
 XEN_LIB_DIR
 XEN_RUN_STORED
@@ -615,6 +613,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
 XENSTORED_PORT
 XENSTORED_KVA
 host_os
@@ -1936,6 +1936,12 @@ if test "x$sysconfdir" = 'x${prefix}/etc' ; then
     esac
 fi
 
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
 
 # Check whether --with-initddir was given.
 if test "${with_initddir+set}" = set; then :
@@ -2042,15 +2048,9 @@ XEN_LIB_DIR=$localstatedir/lib/xen
 SHAREDIR=$prefix/share
 
 
-CONFIG_DIR=$sysconfdir
-
-
 INITD_DIR=$initddir_path
 
 
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
 XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
 
 
diff --git a/docs/configure b/docs/configure
index 1582d477e3..18075e4e00 100755
--- a/docs/configure
+++ b/docs/configure
@@ -598,9 +598,7 @@ XEN_DUMP_DIR
 XEN_PAGING_DIR
 XEN_LOCK_DIR
 XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
 INITD_DIR
-CONFIG_DIR
 SHAREDIR
 XEN_LIB_DIR
 XEN_RUN_STORED
@@ -613,6 +611,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
 XENSTORED_PORT
 XENSTORED_KVA
 target_alias
@@ -1839,6 +1839,12 @@ if test "x$sysconfdir" = 'x${prefix}/etc' ; then
     esac
 fi
 
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
 
 # Check whether --with-initddir was given.
 if test "${with_initddir+set}" = set; then :
@@ -1945,15 +1951,9 @@ XEN_LIB_DIR=$localstatedir/lib/xen
 SHAREDIR=$prefix/share
 
 
-CONFIG_DIR=$sysconfdir
-
-
 INITD_DIR=$initddir_path
 
 
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
 XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
 
 
diff --git a/m4/paths.m4 b/m4/paths.m4
index 1c107b1a61..a736f57d8d 100644
--- a/m4/paths.m4
+++ b/m4/paths.m4
@@ -34,6 +34,12 @@ if test "x$sysconfdir" = 'x${prefix}/etc' ; then
     esac
 fi
 
+CONFIG_DIR=$sysconfdir
+AC_SUBST(CONFIG_DIR)
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+AC_SUBST(XEN_CONFIG_DIR)
+
 AC_ARG_WITH([initddir],
     AS_HELP_STRING([--with-initddir=DIR],
     [Path to directory with sysv runlevel scripts. [SYSCONFDIR/init.d]]),
@@ -128,15 +134,9 @@ AC_SUBST(XEN_LIB_DIR)
 SHAREDIR=$prefix/share
 AC_SUBST(SHAREDIR)
 
-CONFIG_DIR=$sysconfdir
-AC_SUBST(CONFIG_DIR)
-
 INITD_DIR=$initddir_path
 AC_SUBST(INITD_DIR)
 
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-AC_SUBST(XEN_CONFIG_DIR)
-
 XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
 AC_SUBST(XEN_SCRIPT_DIR)
 
diff --git a/tools/configure b/tools/configure
index 519efb71ee..86de2e2736 100755
--- a/tools/configure
+++ b/tools/configure
@@ -721,9 +721,7 @@ XEN_DUMP_DIR
 XEN_PAGING_DIR
 XEN_LOCK_DIR
 XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
 INITD_DIR
-CONFIG_DIR
 SHAREDIR
 XEN_LIB_DIR
 XEN_RUN_STORED
@@ -736,6 +734,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
 XENSTORED_PORT
 XENSTORED_KVA
 FILE_OFFSET_BITS
@@ -3918,6 +3918,12 @@ if test "x$sysconfdir" = 'x${prefix}/etc' ; then
     esac
 fi
 
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
 
 # Check whether --with-initddir was given.
 if test "${with_initddir+set}" = set; then :
@@ -4024,15 +4030,9 @@ XEN_LIB_DIR=$localstatedir/lib/xen
 SHAREDIR=$prefix/share
 
 
-CONFIG_DIR=$sysconfdir
-
-
 INITD_DIR=$initddir_path
 
 
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
 XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
 
 
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.