[freefem++/f14/master: 17/17] Check for a function that's actually used.

Dominik Mierzejewski rathann at fedoraproject.org
Sun Nov 21 17:35:45 UTC 2010


commit 8c9dee15df54bf3cc6850cbb47346f9b2a936e68
Author: Dominik Mierzejewski <dominik at greysector.net>
Date:   Mon Nov 15 20:34:36 2010 +0100

    Check for a function that's actually used.

 freefem++-ld.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/freefem++-ld.patch b/freefem++-ld.patch
index 4df5f6c..f6d58db 100644
--- a/freefem++-ld.patch
+++ b/freefem++-ld.patch
@@ -5,7 +5,7 @@ diff -up freefem++-3.8/configure.ac.ld freefem++-3.8/configure.ac
  # Some useful libraries
  
  AC_CHECK_LIB(pthread,pthread_create,ff_pthread="-lpthread",ff_pthread="")
-+AC_CHECK_LIB(m,tan,ff_math="-lm",ff_math="")
++AC_CHECK_LIB(m,sqrt,ff_math="-lm",ff_math="")
 +AC_SUBST(LIBSMATH,$ff_math)
  
  # Necessary absolute pathname for local directory when some libraries


More information about the scm-commits mailing list