summaryrefslogtreecommitdiffstats
path: root/acsite.m4
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-15 20:38:57 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-15 20:38:57 (GMT)
commit9af344117c2d41886da1f54d3f5cff4091c4a943 (patch)
tree9dcb6bf61c2fbc5634b69f554690bb740b8decbd /acsite.m4
parentb2f94f9faf805035e4d0e9cb76007204c8250e58 (diff)
parent14e3550348d08d932e0f61a4ae6b8a7afe19a484 (diff)
downloadhdf5-9af344117c2d41886da1f54d3f5cff4091c4a943.zip
hdf5-9af344117c2d41886da1f54d3f5cff4091c4a943.tar.gz
hdf5-9af344117c2d41886da1f54d3f5cff4091c4a943.tar.bz2
[svn-r27794] Reintegration merge of features/autotools_rework branch with trunk
NOTES: - Developers will have to run autogen.sh before building with the autotools. - autogen.sh takes the -p option to mimic the old bin/reconfigure behavior. - The generated error, overflow and version headers have been left in place. - The generated H5LT parser code has also been left in place. - There are no changes for CMake users at this time. Tested on: h5committest
Diffstat (limited to 'acsite.m4')
-rw-r--r--acsite.m484
1 files changed, 0 insertions, 84 deletions
diff --git a/acsite.m4 b/acsite.m4
index eaab535..b144962 100644
--- a/acsite.m4
+++ b/acsite.m4
@@ -53,87 +53,3 @@ esac
rm -rf conftest*[]dnl
])# _AC_SYS_LARGEFILE_MACRO_VALUE
-dnl -------------------------------------------------------------------------
-dnl AC_F9X_MODS()
-dnl
-dnl Check how F9X handles modules. This macro also checks which
-dnl command-line option to use to include the module once it's built.
-dnl
-AC_DEFUN(AC_F9X_MODS,
-[AC_MSG_CHECKING(what $FC does with modules)
-AC_LANG_PUSH(Fortran)
-
-test -d conftestdir || mkdir conftestdir
-cd conftestdir
-rm -rf *
-
-cat >conftest.$ac_ext <<EOF
- module module
- integer foo
- end module module
-EOF
-
-eval $ac_compile
-modfiles=""
-F9XMODEXT=""
-
-for f in conftest.o module.mod MODULE.mod module.M MODULE.M; do
- if test -f "$f" ; then
- modfiles="$f"
-
- case "$f" in
- *.o) F9XMODEXT="o" ;;
- *.mod) F9XMODEXT="mod" ;;
- *.M) F9XMODEXT="M" ;;
- esac
- fi
-done
-
-echo $modfiles 6>&1
-if test "$modfiles" = file.o; then
- echo $ac_n "checking whether $FC -em is saner""... $ac_c" 1>&6
- OLD_FCFLAGS=$FCFLAGS
- FCFLAGS="$FCFLAGS -em"
- eval $ac_compile
- modfiles=""
- for f in file.o module.mod MODULE.mod module.M MODULE.M; do
- test -f $f && modfiles="$f"
- done
- if test "$modfiles" = "file.o"; then
- FCFLAGS=$OLD_FCFLAGS
- echo no 6>&1
- else
- echo yes 6>&1
- fi
-fi
-cd ..
-
-AC_MSG_CHECKING(how $FC finds modules)
-
-for flag in "-I" "-M" "-p"; do
- cat >conftest.$ac_ext <<EOF
- program conftest
- use module
- end program conftest
-EOF
-
- ac_compile='${FC-f90} $FCFLAGS ${flag}conftestdir -c conftest.$ac_ext 1>&AS_MESSAGE_LOG_FD'
-
- if AC_TRY_EVAL(ac_compile); then
- F9XMODFLAG=$flag
- break
- fi
-done
-
-if test -n "$F9XMODFLAG"; then
- echo $F9XMODFLAG 1>&6
- FCFLAGS="$F9XMODFLAG. $FCFLAGS"
-else
- echo unknown 1>&6
-fi
-AC_SUBST(F9XMODFLAG)
-AC_SUBST(F9XMODEXT)
-rm -rf conftest*
-AC_LANG_POP(Fortran)
-])
-