1
1

* need to expand out $prefix if it is NONE as well

This commit was SVN r9346.
Этот коммит содержится в:
Brian Barrett 2006-03-21 00:21:12 +00:00
родитель cf9246f7b9
Коммит 9bd236e1f0

Просмотреть файл

@ -26,11 +26,12 @@
# someone changed the prefix.
AC_DEFUN([OMPI_INSTALL_DIRS], [
ompi_exec_prefix_save="$exec_prefix"
ompi_prefix_save="$prefix"
# need to temporarily expand this out as almost exactly as it will
# be done later so that NONE doesn't show up in the
# exec_prefix-based variables. We don't use '${prefix}' because
# we don't want to have to double evaluate those variables.
# {exec_}prefix-based variables.
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix="$prefix"
OPAL_PREFIX="$prefix"
@ -61,6 +62,7 @@ AC_DEFUN([OMPI_INSTALL_DIRS], [
AC_SUBST(OPAL_INFODIR)
AC_SUBST(OPAL_MANDIR)
prefix="$ompi_prefix_save"
exec_prefix="$ompi_exec_prefix_save"
AC_CONFIG_FILES([$1])