diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2021-12-06 17:02:01 +0000 |
---|---|---|
committer | Andrew Cooper <andrew.cooper3@citrix.com> | 2021-12-16 20:27:12 +0000 |
commit | 021cd1c4b4dfd23a5feb92fecc8db8a7228c80a5 (patch) | |
tree | 40b9c5014c8f27dfdeeed4d115a46572b83bf4ae /configure | |
parent | e7fe314870442fb85f8ecfc0e0bc605dddcd75b1 (diff) | |
download | xen-021cd1c4b4dfd23a5feb92fecc8db8a7228c80a5.tar.gz |
tools: Use config.h from autoconf instead of "buildmakevars2header"
This avoid the need to generate the _paths.h header when the
information is from autoconf anyway.
They are no more users of the "buildmakevars2header" macro, so it can
be removed from "Config.mk".
Also removed the extra "-f" flag where "$(RM)" is used (xl/Makefile).
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -1946,6 +1946,11 @@ CONFIG_DIR=$sysconfdir XEN_CONFIG_DIR=$CONFIG_DIR/xen +cat >>confdefs.h <<_ACEOF +#define XEN_CONFIG_DIR "$XEN_CONFIG_DIR" +_ACEOF + + # Check whether --with-initddir was given. if test "${with_initddir+set}" = set; then : @@ -1998,6 +2003,11 @@ fi XEN_SCRIPT_DIR=$xen_scriptdir_path +cat >>confdefs.h <<_ACEOF +#define XEN_SCRIPT_DIR "$XEN_SCRIPT_DIR" +_ACEOF + + # Check whether --with-xen-dumpdir was given. if test "${with_xen_dumpdir+set}" = set; then : @@ -2038,6 +2048,11 @@ LIBEXEC=`eval echo $libexecdir/$libexec_subdir` LIBEXEC_BIN=${LIBEXEC}/bin + +cat >>confdefs.h <<_ACEOF +#define LIBEXEC_BIN "$LIBEXEC_BIN" +_ACEOF + LIBEXEC_LIB=${LIBEXEC}/lib LIBEXEC_INC=${LIBEXEC}/include @@ -2045,12 +2060,27 @@ LIBEXEC_INC=${LIBEXEC}/include XENFIRMWAREDIR=${LIBEXEC}/boot +cat >>confdefs.h <<_ACEOF +#define XENFIRMWAREDIR "$XENFIRMWAREDIR" +_ACEOF + + XEN_RUN_DIR=$rundir_path/xen +cat >>confdefs.h <<_ACEOF +#define XEN_RUN_DIR "$XEN_RUN_DIR" +_ACEOF + + XEN_LOG_DIR=$localstatedir/log/xen +cat >>confdefs.h <<_ACEOF +#define XEN_LOG_DIR "$XEN_LOG_DIR" +_ACEOF + + XEN_LIB_STORED=$localstatedir/lib/xenstored @@ -2060,6 +2090,11 @@ XEN_RUN_STORED=$rundir_path/xenstored XEN_LIB_DIR=$localstatedir/lib/xen +cat >>confdefs.h <<_ACEOF +#define XEN_LIB_DIR "$XEN_LIB_DIR" +_ACEOF + + SHAREDIR=$prefix/share @@ -2073,12 +2108,22 @@ case "$host_os" in esac +cat >>confdefs.h <<_ACEOF +#define XEN_LOCK_DIR "$XEN_LOCK_DIR" +_ACEOF + + XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging XEN_DUMP_DIR=$xen_dumpdir_path +cat >>confdefs.h <<_ACEOF +#define XEN_DUMP_DIR "$XEN_DUMP_DIR" +_ACEOF + + DEBUG_DIR=$debugdir_path |