summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2008-10-21 05:05:50 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2008-10-21 05:05:50 (GMT)
commit7c67ccef7ec41a8372f63b8acde3fee0288fcc95 (patch)
tree46195c70767559ca68ae564162190bc52aa24572 /fortran
parent0ec21efe654956ec6b7c0d4cb3b3b2872a16a804 (diff)
downloadhdf5-7c67ccef7ec41a8372f63b8acde3fee0288fcc95.zip
hdf5-7c67ccef7ec41a8372f63b8acde3fee0288fcc95.tar.gz
hdf5-7c67ccef7ec41a8372f63b8acde3fee0288fcc95.tar.bz2
[svn-r15913] Bug fix: #933
The information of libhdf5_fortran.settings are all included in libhdf5.settings now. Remove it from the source. Tested: kagiso with fortran and C++.
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/Makefile.am10
-rw-r--r--fortran/src/Makefile.in55
-rw-r--r--fortran/src/libhdf5_fortran.settings.in18
3 files changed, 16 insertions, 67 deletions
diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am
index c147bf5..6275545 100644
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -66,9 +66,9 @@ libhdf5_fortran_la_SOURCES= H5f90global.f90 \
H5If.c H5Lf.c H5Of.c H5Pf.c H5Rf.c H5Sf.c H5Tf.c H5Zf.c \
$(PARALLEL_COND_SRC)
-# h5fc and libhdf5_fortran.settings are generated during configure.
-# Remove them only when distclean.
-DISTCLEANFILES=h5fc libhdf5_fortran.settings
+# h5fc is generated during configure.
+# Remove it only when distclean.
+DISTCLEANFILES=h5fc
# H5fortran_types.f90 and H5f90i.h are automatically generaed by
# H5match_types, and must be cleaned explicitly. H5fort_type_defines.h
@@ -104,10 +104,6 @@ uninstall-local:
install-exec-local:
@$(INSTALL) h5fc $(DESTDIR)$(bindir)/$(H5FC_NAME)
-# Install libhdf5_fortran.settings in lib directory
-settingsdir=$(libdir)
-settings_DATA=libhdf5_fortran.settings
-
# Custom rule for installing h5fc, since it will be named h5pfc if hdf5
# is configured for parallel mode
if BUILD_PARALLEL_CONDITIONAL
diff --git a/fortran/src/Makefile.in b/fortran/src/Makefile.in
index df73b98..d5cfe4c 100644
--- a/fortran/src/Makefile.in
+++ b/fortran/src/Makefile.in
@@ -32,7 +32,6 @@
#
-
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -52,8 +51,7 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/h5fc.in $(srcdir)/libhdf5_fortran.settings.in \
- $(top_srcdir)/config/commence.am \
+ $(srcdir)/h5fc.in $(top_srcdir)/config/commence.am \
$(top_srcdir)/config/conclude.am
noinst_PROGRAMS = H5match_types$(EXEEXT) H5fortran_detect$(EXEEXT) \
H5test_kind$(EXEEXT)
@@ -65,14 +63,14 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/H5config.h
-CONFIG_CLEAN_FILES = h5fc libhdf5_fortran.settings
+CONFIG_CLEAN_FILES = h5fc
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(settingsdir)"
+am__installdirs = "$(DESTDIR)$(libdir)"
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
libhdf5_fortran_la_LIBADD =
@@ -132,8 +130,6 @@ SOURCES = $(libhdf5_fortran_la_SOURCES) $(H5fortran_detect_SOURCES) \
DIST_SOURCES = $(am__libhdf5_fortran_la_SOURCES_DIST) \
$(H5fortran_detect_SOURCES) H5match_types.c \
$(am__H5test_kind_SOURCES_DIST)
-settingsDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(settings_DATA)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -422,9 +418,9 @@ libhdf5_fortran_la_SOURCES = H5f90global.f90 \
$(PARALLEL_COND_SRC)
-# h5fc and libhdf5_fortran.settings are generated during configure.
-# Remove them only when distclean.
-DISTCLEANFILES = h5fc libhdf5_fortran.settings
+# h5fc is generated during configure.
+# Remove it only when distclean.
+DISTCLEANFILES = h5fc
# H5fortran_types.f90 and H5f90i.h are automatically generaed by
# H5match_types, and must be cleaned explicitly. H5fort_type_defines.h
@@ -432,10 +428,6 @@ DISTCLEANFILES = h5fc libhdf5_fortran.settings
MOSTLYCLEANFILES = H5fortran_types.f90 H5f90i_gen.h H5fort_type_defines.h \
H5fortran_detect.f90
-
-# Install libhdf5_fortran.settings in lib directory
-settingsdir = $(libdir)
-settings_DATA = libhdf5_fortran.settings
@BUILD_PARALLEL_CONDITIONAL_FALSE@H5FC_NAME = h5fc
# Custom rule for installing h5fc, since it will be named h5pfc if hdf5
@@ -510,8 +502,6 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
h5fc: $(top_builddir)/config.status $(srcdir)/h5fc.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
-libhdf5_fortran.settings: $(top_builddir)/config.status $(srcdir)/libhdf5_fortran.settings.in
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
@@ -629,23 +619,6 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-install-settingsDATA: $(settings_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(settingsdir)" || $(MKDIR_P) "$(DESTDIR)$(settingsdir)"
- @list='$(settings_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(settingsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(settingsdir)/$$f'"; \
- $(settingsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(settingsdir)/$$f"; \
- done
-
-uninstall-settingsDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(settings_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(settingsdir)/$$f'"; \
- rm -f "$(DESTDIR)$(settingsdir)/$$f"; \
- done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -724,9 +697,9 @@ check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) all-local
+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
installdirs:
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(settingsdir)"; do \
+ for dir in "$(DESTDIR)$(libdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
@@ -778,7 +751,7 @@ info: info-am
info-am:
-install-data-am: install-data-local install-settingsDATA
+install-data-am: install-data-local
install-dvi: install-dvi-am
@@ -815,8 +788,7 @@ ps: ps-am
ps-am:
-uninstall-am: uninstall-libLTLIBRARIES uninstall-local \
- uninstall-settingsDATA
+uninstall-am: uninstall-libLTLIBRARIES uninstall-local
.MAKE: install-am install-strip
@@ -830,13 +802,12 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-local \
install-exec-am install-exec-local install-html \
install-html-am install-info install-info-am \
install-libLTLIBRARIES install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-settingsDATA install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
maintainer-clean-generic maintainer-clean-local mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
mostlyclean-local pdf pdf-am ps ps-am tags uninstall \
- uninstall-am uninstall-libLTLIBRARIES uninstall-local \
- uninstall-settingsDATA
+ uninstall-am uninstall-libLTLIBRARIES uninstall-local
# List all build rules defined by HDF5 Makefiles as "PHONY" targets here.
diff --git a/fortran/src/libhdf5_fortran.settings.in b/fortran/src/libhdf5_fortran.settings.in
deleted file mode 100644
index f0b8e8f..0000000
--- a/fortran/src/libhdf5_fortran.settings.in
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY OF THE HDF5 CONFIGURATION
-=================================
-
-HDF5 Version: @H5_VERSION@
-Configured on: @CONFIG_DATE@
-Configured by: @CONFIG_USER@
-Configure mode: @CONFIG_MODE@
-Host system: @host_cpu@-@host_vendor@-@host_os@
-Byte sex: @BYTESEX@
-Parallel support: @PARALLEL@
-Installation point: @prefix@
-C Compiler: @CC_VERSION@
-C Flags: @CFLAGS@ @CPPFLAGS@
-Extra C libraries: @LDFLAGS@ @LIBS@
-Fortran Compiler: @FC_VERSION@
-Fortran Flags: @FFLAGS@
-Archiver: @AR@
-Ranlib: @RANLIB@