summaryrefslogtreecommitdiffstats
path: root/fortran/test
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/test')
-rw-r--r--fortran/test/Makefile.in1
-rw-r--r--fortran/test/t.h12
2 files changed, 4 insertions, 9 deletions
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in
index 980cfc4..04f1c2b 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -196,6 +196,7 @@ F9XMODFLAG = @F9XMODFLAG@
F9XSUFFIXFLAG = @F9XSUFFIXFLAG@
FC = @FC@
FCFLAGS = @FCFLAGS@
+FCLIBS = @FCLIBS@
FFLAGS = @FFLAGS@
FILTERS = @FILTERS@
FSEARCH_DIRS = @FSEARCH_DIRS@
diff --git a/fortran/test/t.h b/fortran/test/t.h
index 0286028..3e4fd4d 100644
--- a/fortran/test/t.h
+++ b/fortran/test/t.h
@@ -21,15 +21,9 @@ char *h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size)
/*
* Functions from t.c
*/
-#ifdef DF_CAPFNAMES
-# define nh5_fixname_c FNAME(H5_FIXNAME_C)
-# define nh5_cleanup_c FNAME(H5_CLEANUP_C)
-# define nh5_exit_c FNAME(H5_EXIT_C)
-#else /* !DF_CAPFNAMES */
-# define nh5_fixname_c FNAME(h5_fixname_c)
-# define nh5_cleanup_c FNAME(h5_cleanup_c)
-# define nh5_exit_c FNAME(h5_exit_c)
-#endif /* DF_CAPFNAMES */
+# define nh5_fixname_c FC_FUNC_(h5_fixname_c, H5_FIXNAME_C)
+# define nh5_cleanup_c FC_FUNC_(h5_cleanup_c, H5_CLEANUP_C)
+# define nh5_exit_c FC_FUNC_(h5_exit_c, H5_EXIT_C)
H5_FCTESTDLL int_f nh5_fixname_c
(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl, _fcd full_name, size_t_f *full_namelen);