ospace_frag'
ac_user_opts='
enable_option_checking
+enable_libgfortran
with_build_libsubdir
with_system_zlib
enable_as_accelerator_for
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-libgfortran[=ARG]
+ build target libgfortran [ARG={default,yes,no}]
--enable-as-accelerator-for=ARG
build as offload target compiler. Specify offload
host triple by ARG
target-zlib \
target-libjava"
+# libgfortran represents the runtime libraries only used by fortran.
+# Check whether --enable-libgfortran was given.
+if test "${enable_libgfortran+set}" = set; then :
+ enableval=$enable_libgfortran; libgfortran="target-libgfortran"
+else
+ libgfortran=""
+fi
+
+
# these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler)
# Note that libiberty is not a target library.
target-libmpx \
target-libssp \
target-libquadmath \
- target-libgfortran \
+ ${libgfortran} \
target-boehm-gc \
${libgcj} \
target-libobjc \
target-zlib \
target-libjava"
+# libgfortran represents the runtime libraries only used by fortran.
+AC_ARG_ENABLE(libgfortran,
+[AS_HELP_STRING([[--enable-libgfortran[=ARG]]],
+ [build target libgfortran @<:@ARG={default,yes,no}@:>@])],
+libgfortran="target-libgfortran",
+libgfortran="")
+
# these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler)
# Note that libiberty is not a target library.
target-libmpx \
target-libssp \
target-libquadmath \
- target-libgfortran \
+ ${libgfortran} \
target-boehm-gc \
${libgcj} \
target-libobjc \