File ht-enable-math.diff of Package ht

From: Jan Engelhardt <jengelh@medozas.de>
Date: 2011-03-29 00:54 UTC+0200

The check for asinh/acosh/atanh is only successful when including
libm in the link. That, or use AC_SEARCH_FUNCS([asinh acosh atanh],
[m]) -- result will be put in LIBS (not directly HT_LIBS).

---
 configure.in |    1 +
 1 file changed, 1 insertion(+)

Index: ht-2.0.18/configure.in
===================================================================
--- ht-2.0.18.orig/configure.in
+++ ht-2.0.18/configure.in
@@ -199,6 +199,7 @@ AC_CHECK_SIZEOF(int, 4)
 AC_CHECK_SIZEOF(long int, 4)
 
 dnl Checks for library functions.
+HT_LIBS="$HT_LIBS -lm"
 AC_CHECK_FUNCS(asinh acosh atanh)
 
 AC_OUTPUT([
openSUSE Build Service is sponsored by