Fix ticket #1275. The pml v can now be correctly deactivated on the configure command line. Also fix a dist target under some unusual circumpstances.
This commit was SVN r18291.
Этот коммит содержится в:
родитель
465f690f90
Коммит
c20b020ea6
@ -21,6 +21,7 @@ component_install =
|
||||
endif
|
||||
|
||||
SUBDIRS = mca/vprotocol $(MCA_vprotocol_DSO_SUBDIRS) $(MCA_vprotocol_STATIC_SUBDIRS)
|
||||
DIST_SUBDIRS = mca/vprotocol $(MCA_vprotocol_ALL_SUBDIRS)
|
||||
|
||||
local_sources = \
|
||||
pml_v.c \
|
||||
|
@ -9,6 +9,11 @@
|
||||
#
|
||||
|
||||
AC_DEFUN([MCA_pml_v_CONFIG],[
|
||||
# This unmatched fi allows for recursing in the vprotocols, even if
|
||||
# pml v is disabled by configure
|
||||
eval
|
||||
fi
|
||||
|
||||
# We are going to make recursive call in shell, nothing is impossible
|
||||
# Still, we need to be extra careful
|
||||
(
|
||||
@ -17,7 +22,7 @@ AC_DEFUN([MCA_pml_v_CONFIG],[
|
||||
srcdir=`cd $srcdir && pwd`/$project/mca/$framework
|
||||
cd "$project/mca/$framework"
|
||||
|
||||
MCA_CONFIGURE_FRAMEWORK($vprotocol_parent_component, vprotocol, 1)
|
||||
MCA_CONFIGURE_FRAMEWORK($vprotocol_parent_component, vprotocol, $should_build)
|
||||
|
||||
# Save results
|
||||
cat >$vprotocol_parent_component/mca_vprotocol_config_output <<EOF
|
||||
@ -63,4 +68,7 @@ EOF
|
||||
AC_SUBST(MCA_vprotocol_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_vprotocol_DSO_SUBDIRS)
|
||||
|
||||
# This unmatched if is intended to match the fi of the if we disabled
|
||||
if test "$should_build" = "1"; then
|
||||
$1
|
||||
])
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user