summaryrefslogtreecommitdiffstats
path: root/config/solaris2.5
diff options
context:
space:
mode:
Diffstat (limited to 'config/solaris2.5')
-rw-r--r--config/solaris2.543
1 files changed, 39 insertions, 4 deletions
diff --git a/config/solaris2.5 b/config/solaris2.5
index 87dd710..581415e 100644
--- a/config/solaris2.5
+++ b/config/solaris2.5
@@ -1,6 +1,41 @@
-# Site configuration -- do not distribute this file.
+# -*- 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.
-if test "x$CFLAGS" = "x"; then
- CFLAGS="-Wall -g -O2"
-fi
+#----------------------------------------------------------------------------
+# 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.
+
+# We can only use gcc
+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=-O2
+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'}