summaryrefslogtreecommitdiff
path: root/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-underlinking.patch
blob: d2ac9a1051cab828561bb16a5429212dc7ed0c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,11 @@
 # Checks for libraries.
 #
 
+dnl Check for libm for ceil()
+AC_SEARCH_LIBS([ceil], [m], [], [
+	AC_MSG_ERROR([unable to find the ceil() function])
+])
+
 # check for libcurl.
 AC_ARG_WITH([curl-config],
  AC_HELP_STRING([--with-curl-config=PATH], [path to curl-config (e.g. /opt/bin)]),