This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Top-level configury

Top-level configure has two quadmath-related options: --disable-libquadmath and --disable-libquadmath-support . The first disables the building of libquadmath itself, the second disables quadmath support in the Fortran front-end. They are currently independent, but it would make a lot of sense for --disable-libquadmath to imply --disable-libquadmath-support, unless —enable-libquadmath-support is explicitly stated: Fortran front-end support without libquadmath will be truly useless, and the current situation is confusing to users (

However, my build/configure-foo is lacking, so I don’t know to achieve this. I’ve tried the code below… is it how this is supposed to work?
Thanks in advance to any build/configure maintainer who can give me a hand with this!

---	(revision 211315)
+++	(working copy)
@@ -411,7 +411,9 @@ AS_HELP_STRING([--disable-libquadmath-su
-if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
+if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" || 
+   ( test "${ENABLE_LIBQUADMATH_SUPPORT}" = "" &&
+     test "${ENABLE_LIBQUADMATH}" = "no" ) ; then

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]