- Speedup for macro that checks if doublefactorial is present in -lcln.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 24 Feb 2000 15:05:53 +0000 (15:05 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 24 Feb 2000 15:05:53 +0000 (15:05 +0000)
acinclude.m4
aclocal.m4
configure

index a343fd97763ab5376f2fd0e2c55de08abdfb2756..962a8c0115d1bde226163effb4f9cfd8d67afcb5 100644 (file)
@@ -31,13 +31,13 @@ AC_DEFUN(GINAC_CHECK_LIBCLN,
         [LIBS="-lcln"
         case "${ac_cv_header_cln_cln_h}" in
         "yes")
-            AC_TRY_LINK([#include <cln/cln.h>],
+            AC_TRY_LINK([#include <cln/cl_integer.h>],
                 [doublefactorial(2);],
                 ginac_cv_lib_cln_link="-lcln",
                 ginac_cv_lib_cln_link="fail")
             ;;
         *)
-            AC_TRY_LINK([#include <cln.h>],
+            AC_TRY_LINK([#include <cl_integer.h>],
                 [doublefactorial(2);],
                 ginac_cv_lib_cln_link="-lcln",
                 ginac_cv_lib_cln_link="fail")
index d4cb399bc994e67795632a123d95c1655fd985e4..e3a718825d71219a4255fe51ee63de763854f931 100644 (file)
@@ -43,13 +43,13 @@ AC_DEFUN(GINAC_CHECK_LIBCLN,
         [LIBS="-lcln"
         case "${ac_cv_header_cln_cln_h}" in
         "yes")
-            AC_TRY_LINK([#include <cln/cln.h>],
+            AC_TRY_LINK([#include <cln/cl_integer.h>],
                 [doublefactorial(2);],
                 ginac_cv_lib_cln_link="-lcln",
                 ginac_cv_lib_cln_link="fail")
             ;;
         *)
-            AC_TRY_LINK([#include <cln.h>],
+            AC_TRY_LINK([#include <cl_integer.h>],
                 [doublefactorial(2);],
                 ginac_cv_lib_cln_link="-lcln",
                 ginac_cv_lib_cln_link="fail")
index 6f60a7accfe12ba1d60fae602f54052eb5b38f90..cf0168c89629aed120ecc9e8a21a9f5c961d9942 100755 (executable)
--- a/configure
+++ b/configure
@@ -2610,7 +2610,7 @@ else
             cat > conftest.$ac_ext <<EOF
 #line 2612 "configure"
 #include "confdefs.h"
-#include <cln/cln.h>
+#include <cln/cl_integer.h>
 int main() {
 doublefactorial(2);
 ; return 0; }
@@ -2630,7 +2630,7 @@ rm -f conftest*
             cat > conftest.$ac_ext <<EOF
 #line 2632 "configure"
 #include "confdefs.h"
-#include <cln.h>
+#include <cl_integer.h>
 int main() {
 doublefactorial(2);
 ; return 0; }