A few dirty tricks to ensure that section titles appear before their
sections. This commit was SVN r21764.
Этот коммит содержится в:
родитель
668f001351
Коммит
a82d957c46
@ -21,13 +21,18 @@ dnl
|
|||||||
dnl $HEADER$
|
dnl $HEADER$
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
|
# This macro is necessary to get the title to be displayed first. :-)
|
||||||
|
AC_DEFUN([OMPI_SETUP_CXX_BANNER],[
|
||||||
|
ompi_show_subtitle "C++ compiler and preprocessor"
|
||||||
|
])
|
||||||
|
|
||||||
# OMPI_SETUP_CXX()
|
# OMPI_SETUP_CXX()
|
||||||
# ----------------
|
# ----------------
|
||||||
# Do everything required to setup the C++ compiler. Safe to AC_REQUIRE
|
# Do everything required to setup the C++ compiler. Safe to AC_REQUIRE
|
||||||
# this macro.
|
# this macro.
|
||||||
AC_DEFUN([OMPI_SETUP_CXX],[
|
AC_DEFUN([OMPI_SETUP_CXX],[
|
||||||
|
AC_REQUIRE([OMPI_SETUP_CXX_BANNER])
|
||||||
|
|
||||||
ompi_show_subtitle "C++ compiler and preprocessor"
|
|
||||||
_OMPI_SETUP_CXX_COMPILER
|
_OMPI_SETUP_CXX_COMPILER
|
||||||
|
|
||||||
_OMPI_CXX_CHECK_EXCEPTIONS
|
_OMPI_CXX_CHECK_EXCEPTIONS
|
||||||
|
@ -33,17 +33,19 @@ dnl OMPI_WANT_F77_BINDINGS :
|
|||||||
dnl am_conditional:
|
dnl am_conditional:
|
||||||
dnl OMPI_WANT_F77_BINDINGS :
|
dnl OMPI_WANT_F77_BINDINGS :
|
||||||
|
|
||||||
# See note below about why this macro exists
|
# This macro is necessary to get the title to be displayed first. :-)
|
||||||
|
AC_DEFUN([OMPI_SETUP_F77_BANNER],[
|
||||||
|
ompi_show_subtitle "Fortran 77 compiler"
|
||||||
|
])
|
||||||
|
|
||||||
|
# This macro is necessary because PROG_FC is REQUIREd by multiple
|
||||||
|
# places in SETUP_F90.
|
||||||
AC_DEFUN([OMPI_PROG_F77],[
|
AC_DEFUN([OMPI_PROG_F77],[
|
||||||
AC_PROG_F77([gfortran g77 f77 xlf frt ifort pgf77 fort77 fl32 af77])
|
AC_PROG_F77([gfortran g77 f77 xlf frt ifort pgf77 fort77 fl32 af77])
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN([OMPI_SETUP_F77],[
|
AC_DEFUN([OMPI_SETUP_F77],[
|
||||||
|
AC_REQUIRE([OMPI_SETUP_F77_BANNER])
|
||||||
# Modularize this setup so that sub-configure.in scripts can use this
|
|
||||||
# same setup code.
|
|
||||||
|
|
||||||
ompi_show_subtitle "Fortran 77 compiler"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for the compiler
|
# Check for the compiler
|
||||||
|
@ -34,19 +34,21 @@ dnl OMPI_WANT_F90_BINDINGS :
|
|||||||
dnl am_conditional:
|
dnl am_conditional:
|
||||||
dnl OMPI_WANT_F90_BINDINGS :
|
dnl OMPI_WANT_F90_BINDINGS :
|
||||||
|
|
||||||
# See note below about why this macro exists
|
# This macro is necessary to get the title to be displayed first. :-)
|
||||||
|
AC_DEFUN([OMPI_SETUP_F90_BANNER],[
|
||||||
|
ompi_show_subtitle "Fortran 90/95 compiler"
|
||||||
|
])
|
||||||
|
|
||||||
|
# This macro is necessary because PROG_FC is REQUIREd by multiple
|
||||||
|
# places in SETUP_F90.
|
||||||
AC_DEFUN([OMPI_PROG_FC],[
|
AC_DEFUN([OMPI_PROG_FC],[
|
||||||
AC_PROG_FC([gfortran f95 fort xlf95 ifort ifc efc pgf95 lf95 f90 xlf90 pgf90 epcf90])
|
AC_PROG_FC([gfortran f95 fort xlf95 ifort ifc efc pgf95 lf95 f90 xlf90 pgf90 epcf90])
|
||||||
])dnl
|
])dnl
|
||||||
|
|
||||||
AC_DEFUN([OMPI_SETUP_F90],[
|
AC_DEFUN([OMPI_SETUP_F90],[
|
||||||
|
AC_REQUIRE([OMPI_SETUP_F90_BANNER])
|
||||||
AC_REQUIRE([AC_PROG_GREP])
|
AC_REQUIRE([AC_PROG_GREP])
|
||||||
|
|
||||||
# Modularize this setup so that sub-configure.in scripts can use this
|
|
||||||
# same setup code.
|
|
||||||
|
|
||||||
ompi_show_subtitle "Fortran 90/95 compiler"
|
|
||||||
|
|
||||||
if test "$OMPI_WANT_F77_BINDINGS" = "0" ; then
|
if test "$OMPI_WANT_F77_BINDINGS" = "0" ; then
|
||||||
AC_MSG_WARN([*** Fortran 90/95 bindings implicitly disabled (because])
|
AC_MSG_WARN([*** Fortran 90/95 bindings implicitly disabled (because])
|
||||||
AC_MSG_WARN([*** Fortran 77 bindings were disabled)])
|
AC_MSG_WARN([*** Fortran 77 bindings were disabled)])
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user