help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] AX_PATH_GSL


From: Jochen Küpper
Subject: Re: [Help-gsl] AX_PATH_GSL
Date: Sun, 6 Jan 2008 23:58:06 +0100

Hi Brian,

On 06.01.2008, at 22:40, Brian Gough wrote:

At Fri, 4 Jan 2008 15:43:32 +0100, Jochen Küpper wrote:

checking for GSL - version >= 1.10.1...
*** 'gsl-config --version' returned 1.10.0, but the minimum version
*** of GSL required is 1.10.1. If gsl-config is correct, then it is
*** best to upgrade to the required version.
*** If gsl-config was wrong, set the environment variable GSL_CONFIG
*** to point to the correct copy of gsl-config, and remove the file
*** config.cache before re-running configure
no
configure: WARNING: Your GSL does not include the latest ODE fixes.


I think it was hard coded but I'm happy to make any changes to gsl.m4 if you want to send a patch.

Here's a patch. It simply removes the hardcoded error message. This reporting should be done in the [action-if-not-found] branch of the AX_PATH_GSL macro if desired.


--- /Users/jochen/gsl.m4-orig   2008-01-06 23:49:47.000000000 +0100
+++ /opt/local/share/aclocal/gsl.m4     2008-01-06 23:50:58.000000000 +0100
@@ -102,16 +102,6 @@
     {
       exit(0);
     }
-  else
-    {
- printf("\n*** 'gsl-config --version' returned %d.%d.%d, but the minimum version\n", $gsl_major_version, $gsl_minor_version, $gsl_micro_version); - printf("*** of GSL required is %d.%d.%d. If gsl-config is correct, then it is\n", major, minor, micro);
-      printf("*** best to upgrade to the required version.\n");
- printf("*** If gsl-config was wrong, set the environment variable GSL_CONFIG\n"); - printf("*** to point to the correct copy of gsl-config, and remove the file\n");
-      printf("*** config.cache before re-running configure\n");
-      exit(1);
-    }
 }

 ],, no_gsl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
@@ -165,4 +155,4 @@
   rm -f conf.gsltest
 ])

-AU_ALIAS([AM_PATH_GSL], [AX_PATH_GSL])
\ No newline at end of file
+AU_ALIAS([AM_PATH_GSL], [AX_PATH_GSL])

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]