@@ -409,7 +409,7 @@ AC_DEFUN([EXT_CONFIGURE_M4_CONFIG_COMPONENT],[
409409# - c/libmpiext_<component>.la: convneience library slurped into libmpi.la
410410#
411411# mpi.f.h:
412- # - mpif-h/mpiext_ <component>_mpifh.h: is included mpi mpif_ext.h
412+ # - mpif-h/<component>_mpifh.h: is included mpi mpif_ext.h
413413# - mpif-h/libmpiext_<component>_mpifh.la: convenience library slurped
414414# into libmpi_mpifh.la
415415#
497497 # Test if this extension has mpif.h bindings
498498 # If not, skip this step.
499499 #
500- test_header= " ${srcdir} /ompi/mpiext/$component /mpif-h/mpiext_ ${component} _mpifh.h"
500+ test_header= " ${srcdir} /ompi/mpiext/$component /mpif-h/${component} _mpifh.h"
501501 enabled_mpifh= 0
502502
503503 AC_MSG_CHECKING([if MPI Extension $component has mpif.h bindings])
@@ -507,10 +507,10 @@ EOF
507507 enabled_mpifh=1
508508
509509 # JMS Where is this needed?
510- EXT_MPIFH_HEADERS=" $EXT_MPIFH_HEADERS mpiext/$component /mpif-h/mpiext_ $ {component} _mpifh.h"
510+ EXT_MPIFH_HEADERS=" $EXT_MPIFH_HEADERS mpiext/${component} _mpifh.h"
511511 $4 =" $$ 4 $component "
512512
513- component_header=" mpiext_ ${component} _mpifh.h"
513+ component_header=" ${component} _mpifh.h"
514514
515515 cat >> $mpif_ext_h << EOF
516516!
519519 integer $component_define
520520 parameter ($component_define =1)
521521
522- include 'openmpi/ompi/mpiext/$component /mpif-h/ $ component_header '
522+ include 'openmpi/ompi/mpiext/$component_header '
523523
524524EOF
525525 else
566566 # srcdir is needed to find the header.
567567 #
568568 if test " $enabled_mpifh " = 1; then
569- mpifh_component_header=" mpiext_ ${component} _mpifh.h"
569+ mpifh_component_header=" ${component} _mpifh.h"
570570 cat >> $mpiusempi_ext_h << EOF
571571#include "${srcdir} /ompi/mpiext/$component /mpif-h/$mpifh_component_header "
572572EOF
619619 # the srcdir is needed to find the header.
620620 #
621621 if test " $enabled_mpifh " = 1; then
622- mpifh_component_header=" mpiext_ ${component} _mpifh.h"
622+ mpifh_component_header=" ${component} _mpifh.h"
623623 cat >> $mpiusempif08_ext_h << EOF
624624#include "${srcdir} /ompi/mpiext/$component /mpif-h/$mpifh_component_header "
625625EOF
0 commit comments