1
1

- Removed header, replaced with $HEADER$ (to be filled in later)

- Moved all --with and --enable stuff to LAM_CONFIGURE_OPTIONS m4 macro
- Moved all C compiler setup stuff to LAM_SETUP_CC
- Moved all C++ compiler setup stuff to LAM_SETUP_CXX

This commit was SVN r34.
Этот коммит содержится в:
Jeff Squyres 2004-01-07 07:49:23 +00:00
родитель 2ad11955a2
Коммит d5fba7fc1d

Просмотреть файл

@ -1,13 +1,8 @@
# -*- shell-script -*- # -*- shell-script -*-
# #
# Copyright (c) 2003 The Trustees of Indiana University. # $HEADER$
# All rights reserved.
#
# This file is part of the LAM software package. For license
# information, see the LICENSE file in the top level directory of the
# LAM source distribution.
# #
# $Id: configure.ac,v 1.5 2003/12/28 15:12:06 jsquyres Exp $ # $Id: configure.ac,v 1.6 2004/01/07 07:49:23 jsquyres Exp $
# #
@ -107,16 +102,8 @@ AC_CANONICAL_HOST
# Configuration options # Configuration options
############################################################################ ############################################################################
# --enable-purify LAM_CONFIGURE_OPTIONS
# --enable-dist
# --disable-profile
# --disable-f77
# ...?
# amorphous, seem-to-be-good-idea options
# --with-lam=maintainer_options
# --with-ssi-*
# ...?
############################################################################ ############################################################################
# Libtool: part one # Libtool: part one
@ -146,9 +133,7 @@ AM_ENABLE_STATIC
# C compiler characteristics # C compiler characteristics
################################## ##################################
cflags_save="$CFLAGS" LAM_SETUP_CC
AC_PROG_CC
CFLAGS="$cflags_save"
# force ANSI prototypes # force ANSI prototypes
# check for STDC # check for STDC
@ -156,16 +141,16 @@ CFLAGS="$cflags_save"
# check for type sizes # check for type sizes
# check for type alignments # check for type alignments
# check for c99 features # check for c99 features
AC_C_INLINE AC_C_INLINE
AX_CREATE_STDINT_H([src/include/lam_stdint.h]) AX_CREATE_STDINT_H([src/include/lam_stdint.h])
################################## ##################################
# C++ compiler characteristics # C++ compiler characteristics
################################## ##################################
cxx_flags_save="$CXXFLAGS" LAM_SETUP_CXX
AC_PROG_CXX
CXXFLAGS="$cxx_flags_save"
# check for STL # check for STL
# check for bool (and corresponding C type) # check for bool (and corresponding C type)
@ -174,11 +159,12 @@ CXXFLAGS="$cxx_flags_save"
# check for type alignments # check for type alignments
# check for template repository # check for template repository
################################## ##################################
# Fortran # Fortran
################################## ##################################
if test "$with_f77" != "yes"; then if test "$with_fortran" != "yes"; then
lam_show_subtitle "Fortran Compiler -- skipped" lam_show_subtitle "Fortran Compiler -- skipped"
LAM_WANT_FORTRAN=1 LAM_WANT_FORTRAN=1
else else
@ -305,7 +291,7 @@ AC_CONFIG_FILES([
src/include/Makefile src/include/Makefile
src/lam/Makefile src/lam/Makefile
src/lam/base/Makefile src/lam/lfc/Makefile
src/lam/mem/Makefile src/lam/mem/Makefile
src/lam/os/Makefile src/lam/os/Makefile
src/lam/threads/Makefile src/lam/threads/Makefile
@ -322,8 +308,6 @@ AC_CONFIG_FILES([
src/tools/Makefile src/tools/Makefile
src/tools/wrappers/Makefile src/tools/wrappers/Makefile
doc/Makefile
test/Makefile test/Makefile
test/unit/Makefile test/unit/Makefile
test/unit/mpi/Makefile test/unit/mpi/Makefile