I tried to do this but failed to commit --amend correctly before pushing.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
test "x$exec_prefix" = "xNONE" && exec_prefix=${prefix}
+if test "x$sysconfdir" = 'x${prefix}/etc' ; then
+ case "$host_os" in
+ *freebsd*)
+ sysconfdir=$prefix/etc
+ ;;
+ *solaris*)
+ if test "$prefix" = "/usr" ; then
+ sysconfdir=/etc
+ else
+ sysconfdir=$prefix/etc
+ fi
+ ;;
+ *)
+ sysconfdir=/etc
+ ;;
+ esac
+fi
+
BINDIR=$prefix/bin
XENFIRMWAREDIR=$prefix/lib/xen/boot
-CONFIG_DIR=/etc
+CONFIG_DIR=$sysconfdir
XEN_CONFIG_DIR=$CONFIG_DIR/xen
test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
test "x$exec_prefix" = "xNONE" && exec_prefix=${prefix}
+if test "x$sysconfdir" = 'x${prefix}/etc' ; then
+ case "$host_os" in
+ *freebsd*)
+ sysconfdir=$prefix/etc
+ ;;
+ *solaris*)
+ if test "$prefix" = "/usr" ; then
+ sysconfdir=/etc
+ else
+ sysconfdir=$prefix/etc
+ fi
+ ;;
+ *)
+ sysconfdir=/etc
+ ;;
+ esac
+fi
+
BINDIR=$prefix/bin
XENFIRMWAREDIR=$prefix/lib/xen/boot
-CONFIG_DIR=/etc
+CONFIG_DIR=$sysconfdir
XEN_CONFIG_DIR=$CONFIG_DIR/xen