mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
4dcf59ae44
./configure.in ./config/BlankForm ./src/H5.c Configure tries to figure out how to print `long long' types and then defines PRINTF_LL_WIDTH to be `ll' or `q' or something. It does this by running little sprintf() programs with various formats until it gets one that works. If this causes problems when cross compiling (like with parallel machines) then you may add the following to the appropriate config file: hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'} or hdf5_cv_printf_ll=${hdf5_cv_printf_ll='q'} or hdf5_cv_printf_ll=${hdf5_cv_printf_ll='l'} ./config/intel-osf1 ./config/irix5.3 Updated these config files to match the others. This allows the `--enable-production' configure flag to work properly.
49 lines
1.6 KiB
Bash
49 lines
1.6 KiB
Bash
# -*- 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.
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Compiler flags. The CPPFLAGS values should not include package debug
|
|
# flags like `-DH5G_DEBUG' since these are added with the
|
|
# `--enable-debug' switch of configure.
|
|
|
|
# Sometimes a particular compiler must be used. If that's the case
|
|
# then uncomment the following line. Otherwise the main configure
|
|
# script will try to detect the compiler automatically.
|
|
#CC=gcc
|
|
|
|
# What must *always* be present for things to compile correctly?
|
|
#CFLAGS="$CFLAGS -ansi"
|
|
#CPPFLAGS="$CPPFLAGS -I."
|
|
|
|
# What compiler flags should be used for code development?
|
|
DEBUG_CFLAGS=-g
|
|
DEBUG_CPPFLAGS=
|
|
|
|
# What compiler flags should be used for building a production
|
|
# library?
|
|
PROD_CFLAGS=-O
|
|
PROD_CPPFLAGS=
|
|
|
|
# What compiler flags enable code profiling?
|
|
PROFILE_CFLAGS=-pg
|
|
PROFILE_CPPFLAGS=
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Values for overriding configuration tests when cross compiling.
|
|
# This includes compiling on some machines where the serial front end
|
|
# compiles for a parallel back end.
|
|
|
|
# Set this to `yes' or `no' depending on whether the target is big
|
|
# endian or little endian.
|
|
#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}
|
|
|
|
# Set this to the width required by printf() to print type `long
|
|
# long'. For instance, if the format would be `%lld' then set it to
|
|
# `ll' or if the format would be `%qd' set it to `q'.
|
|
#hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'}
|