diff options
Diffstat (limited to 'c++/config')
-rw-r--r-- | c++/config/BlankForm | 126 | ||||
-rw-r--r-- | c++/config/commence.in | 163 | ||||
-rw-r--r-- | c++/config/conclude.in | 175 | ||||
-rw-r--r-- | c++/config/depend1.in | 51 | ||||
-rw-r--r-- | c++/config/depend2.in | 11 | ||||
-rw-r--r-- | c++/config/depend3.in | 7 | ||||
-rw-r--r-- | c++/config/depend4.in | 7 | ||||
-rw-r--r-- | c++/config/dependN.in | 4 | ||||
-rw-r--r-- | c++/config/hpux11.00 | 24 | ||||
-rw-r--r-- | c++/config/irix6.x | 34 | ||||
-rw-r--r-- | c++/config/linux-gnu | 4 | ||||
-rw-r--r-- | c++/config/linux-gnulibc1 | 16 | ||||
-rw-r--r-- | c++/config/linux-gnulibc2 | 10 | ||||
-rw-r--r-- | c++/config/powerpc-ibm-aix | 10 | ||||
-rw-r--r-- | c++/config/rs6000-ibm-aix4.x | 11 | ||||
-rw-r--r-- | c++/config/solaris2.x | 44 | ||||
-rw-r--r-- | c++/config/sv1-cray | 126 | ||||
-rw-r--r-- | c++/config/unicos10.0.X | 126 | ||||
-rw-r--r-- | c++/config/unicosmk2.0.6.X | 126 |
19 files changed, 0 insertions, 1075 deletions
diff --git a/c++/config/BlankForm b/c++/config/BlankForm deleted file mode 100644 index 18933e4..0000000 --- a/c++/config/BlankForm +++ /dev/null @@ -1,126 +0,0 @@ -# -*- 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. -#---------------------------------------------------------------------------- - - -# Choosing a C++ Compiler -# ----------------------- -# -# The user should be able to specify the compiler by setting the CXX -# environment variable to the name of the compiler and any switches it -# requires for proper operation. If CXX is unset then this script may -# set it. If CXX is unset by time this script completes then configure -# will try `g++' and `CC' in that order (perhaps some others too). -# -# Note: Code later in this file may depend on the value of $CXX_BASENAME -# in order to distinguish between different compilers when -# deciding which compiler command-line switches to use. This -# variable is set based on the incoming value of $CC and is only -# used within this file. - -if test -z "$CXX"; then - CXX="/some/default/compiler/named/foo -ansi" - CXX_BASENAME=foo -fi - - -# C++ Compiler and Preprocessor Flags -# ----------------------------------- -# -# Flags that end with `_CXXFLAGS' are always passed to the compiler. -# Flags that end with `_CPPFLAGS' are passed to the compiler when -# compiling but not when linking. -# -# DEBUG_CXXFLAGS Flags to pass to the compiler to create a -# DEBUG_CPPFLAGS library suitable for use with debugging -# tools. Usually this list will exclude -# optimization switches (like `-O') and include -# switches that turn on symbolic debugging -# support (like `-g'). -# -# PROD_CXXFLAGS Flags to pass to the compiler to create a -# PROD_CPPFLAGS production version of the library. These -# usualy exclude symbolic debugging switches -# (like `-g') and include optimization switches -# (like `-O'). -# -# PROFILE_CXXFLAGS Flags to pass to the compiler to create a -# PROFILE_CPPFLAGS library suitable for performance testing (like -# `-pg'). This may or may not include debugging -# or production flags. -# -# CXXFLAGS Flags can be added to this variable which -# might already be partially initialized. These -# flags will always be passed to the compiler -# and should include switches to turn on full -# warnings. HDF5 attempts to be ANSI and Posix -# compliant and employ good programming -# practices resulting in few if any -# warnings. -# -# Warning flags do not have to be added to CFLAGS -# variable if the compiler is the GNU gcc -# compiler or a descendent of gcc such as EGCS or PGCC. -# -# The CFLAGS should contains *something* or else -# configure will probably add `-g'. For most -# systems this isn't a problem but some systems -# will disable optimizations in favor of the -# `-g'. -# -# -# These flags should be set according to the compiler being used. -# There are two ways to check the compiler. You can try using `-v' or -# `--version' to see if the compiler will print a version string. You -# can use the value of $CXX_BASENAME which is the base name of the -# first word in $CXX (note that the value of CXX may have changed -# above). - -case $CXX_BASENAME in - g++) - CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions - DEBUG_CXXFLAGS="-g -fverbose-asm" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O3 -fomit-frame-pointer" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; - - *) - CXXFLAGS="$CXXFLAGS" - DEBUG_CXXFLAGS="-g" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; -esac - - - -# Overriding Configure Tests -# -------------------------- -# -# 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'} diff --git a/c++/config/commence.in b/c++/config/commence.in deleted file mode 100644 index 381f014..0000000 --- a/c++/config/commence.in +++ /dev/null @@ -1,163 +0,0 @@ -##------------------------------------------------------------ -*- makefile -*- -## The following section of this makefile comes from the -## `./config/commence' file which was generated with config.status -## from `./config/commence.in'. -##----------------------------------------------------------------------------- - -## Things that Make needs -.SUFFIXES: -.SUFFIXES: .cpp .o .lo -@SET_MAKE@ - -## Directories to search -@SEARCH@ - -## Programs -SHELL=/bin/sh -CXX=@CXX@ -CXXFLAGS=@CXXFLAGS@ -CFLAGS=@CFLAGS@ -CPPFLAGS=@CPPFLAGS@ -LDFLAGS=@LDFLAGS@ -ROOT=@ROOT@ -LIBS=@LIBS@ -AR=@AR@ -RANLIB=@RANLIB@ -PERL=@PERL@ -RM=rm -f -CP=cp -INSTALL=@INSTALL@ -INSTALL_PROGRAM=@INSTALL_PROGRAM@ -INSTALL_DATA=@INSTALL_DATA@ -TRACE=: - -## Installation points -prefix=@prefix@ -exec_prefix=@exec_prefix@ -bindir=@bindir@ -libdir=@libdir@ -includedir=@includedir@ -docdir=@exec_prefix@/doc -PUB_LIB=$(LIB) - -## Obtain default library; the current version of libtool does not fully -## support C++ yet, and it does not know which default library to find. -## With libtool 1.5, this support can be removed. - BMR - Jan, 2002 -DEFAULT_LIBS=@DEFAULT_LIBS@ - -## Shared libraries -LT_STATIC_EXEC=@LT_STATIC_EXEC@ -DYNAMIC_DIRS=@DYNAMIC_DIRS@ -LT=$(top_builddir)/libtool -LT_COMPILE=$(LT) --mode=compile $(CXX) -LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir) $(DYNAMIC_DIRS) -LT_LINK_EXE=$(LT) --mode=link $(CXX) -static $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS) -LT_RUN=$(LT) --mode=execute -LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM) -LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA) -LT_UNINSTALL=$(LT) --mode=uninstall $(RM) - -## Optional variables. We must declare them here because Irix pmake -## complains if it sees a reference to a variable which has never been -## defined. The main makefile is free to redefine these to something else. -DOCDIR=$(docdir) -EXAMPLEDIR=$(docdir)/hdf5/examples/c++ -LIB= -LIB_SRC= -LIB_OBJ= -PUB_HDR= -PUB_PROGS= -PUB_DOCS= -PROGS= -TEST_PROGS= -TEST_FLAGS= -TEST_SCRIPTS= -AUX_LIB= -EXAMPLE_PROGS= -SUBDIRS= -LIBHDF5= - -## The default is to build the library and/or programs. We must build -## them sequentially. -all: - $(MAKE) lib - $(MAKE) progs - $(MAKE) tests - -## The following rules insure that the Makefile is up-to-date by rerunning -## various autoconf components (although not all versions of make assume -## that the makefile is implicitly a target). We use time stamp files to -## keep track of the most recent update of H5config.h.in and H5config.h -## because autoheader and config.status don't update the modification time -## if the contents don't change. -## Invoke it by "gmake reconfigure". -## -## Graphically, the dependencies are: -## -## configure.in -## | | -## +-----------------+ +------------+ -## | | -## stamp1 configure -## (H5config.h.in) | -## | | | -## | +---------------+ +-----------+ -## | | | -## | config.status -## | | -## | +------------------+ -## | | -## stamp2 -## (H5config.h) Makefile.in et al -## | | -## +------------------+ +-----------+ -## | | -## Makefile -## -## A side effect of updating stamp1 is to generate H5config.h.in and a -## side effect of updating stamp2 is to generate H5config.h. When using -## a version of make that doesn't treat the makefile as the initial target -## the user may want to occassionally type `make Makefile' in any source -## directory. -## The `Makefile' target has been renamed to `reconfigure' so that the -## autoconf and make depend processes do not start up automatically. -## One must do `make reconfigure' explicitedly to start the process. -## (When srcdir is used and if more than one machines are running, -## this automatic Makefile/autoconf can get things unstable.) -## -STAMP1=$(top_builddir)/config/stamp1 -STAMP2=$(top_builddir)/config/stamp2 - -MAKEFILE_PARTS=$(srcdir)/Makefile.in \ - $(top_srcdir)/config/commence.in \ - $(top_srcdir)/config/conclude.in \ - $(top_srcdir)/config/depend1.in \ - $(top_srcdir)/config/depend2.in \ - $(top_srcdir)/config/depend3.in \ - $(top_srcdir)/config/depend4.in \ - $(top_srcdir)/config/dependN.in - -$(STAMP1): $(top_srcdir)/configure.in - touch $(STAMP1) - -cd $(top_srcdir); autoheader - -$(STAMP2): $(STAMP1) $(top_builddir)/config.status - touch $(STAMP2) - -cd $(top_builddir); \ - CONFIG_FILES= CONFIG_HEADERS=src/H5config.h ./config.status - -$(top_srcdir)/configure: $(top_srcdir)/configure.in - -cd $(top_srcdir); autoconf - -$(top_builddir)/config.status: $(top_srcdir)/configure $(STAMP1) - -cd $(top_builddir); ./config.status --recheck - -# rerun the autoconf process if any configure components have changed. -reconfigure: $(MAKEFILE_PARTS) $(STAMP2) - -cd $(top_builddir); CONFIG_HEADERS= ./config.status - -##----------------------------------------------------------------------------- -## The following section of this makefile comes from the middle of -## `Makefile.in' from this directory. It was generated by running -## `config.status'. -##----------------------------------------------------------------------------- diff --git a/c++/config/conclude.in b/c++/config/conclude.in deleted file mode 100644 index 1b62ea9..0000000 --- a/c++/config/conclude.in +++ /dev/null @@ -1,175 +0,0 @@ -##------------------------------------------------------------ -*- makefile -*- -## The following section of this makefile comes from the -## `./config/conclude' file which was generated with config.status -## from `./config/conclude.in'. -##----------------------------------------------------------------------------- - -## This is the target for the library described in the main body of the -## makefile. -## -lib: $(LIB) -$(LIB) __no_library__: $(LIB_OBJ) - @$(LT_LINK_LIB) -o $@ $(CXXFLAGS) $(LIB_OBJ) $(LDFLAGS) $(LIBS) - -progs: $(LIB) $(PROGS) - -## Build a tags file in this directory. -TAGS: $(LIB_SRC) - $(RM) $@ - -etags $(LIB_SRC) - -## Runs each test in order, passing $(TEST_FLAGS) to the program. -## Since tests are done in a shell loop, "make -i" does apply inside it. -## Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop. -tests: $(TEST_PROGS) $(LIB) -check test _test: tests - @for test in $(TEST_PROGS) dummy; do \ - if test $$test != dummy; then \ - echo ""; \ - echo "====================================="; \ - echo "C++ API: Testing $$test $(TEST_FLAGS)"; \ - echo "====================================="; \ - echo ""; \ - srcdir="$(srcdir)" \ - ./$$test $(TEST_FLAGS) || \ - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ - break; \ - fi; \ - done; \ - test $$test = dummy || false - @for test in $(TEST_SCRIPTS) dummy; do \ - if test $$test != dummy; then \ - echo ""; \ - echo "====================================="; \ - echo "C++ API: Testing $$test $(TEST_FLAGS)"; \ - echo "====================================="; \ - echo ""; \ - srcdir="$(srcdir)" \ - /bin/sh $$test $(TEST_FLAGS) || \ - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ - break; \ - fi; \ - done; \ - test $$test = dummy || false - -## Make installation directories directories if they don't exist. -$(libdir): - $(top_srcdir)/bin/mkdirs $@ - -$(includedir): - $(top_srcdir)/bin/mkdirs $@ - -$(bindir): - $(top_srcdir)/bin/mkdirs $@ - -$(EXAMPLEDIR): - $(top_srcdir)/bin/mkdirs $@ - -## Install the library, the public header files, and public programs. -install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir) - @for f in X $(PUB_LIB); do \ - if test $$f != X; then \ - ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \ - fi; \ - done - @if test -f libhdf5.settings; then \ - (set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \ - fi - @for f in X $(PUB_HDR); do \ - if test $$f != X; then \ - if test -f $$f; then \ - (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \ - else \ - (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/. || \ - exit 1); \ - fi; \ - fi; \ - done - @for f in X $(PUB_PROGS); do \ - if test $$f != X; then \ - ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \ - fi; \ - done - -install-examples: $(EXAMPLE_PROGS) $(EXAMPLEDIR) - @for f in X $(EXAMPLE_PROGS); do \ - if test $$f != X; then \ - (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ - fi; \ - done - -uninstall-examples: - @if test -n "$(EXAMPLE_PROGS)"; then \ - set -x; cd $(EXAMPLEDIR) && $(RM) $(EXAMPLE_PROGS); \ - fi - -## Removes those things that `make install' (would have) installed. -uninstall: - @for f in libhdf5.settings $(LIB); do \ - $(LT_UNINSTALL) $(libdir)/$$f; \ - done - @if test -n "$(PUB_HDR)"; then \ - set -x; cd $(includedir) && $(RM) $(PUB_HDR); \ - fi - @for f in X $(PUB_PROGS); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(bindir)/$$f; \ - fi; \ - done - -## Removes temporary files without removing the final target files. That is, -## remove things like object files but not libraries or executables. -## -mostlyclean: - @if test -n "$(LIB_OBJ)"; then \ - $(RM) $(LIB_OBJ) $(LIB_OBJ:.lo=.o); \ - fi - @if test -n "$(TEST_OBJ)"; then \ - $(RM) $(TEST_OBJ) $(TEST_OBJ:.lo=.o); \ - fi - @if test -n "$(PROG_OBJ)" -o -n "$(MOSTLYCLEAN)"; then \ - $(RM) $(PROG_OBJ) $(PROG_OBJ:.lo=.o) $(MOSTLYCLEAN); \ - fi - -## Like `mostlyclean' except it also removes the final targets: things like -## libraries and executables. This target doesn't remove any file that -## is part of the HDF5 distribution. -## -clean: mostlyclean - @if test -n "$(LIB)" -o -n "$(TEST_PROGS)" -o -n "$(PROGS)" -o -n "$(CLEAN)"; then \ - $(RM) $(LIB) $(TEST_PROGS) $(PROGS) $(CLEAN); \ - fi - -$(RM) -r .libs - -## Like `clean' except it also removes files that were created by running -## configure. If you've unpacked the source and built HDF5 without creating -## any other files, then `make distclean' will leave only the files that were -## in the distribution. -## -distclean: clean - -$(RM) .depend TAGS *~ core *.core *.bak *.old *.new $(DISTCLEAN) - @if test -f $(srcdir)/Makefile.in; then \ - (set -x; $(RM) Makefile); \ - fi - -## Like `distclean' except it deletes all files that can be regenerated from -## the makefile, including those generated from autoheader and autoconf. -## -maintainer-clean: distclean - -$(RM) *~ core core.* *.core *.bak *.contrib gmon.out - -## Implicit rules -.cpp.o: - $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< - -.cpp.lo: - @$(LT_COMPILE) $(CXXFLAGS) $(CPPFLAGS) -c $< - -##----------------------------------------------------------------------------- -## The following section of this makefile contains dependencies between the -## source files and the header files. -##----------------------------------------------------------------------------- -.PHONY: dep depend -dep depend: $(srcdir)/Dependencies - -@DEPEND@ diff --git a/c++/config/depend1.in b/c++/config/depend1.in deleted file mode 100644 index eaa7488..0000000 --- a/c++/config/depend1.in +++ /dev/null @@ -1,51 +0,0 @@ -## -*- makefile -*- - -## We keep a list of dependencies in `.depend' for each of the source -## files on which it depends. When one of the source files is modified -## we remove its record from .depend and regenerate its dependencies, -## tacking them onto the end of .depend. By including the .depend file -## into the makefile, we're telling make that the makefile depends on -## the dependency list in the .depend file. -## -## This is as fast as the `.d' method described in the GNU make manual -## for automatic dependencies, but has the added advantage that all -## dependencies are stored in one place. The advantage over the -## `makedepend' program is that only those files that are out of date -## have dependency information rebuilt, and the Makefile is not -## modified. -## -## This is also where tracing information is updated. The $(TRACE) -## program is run on each source file to make sure that the H5TRACE() -## macros are up to date. If they are then the file is not modified, -## otherwise the file is changed and a backup is saved by appending a -## tilde to the file name. -## -$(srcdir)/Dependencies: .depend - @if test "$(srcdir)" != "."; then \ - echo '## This file is machine generated on GNU systems.' >$@; \ - echo '## Only temporary changes may be made here.' >>$@; \ - echo >>$@; \ - $(PERL) -p $(top_srcdir)/bin/distdep .depend >>$@; \ - else \ - echo 'Dependencies cannot be built when $$srcdir == $$builddir'; \ - fi - -.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC) - @touch .depend - @for dep in $? dummy; do \ - if test $$dep != "dummy" -a -n "$(PERL)"; then \ - case "$$dep" in \ - *.c) \ - echo Building dependencies for $$dep; \ - obj=`basename $$dep .c`.lo; \ - sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ - $(TRACE) $$dep; \ - $(CC) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null >>$@; \ - $(PERL) -w $(top_srcdir)/bin/dependencies --srcdir=$(srcdir) --top_srcdir=$(top_srcdir) --top_builddir=$(top_builddir) $@; \ - ;; \ - esac; \ - fi; \ - done - --include .depend - diff --git a/c++/config/depend2.in b/c++/config/depend2.in deleted file mode 100644 index f67914f..0000000 --- a/c++/config/depend2.in +++ /dev/null @@ -1,11 +0,0 @@ -## -*- makefile -*- - -## This platform doesn't support automatic dependencies because we're -## not using GNU gcc. GNU gcc is needed in order to generate the list -## of header files included by a source file. - -## Since automatic dependencies are not being used, we attempt to include the -## `.distdep' file from the source tree. This file was automatically generated -## on some system that satisfies the above requirements. - --include $(srcdir)/Dependencies diff --git a/c++/config/depend3.in b/c++/config/depend3.in deleted file mode 100644 index e856bc5..0000000 --- a/c++/config/depend3.in +++ /dev/null @@ -1,7 +0,0 @@ -## -*- makefile -*- - -## Since automatic dependencies are not being used, we attempt to include the -## `.distdep' file from the source tree. This file was automatically generated -## on some system that satisfies the above requirements. - -.include <$(srcdir)/Dependencies> diff --git a/c++/config/depend4.in b/c++/config/depend4.in deleted file mode 100644 index b0324d9..0000000 --- a/c++/config/depend4.in +++ /dev/null @@ -1,7 +0,0 @@ -## -*- makefile -*- - -## Since automatic dependencies are not being used, we attempt to include the -## `.distdep' file from the source tree. This file was automatically generated -## on some system that satisfies the above requirements. - -include $(srcdir)/Dependencies diff --git a/c++/config/dependN.in b/c++/config/dependN.in deleted file mode 100644 index 7ece270..0000000 --- a/c++/config/dependN.in +++ /dev/null @@ -1,4 +0,0 @@ -## -*- makefile -*- - -## Automatic dependencies are not being used and we cannot include other -## files. diff --git a/c++/config/hpux11.00 b/c++/config/hpux11.00 deleted file mode 100644 index 0485e2d..0000000 --- a/c++/config/hpux11.00 +++ /dev/null @@ -1,24 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details. - -if test -z "$CXX"; then - CXX=aCC - CXX_BASENAME=aCC -fi - -if test -z "$cxx_flags_set"; then -# +Z for PIC, +A for using archived libraries - CXXFLAGS="+Z +A" - CFLAGS="-g +O2" - DEBUG_CXXFLAGS=-g - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O -s" - PROD_CPPFLAGS= - PROFILE_CPPFLAGS= - cxx_flags_set=yes -fi diff --git a/c++/config/irix6.x b/c++/config/irix6.x deleted file mode 100644 index dad44c5..0000000 --- a/c++/config/irix6.x +++ /dev/null @@ -1,34 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details - -# The default compiler is `MIPSpro CC' -if test -z "$CXX"; then - CXX=CC - CXX_BASENAME=CC -fi - -# Try native compiler flags -if test -z "$cxx_flags_set"; then -# -LANG:std required for std use; -ptused causes templates used to be -# instantiated - CPPFLAGS="-LANG:std -ptused" - -# libCio is a default library, since libtool before 1.5 doesn't fully -# support C++ yet, default libraries must be explicitly specified. -# A new macro is used for this temporary and specific task so it -# won't polute the existing configuration - DEFAULT_LIBS="-lCio" - - DEBUG_CXXFLAGS=-g - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O -s" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS=-xpg - PROFILE_CPPFLAGS= - cxx_flags_set=yes -fi diff --git a/c++/config/linux-gnu b/c++/config/linux-gnu deleted file mode 100644 index d139966..0000000 --- a/c++/config/linux-gnu +++ /dev/null @@ -1,4 +0,0 @@ -# -*- shell-script -*- -# This is the same as linux-gnulibc1 - -. $srcdir/config/linux-gnulibc1 diff --git a/c++/config/linux-gnulibc1 b/c++/config/linux-gnulibc1 deleted file mode 100644 index 4b7ac40..0000000 --- a/c++/config/linux-gnulibc1 +++ /dev/null @@ -1,16 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details. - -# The default compiler is `g++'. -if test -z "$CXX"; then - CXX=g++ - CXX_BASENAME=g++ -fi - -# Figure out compiler flags -#. $srcdir/config/gnu-flags diff --git a/c++/config/linux-gnulibc2 b/c++/config/linux-gnulibc2 deleted file mode 100644 index 4551fb6..0000000 --- a/c++/config/linux-gnulibc2 +++ /dev/null @@ -1,10 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details. - -# Same as with gnulibc1 for now -. $srcdir/config/linux-gnulibc1 diff --git a/c++/config/powerpc-ibm-aix b/c++/config/powerpc-ibm-aix deleted file mode 100644 index f9086a0..0000000 --- a/c++/config/powerpc-ibm-aix +++ /dev/null @@ -1,10 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details. - -# Use AIX supplied C++ compiler by default. -CXX=${CXX=xlC} diff --git a/c++/config/rs6000-ibm-aix4.x b/c++/config/rs6000-ibm-aix4.x deleted file mode 100644 index 770ba80..0000000 --- a/c++/config/rs6000-ibm-aix4.x +++ /dev/null @@ -1,11 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details. - -# Cross compiling defaults -ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'} -hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'} diff --git a/c++/config/solaris2.x b/c++/config/solaris2.x deleted file mode 100644 index 8c7b593..0000000 --- a/c++/config/solaris2.x +++ /dev/null @@ -1,44 +0,0 @@ -# -*- 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. -# -# See BlankForm in this directory for details - -# The default compiler is `sunpro cc' -if test -z "$CXX"; then - CXX=CC - CXX_BASENAME=CC -fi - -# Try gcc compiler flags -#. $srcdir/config/gnu-flags - -cxx_version="`$CXX -V 2>&1 |grep 'WorkShop' |\ - sed 's/.*WorkShop.*C\+\+ \([0-9\.]*\).*/\1/'`" - -cxx_vers_major=`echo $cxx_version | cut -f1 -d.` -cxx_vers_minor=`echo $cxx_version | cut -f2 -d.` -cxx_vers_patch=`echo $cxx_version | cut -f3 -d.` - -# Specify the "-features=tmplife" if the compiler can handle this... -if test -n "$cxx_version"; then - if test $cxx_vers_major -ge 5 -a $cxx_vers_minor -ge 3 -o $cxx_vers_major -gt 5; then - CXXFLAGS="-features=tmplife" - fi -fi - -# Try solaris native compiler flags -if test -z "$cxx_flags_set"; then - CXXFLAGS="$CXXFLAGS -instances=global" - CPPFLAGS="-LANG:std" - LIBS="$LIBS -lsocket" - DEBUG_CXXFLAGS=-g - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O -s" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS=-xpg - PROFILE_CPPFLAGS= - cxx_flags_set=yes -fi diff --git a/c++/config/sv1-cray b/c++/config/sv1-cray deleted file mode 100644 index ff225c2..0000000 --- a/c++/config/sv1-cray +++ /dev/null @@ -1,126 +0,0 @@ -# -*- 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. -#---------------------------------------------------------------------------- - - -# Choosing a C++ Compiler -# ----------------------- -# -# The user should be able to specify the compiler by setting the CXX -# environment variable to the name of the compiler and any switches it -# requires for proper operation. If CXX is unset then this script may -# set it. If CXX is unset by time this script completes then configure -# will try `g++' and `CC' in that order (perhaps some others too). -# -# Note: Code later in this file may depend on the value of $CXX_BASENAME -# in order to distinguish between different compilers when -# deciding which compiler command-line switches to use. This -# variable is set based on the incoming value of $CC and is only -# used within this file. - -if test -z "$CXX"; then - CXX="CC" - CXX_BASENAME=CC -fi - - -# C++ Compiler and Preprocessor Flags -# ----------------------------------- -# -# Flags that end with `_CXXFLAGS' are always passed to the compiler. -# Flags that end with `_CPPFLAGS' are passed to the compiler when -# compiling but not when linking. -# -# DEBUG_CXXFLAGS Flags to pass to the compiler to create a -# DEBUG_CPPFLAGS library suitable for use with debugging -# tools. Usually this list will exclude -# optimization switches (like `-O') and include -# switches that turn on symbolic debugging -# support (like `-g'). -# -# PROD_CXXFLAGS Flags to pass to the compiler to create a -# PROD_CPPFLAGS production version of the library. These -# usualy exclude symbolic debugging switches -# (like `-g') and include optimization switches -# (like `-O'). -# -# PROFILE_CXXFLAGS Flags to pass to the compiler to create a -# PROFILE_CPPFLAGS library suitable for performance testing (like -# `-pg'). This may or may not include debugging -# or production flags. -# -# CXXFLAGS Flags can be added to this variable which -# might already be partially initialized. These -# flags will always be passed to the compiler -# and should include switches to turn on full -# warnings. HDF5 attempts to be ANSI and Posix -# compliant and employ good programming -# practices resulting in few if any -# warnings. -# -# Warning flags do not have to be added to CFLAGS -# variable if the compiler is the GNU gcc -# compiler or a descendent of gcc such as EGCS or PGCC. -# -# The CFLAGS should contains *something* or else -# configure will probably add `-g'. For most -# systems this isn't a problem but some systems -# will disable optimizations in favor of the -# `-g'. -# -# -# These flags should be set according to the compiler being used. -# There are two ways to check the compiler. You can try using `-v' or -# `--version' to see if the compiler will print a version string. You -# can use the value of $CXX_BASENAME which is the base name of the -# first word in $CXX (note that the value of CXX may have changed -# above). - -case $CXX_BASENAME in - g++) - CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions - DEBUG_CXXFLAGS="-g -fverbose-asm" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O3 -fomit-frame-pointer" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; - - *) - CXXFLAGS="$CXXFLAGS -h instantiate=used" - DEBUG_CXXFLAGS="-g" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; -esac - - - -# Overriding Configure Tests -# -------------------------- -# -# 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'} diff --git a/c++/config/unicos10.0.X b/c++/config/unicos10.0.X deleted file mode 100644 index ff225c2..0000000 --- a/c++/config/unicos10.0.X +++ /dev/null @@ -1,126 +0,0 @@ -# -*- 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. -#---------------------------------------------------------------------------- - - -# Choosing a C++ Compiler -# ----------------------- -# -# The user should be able to specify the compiler by setting the CXX -# environment variable to the name of the compiler and any switches it -# requires for proper operation. If CXX is unset then this script may -# set it. If CXX is unset by time this script completes then configure -# will try `g++' and `CC' in that order (perhaps some others too). -# -# Note: Code later in this file may depend on the value of $CXX_BASENAME -# in order to distinguish between different compilers when -# deciding which compiler command-line switches to use. This -# variable is set based on the incoming value of $CC and is only -# used within this file. - -if test -z "$CXX"; then - CXX="CC" - CXX_BASENAME=CC -fi - - -# C++ Compiler and Preprocessor Flags -# ----------------------------------- -# -# Flags that end with `_CXXFLAGS' are always passed to the compiler. -# Flags that end with `_CPPFLAGS' are passed to the compiler when -# compiling but not when linking. -# -# DEBUG_CXXFLAGS Flags to pass to the compiler to create a -# DEBUG_CPPFLAGS library suitable for use with debugging -# tools. Usually this list will exclude -# optimization switches (like `-O') and include -# switches that turn on symbolic debugging -# support (like `-g'). -# -# PROD_CXXFLAGS Flags to pass to the compiler to create a -# PROD_CPPFLAGS production version of the library. These -# usualy exclude symbolic debugging switches -# (like `-g') and include optimization switches -# (like `-O'). -# -# PROFILE_CXXFLAGS Flags to pass to the compiler to create a -# PROFILE_CPPFLAGS library suitable for performance testing (like -# `-pg'). This may or may not include debugging -# or production flags. -# -# CXXFLAGS Flags can be added to this variable which -# might already be partially initialized. These -# flags will always be passed to the compiler -# and should include switches to turn on full -# warnings. HDF5 attempts to be ANSI and Posix -# compliant and employ good programming -# practices resulting in few if any -# warnings. -# -# Warning flags do not have to be added to CFLAGS -# variable if the compiler is the GNU gcc -# compiler or a descendent of gcc such as EGCS or PGCC. -# -# The CFLAGS should contains *something* or else -# configure will probably add `-g'. For most -# systems this isn't a problem but some systems -# will disable optimizations in favor of the -# `-g'. -# -# -# These flags should be set according to the compiler being used. -# There are two ways to check the compiler. You can try using `-v' or -# `--version' to see if the compiler will print a version string. You -# can use the value of $CXX_BASENAME which is the base name of the -# first word in $CXX (note that the value of CXX may have changed -# above). - -case $CXX_BASENAME in - g++) - CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions - DEBUG_CXXFLAGS="-g -fverbose-asm" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O3 -fomit-frame-pointer" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; - - *) - CXXFLAGS="$CXXFLAGS -h instantiate=used" - DEBUG_CXXFLAGS="-g" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; -esac - - - -# Overriding Configure Tests -# -------------------------- -# -# 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'} diff --git a/c++/config/unicosmk2.0.6.X b/c++/config/unicosmk2.0.6.X deleted file mode 100644 index ff225c2..0000000 --- a/c++/config/unicosmk2.0.6.X +++ /dev/null @@ -1,126 +0,0 @@ -# -*- 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. -#---------------------------------------------------------------------------- - - -# Choosing a C++ Compiler -# ----------------------- -# -# The user should be able to specify the compiler by setting the CXX -# environment variable to the name of the compiler and any switches it -# requires for proper operation. If CXX is unset then this script may -# set it. If CXX is unset by time this script completes then configure -# will try `g++' and `CC' in that order (perhaps some others too). -# -# Note: Code later in this file may depend on the value of $CXX_BASENAME -# in order to distinguish between different compilers when -# deciding which compiler command-line switches to use. This -# variable is set based on the incoming value of $CC and is only -# used within this file. - -if test -z "$CXX"; then - CXX="CC" - CXX_BASENAME=CC -fi - - -# C++ Compiler and Preprocessor Flags -# ----------------------------------- -# -# Flags that end with `_CXXFLAGS' are always passed to the compiler. -# Flags that end with `_CPPFLAGS' are passed to the compiler when -# compiling but not when linking. -# -# DEBUG_CXXFLAGS Flags to pass to the compiler to create a -# DEBUG_CPPFLAGS library suitable for use with debugging -# tools. Usually this list will exclude -# optimization switches (like `-O') and include -# switches that turn on symbolic debugging -# support (like `-g'). -# -# PROD_CXXFLAGS Flags to pass to the compiler to create a -# PROD_CPPFLAGS production version of the library. These -# usualy exclude symbolic debugging switches -# (like `-g') and include optimization switches -# (like `-O'). -# -# PROFILE_CXXFLAGS Flags to pass to the compiler to create a -# PROFILE_CPPFLAGS library suitable for performance testing (like -# `-pg'). This may or may not include debugging -# or production flags. -# -# CXXFLAGS Flags can be added to this variable which -# might already be partially initialized. These -# flags will always be passed to the compiler -# and should include switches to turn on full -# warnings. HDF5 attempts to be ANSI and Posix -# compliant and employ good programming -# practices resulting in few if any -# warnings. -# -# Warning flags do not have to be added to CFLAGS -# variable if the compiler is the GNU gcc -# compiler or a descendent of gcc such as EGCS or PGCC. -# -# The CFLAGS should contains *something* or else -# configure will probably add `-g'. For most -# systems this isn't a problem but some systems -# will disable optimizations in favor of the -# `-g'. -# -# -# These flags should be set according to the compiler being used. -# There are two ways to check the compiler. You can try using `-v' or -# `--version' to see if the compiler will print a version string. You -# can use the value of $CXX_BASENAME which is the base name of the -# first word in $CXX (note that the value of CXX may have changed -# above). - -case $CXX_BASENAME in - g++) - CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions - DEBUG_CXXFLAGS="-g -fverbose-asm" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O3 -fomit-frame-pointer" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; - - *) - CXXFLAGS="$CXXFLAGS -h instantiate=used" - DEBUG_CXXFLAGS="-g" - DEBUG_CPPFLAGS= - PROD_CXXFLAGS="-O" - PROD_CPPFLAGS= - PROFILE_CXXFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; -esac - - - -# Overriding Configure Tests -# -------------------------- -# -# 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'} |