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@aepfle.de>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
XEN_PAGING_DIR
XEN_LOCK_DIR
XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
INITD_DIR
-CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
LIBEXEC_BIN
LIBEXEC
CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
XENSTORED_PORT
XENSTORED_KVA
host_os
esac
fi
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
# Check whether --with-initddir was given.
if test "${with_initddir+set}" = set; then :
SHAREDIR=$prefix/share
-CONFIG_DIR=$sysconfdir
-
-
INITD_DIR=$initddir_path
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
XEN_PAGING_DIR
XEN_LOCK_DIR
XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
INITD_DIR
-CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
LIBEXEC_BIN
LIBEXEC
CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
XENSTORED_PORT
XENSTORED_KVA
target_alias
esac
fi
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
# Check whether --with-initddir was given.
if test "${with_initddir+set}" = set; then :
SHAREDIR=$prefix/share
-CONFIG_DIR=$sysconfdir
-
-
INITD_DIR=$initddir_path
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
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]]),
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)
XEN_PAGING_DIR
XEN_LOCK_DIR
XEN_SCRIPT_DIR
-XEN_CONFIG_DIR
INITD_DIR
-CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
LIBEXEC_BIN
LIBEXEC
CONFIG_LEAF_DIR
+XEN_CONFIG_DIR
+CONFIG_DIR
XENSTORED_PORT
XENSTORED_KVA
FILE_OFFSET_BITS
esac
fi
+CONFIG_DIR=$sysconfdir
+
+
+XEN_CONFIG_DIR=$CONFIG_DIR/xen
+
+
# Check whether --with-initddir was given.
if test "${with_initddir+set}" = set; then :
SHAREDIR=$prefix/share
-CONFIG_DIR=$sysconfdir
-
-
INITD_DIR=$initddir_path
-XEN_CONFIG_DIR=$CONFIG_DIR/xen
-
-
XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts