@@ -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#
@@ -461,7 +461,7 @@ AC_DEFUN([EXT_PROCESS_COMPONENT],[
461461 # ##############
462462 # C Bindings
463463 # ##############
464- test_header= " ${srcdir} /ompi/mpiext/$component /c/mpiext_ ${component} _c.h"
464+ test_header= " ${srcdir} /ompi/mpiext/${ component} /c/${component} _c.h"
465465
466466 AC_MSG_CHECKING([if MPI Extension $component has C bindings])
467467
@@ -479,14 +479,14 @@ AC_DEFUN([EXT_PROCESS_COMPONENT],[
479479 $3 = " $$ 3 $component "
480480
481481 # JMS Where is this needed?
482- EXT_C_HEADERS= " $EXT_C_HEADERS mpiext/$component /c/mpiext_ ${component} _c.h"
482+ EXT_C_HEADERS= " $EXT_C_HEADERS mpiext/c/ ${component} _c.h"
483483
484- component_header= " mpiext_ ${component} _c.h"
484+ component_header= " ${component} _c.h"
485485
486486 cat >> $mpi_ext_h << EOF
487487/* Enabled Extension: $component * /
488488# define $component_define 1
489- # include "openmpi/ompi/mpiext/$component/c/$ component_header"
489+ # include "openmpi/ompi/mpiext/$component_header"
490490
491491EOF
492492
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