# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# 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.
# See BlankForm in this directory for details.
# The default compiler is `clang'.
# No support for OS older than darwin 10.X.
if test "X-" = "X-$CC"; then
darwin10.*) # Snow Leopard. Use gcc/g++ because clang++ is not available.
# Use this for profiling with gprof
# Just "-g" for now. More later.
# Figure out compiler flags
. $srcdir/config/gnu-flags