Skip to content

Commit

Permalink
make sure we have -lm (fix #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Oct 1, 2015
1 parent a4850c3 commit 73a4ec4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Expand Up @@ -60,9 +60,11 @@ if test x"$guile_ok" = xunknown; then
fi
AC_SUBST(GUILE)

# seems to be needed on ubuntu (issue #1):
AC_CHECK_LIB(m, sqrt)

AC_CHECK_PROG(GUILE_CONFIG, guile-config, guile-config, unknown)
if test "x$GUILE_CONFIG" = "xunknown"; then
AC_CHECK_LIB(m, sqrt)
AC_CHECK_LIB(readline, readline)
AC_CHECK_LIB(dl, dlopen)
ok=no
Expand Down

0 comments on commit 73a4ec4

Please sign in to comment.