This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Re: [semi-related patch] Re: issues with configuring the trunk to build Fortran


On Wed, Aug 25, 2004 at 08:13:41PM -0400, Phil Edwards wrote:
> It's like going to fix a hole in the floor and finding a hole in the wall.
> Wall's okay now, floor's next.  :-)

Like so.  Removing GMP and asking for F95 to be built gives the following:

    checking for correct version of gmp.h... no
    configure: error: The GMP library is required for f95 but was not found.

Comments?  All okay (with changelog, of course)?


Index: configure.in
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/configure.in,v
retrieving revision 1.310
diff -u -r1.310 configure.in
--- configure.in	17 Aug 2004 22:06:44 -0000	1.310
+++ configure.in	26 Aug 2004 17:01:59 -0000
@@ -1208,7 +1210,7 @@
 
 	# Disable language that need GMP if it isn't available.
 	if test  x"$need_gmp" = xyes && test x"$have_gmp" = xno; then
-	  add_this_lang=no
+	  AC_MSG_ERROR([The GMP library is required for $language but was not found.])
 	fi
         
 	case $add_this_lang in


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