m4-patches
[Top][All Lists]
Advanced

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

04-fyi-gmp-2.patch


From: Akim Demaille
Subject: 04-fyi-gmp-2.patch
Date: Mon, 01 Oct 2001 09:38:55 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * config/gmp.m4: s/GMP_LIB/LIBADD_GMP/.

Index: config/gmp.m4
--- config/gmp.m4 Sat, 29 Sep 2001 19:03:36 +0200 akim
+++ config/gmp.m4 Sun, 30 Sep 2001 11:54:19 +0200 akim
@@ -23,7 +23,7 @@ m4_define([_AC_LIB_GMP],
 [  --without-gmp           don't use GNU multiple precision arithmetic 
library],
 [use_gmp=$withval], [use_gmp=yes])

-case $use_gmp:$GMP_LIB:$ac_cv_header_gmp_h in
+case $use_gmp:LIBADD_GMP:$ac_cv_header_gmp_h in
   *::yes)
     AC_MSG_WARN([gmp library not found or does not appear to work
                  but `gmp.h' is present])
@@ -55,6 +55,7 @@ AC_DEFUN([AC_LIB_GMP],
   [mpq_t n; mpq_init (n);],
   [LIBADD_GMP=-lgmp])
 LIBS=$ac_gmp_save_LIBS
+AC_SUBST([LIBADD_GMP])

 AC_CACHE_CHECK([if using GNU multiple precision arithmetic library],
                [ac_cv_using_lib_gmp],
@@ -67,5 +68,4 @@ AC_DEFUN([AC_LIB_GMP],
 fi

 AC_SUBST([USE_GMP], [$ac_cv_using_lib_gmp])
-AC_SUBST([LIBADD_GMP])
 ])# AC_LIB_GMP



reply via email to

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