File: aclocal_subcfg.m4

package info (click to toggle)
mpich2 1.2.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,904 kB
  • ctags: 65,947
  • sloc: ansic: 343,583; makefile: 55,174; java: 34,959; sh: 27,558; perl: 17,355; cpp: 10,472; python: 9,649; f90: 5,753; fortran: 5,128; cs: 4,019; csh: 152; xml: 91; php: 8
file content (35 lines) | stat: -rw-r--r-- 1,152 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
dnl PAC_MPICH2_INIT - Initialization routine for top-level mpich2 configure.in.
dnl                   Call before invocation of mpich2's subpackage configure
AC_DEFUN([PAC_MPICH2_INIT],[
# Exporting the MPICH2_INTERNAL_xFLAGS with modified xFLAGS
# before calling subconfigure.
    MPICH2_INTERNAL_CFLAGS="$CFLAGS"
    MPICH2_INTERNAL_CXXFLAGS="$CXXFLAGS"
    MPICH2_INTERNAL_FFLAGS="$FFLAGS"
    MPICH2_INTERNAL_F90FLAGS="$F90FLAGS"
    export MPICH2_INTERNAL_CFLAGS
    export MPICH2_INTERNAL_CXXFLAGS
    export MPICH2_INTERNAL_FFLAGS
    export MPICH2_INTERNAL_F90FLAGS
# Not sure if we need AC_SUBST(MPICH2_INTERNAL_xFLAGS)
])


dnl PAC_SUBCONFIG_INIT - Initialization routine for subpackge configure.in
dnl                      Called after AC_INIT before any of xFLAGS is accessed.
AC_DEFUN([PAC_SUBCONFIG_INIT],[
# Initialize xFLAGS with MPICH2_INTERNAL_xFLAGS.
  if test "$FROM_MPICH2" = "yes" ; then
    CFLAGS="$MPICH2_INTERNAL_CFLAGS"
    CXXFLAGS="$MPICH2_INTERNAL_CXXFLAGS"
    FFLAGS="$MPICH2_INTERNAL_FFLAGS"
    F90FLAGS="$MPICH2_INTERNAL_F90FLAGS"
  fi
])


AC_DEFUN([PAC_SUBCONFIG_FINALIZE],[
])

AC_DEFUN([PAC_MPICH2_FINALIZE],[
])