From 6d3ad1b2722e69f425f4d822f893c599c112cbc2 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Sun, 23 May 2010 17:30:43 +0100 Subject: [PATCH] Always link against libm This patch makes builds --without-lttv-gui work by linking against libm. Signed-off-by: Stefan Hajnoczi --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 69d3809a..b3b86fb4 100644 --- a/configure.ac +++ b/configure.ac @@ -156,7 +156,7 @@ fi pkg_modules="gobject-2.0 >= 2.0.0" PKG_CHECK_MODULES(GOBJECT, [$pkg_modules]) -LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS" +LIBS="$LIBS $M_LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS" PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat" MODULE_CFLAGS="$PACKAGE_CFLAGS -fvisibility=hidden" MODULE_LDFLAGS="-module -avoid-version" -- 2.34.1