Fix VIPS_LIBDIR being "NONE" without --prefix

If the --prefix switch is not given to configure, the prefix variable is
NONE, so we need to the the default value from ac_default_prefix first.
This commit is contained in:
Felix Bünemann 2016-05-18 03:56:20 +02:00
parent dcbd8397a5
commit c5dfc1f840

View File

@ -260,6 +260,7 @@ AM_WITH_DMALLOC
# without this we get something like
# define VIPS_LIBDIR ${exec_prefix}/lib
# argh
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
# set $expanded_value to the fully-expanded value of the argument