summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSteev Klimaszewski <[email protected]>2012-08-19 03:58:15 -0500
committerSteev Klimaszewski <[email protected]>2012-08-19 03:58:15 -0500
commitefc5777e49c0c80c744c48b1334c9c16f9f264a6 (patch)
tree8a8ef2fa0c2a67ef445e3c91a1fc1bb141fa1c30 /configure.ac
parente4216b1ba5815112de48eb6f9a4bcdafd76d30aa (diff)
downloadatril-efc5777e49c0c80c744c48b1334c9c16f9f264a6.tar.bz2
atril-efc5777e49c0c80c744c48b1334c9c16f9f264a6.tar.xz
Add search for hypot
When linking with gold, link fails because hypot isn't found. Signed-off-by: Steev Klimaszewski <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 64dd3ad8..621e2959 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,7 @@ dnl Check dependencies
# SHELL_CFLAGS for shell implementation.
# SHELL_LIBS
+AC_SEARCH_LIBS([hypot],[m])
PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES(LIBVIEW, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)