@@ -7,6 +7,9 @@ dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
7
7
dnl Copyright (c) 2011-2012 Oak Ridge National Labs. All rights reserved.
8
8
dnl Copyright (c) 2015 Research Organization for Information Science
9
9
dnl and Technology (RIST). All rights reserved.
10
+ dnl Copyright (c) 2017 The University of Tennessee and The University
11
+ dnl of Tennessee Research Foundation. All rights
12
+ dnl reserved.
10
13
dnl $COPYRIGHT $
11
14
dnl
12
15
dnl Additional copyrights may follow
@@ -554,17 +557,17 @@ EOF
554
557
#
555
558
# Include the mpif.h header if it is available. Cannot do
556
559
# this from inside the usempi.h since, for VPATH builds, the
557
- # top_ompi_srcdir is needed to find the header.
560
+ # srcdir is needed to find the header.
558
561
#
559
562
if test " $enabled_mpifh " = 1; then
560
563
mpifh_component_header=" mpiext_${component} _mpifh.h"
561
564
cat >> $mpiusempi_ext_h << EOF
562
- include '$top_ompi_srcdir /ompi/mpiext/$component /mpif-h/$mpifh_component_header '
565
+ include '${srcdir} /ompi/mpiext/$component /mpif-h/$mpifh_component_header '
563
566
EOF
564
567
fi
565
568
566
569
cat >> $mpiusempi_ext_h << EOF
567
- include '$top_ompi_srcdir /ompi/mpiext/$component /use-mpi/$component_header '
570
+ include '${srcdir} /ompi/mpiext/$component /use-mpi/$component_header '
568
571
569
572
EOF
570
573
else
@@ -607,17 +610,17 @@ EOF
607
610
#
608
611
# Include the mpif.h header if it is available. Cannot do
609
612
# this from inside the usempif08.h since, for VPATH builds,
610
- # the top_ompi_srcdir is needed to find the header.
613
+ # the srcdir is needed to find the header.
611
614
#
612
615
if test " $enabled_mpifh " = 1; then
613
616
mpifh_component_header=" mpiext_${component} _mpifh.h"
614
617
cat >> $mpiusempif08_ext_h << EOF
615
- include '$top_ompi_srcdir /ompi/mpiext/$component /mpif-h/$mpifh_component_header '
618
+ include '${srcdir} /ompi/mpiext/$component /mpif-h/$mpifh_component_header '
616
619
EOF
617
620
fi
618
621
619
622
cat >> $mpiusempif08_ext_h << EOF
620
- include '$top_ompi_srcdir /ompi/mpiext/$component /use-mpi-f08/$component_header '
623
+ include '${srcdir} /ompi/mpiext/$component /use-mpi-f08/$component_header '
621
624
622
625
EOF
623
626
else
0 commit comments