autoconf: exec_prefix should default to $prefix not $ac_default_prefix
authorIan Campbell <ian.campbell@citrix.com>
Mon, 4 Aug 2014 14:27:05 +0000 (15:27 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 4 Aug 2014 16:00:25 +0000 (17:00 +0100)
commitcbe4f1df3879c861f8c79240784f4a378123babd
tree6c526aa4cb9811febb25719dd97efbaff5a5e591
parentb15599e84f90232c80753fead201d50c89b5d159
autoconf: exec_prefix should default to $prefix not $ac_default_prefix

Otherwise "./configure --prefix=/usr" still ends up with exec_prefix=/usr/local
and therefore LIBDIR, PRIVATE_PREFIX and PRIVATE_BINDIR still point to
/usr/local/foo.

This was broken in 54f28913a2b3 "autoconf: xen: move standard path variables to
config/Paths.mk.in" which tried to add code to expand exec_prefix earlier.

Reported-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
configure
m4/paths.m4
tools/configure