1998-04-03 11:29:38 +08:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# This file is part of the HDF5 build script. It is processed shortly
|
|
|
|
# after configure starts and defines, among other things, flags for
|
|
|
|
# the various compile modes.
|
1998-11-13 23:06:06 +08:00
|
|
|
#
|
|
|
|
# See BlankForm in this directory for details.
|
1997-08-16 00:40:24 +08:00
|
|
|
|
1998-11-13 23:06:06 +08:00
|
|
|
# The default compiler is `gcc'.
|
2001-02-20 03:04:32 +08:00
|
|
|
if test -z "$CC"; then
|
|
|
|
CC=gcc
|
|
|
|
CC_BASENAME=gcc
|
1998-11-13 23:06:06 +08:00
|
|
|
fi
|
1997-10-21 07:14:35 +08:00
|
|
|
|
1999-03-05 04:22:42 +08:00
|
|
|
# Omit frame pointer for optimized code?
|
|
|
|
NOFP=${NOFP:=-fomit-frame-pointer}
|
1998-04-23 01:26:01 +08:00
|
|
|
|
1999-03-05 04:22:42 +08:00
|
|
|
# Figure out compiler flags
|
1999-03-20 04:09:50 +08:00
|
|
|
. $srcdir/config/gnu-flags
|
2003-07-29 05:38:04 +08:00
|
|
|
|
|
|
|
# The default Fortran 90 compiler
|
|
|
|
|
|
|
|
#
|
|
|
|
# HDF5 integers
|
|
|
|
#
|
|
|
|
# R_LARGE is the number of digits for the bigest integer supported.
|
|
|
|
# R_INTEGER is the number of digits in INTEGER
|
|
|
|
#
|
|
|
|
# (for the Linux architechture)
|
|
|
|
#
|
|
|
|
R_LARGE=18
|
|
|
|
R_INTEGER=9
|
|
|
|
HSIZE_T='SELECTED_INT_KIND(R_LARGE)'
|
|
|
|
HSSIZE_T='SELECTED_INT_KIND(R_LARGE)'
|
|
|
|
HID_T='SELECTED_INT_KIND(R_INTEGER)'
|
|
|
|
SIZE_T='SELECTED_INT_KIND(R_INTEGER)'
|
|
|
|
OBJECT_NAMELEN_DEFAULT_F=-1
|
|
|
|
|
|
|
|
if test -z "$F9X"; then
|
|
|
|
F9X=pgf90
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test -z "$f9x_flags_set"; then
|
|
|
|
F9XSUFFIXFLAG=""
|
|
|
|
FSEARCH_DIRS=""
|
2003-11-15 04:36:53 +08:00
|
|
|
FFLAGS="$FFLAGS"
|
2003-07-29 05:38:04 +08:00
|
|
|
DEBUG_FFLAGS=""
|
|
|
|
PROD_FFLAGS=""
|
|
|
|
PROFILE_FFLAGS=""
|
|
|
|
f9x_flags_set=yes
|
|
|
|
fi
|
|
|
|
|
|
|
|
# The default C++ compiler
|
|
|
|
|
|
|
|
# The default compiler is `g++'.
|
|
|
|
if test -z "$CXX"; then
|
|
|
|
CXX=g++
|
|
|
|
CXX_BASENAME=g++
|
|
|
|
fi
|