From: Stefan Hajnoczi Date: Sun, 23 May 2010 16:30:43 +0000 (+0100) Subject: Always link against libm X-Git-Tag: 0.12.32~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6d3ad1b2722e69f425f4d822f893c599c112cbc2;p=lttv.git Always link against libm This patch makes builds --without-lttv-gui work by linking against libm. Signed-off-by: Stefan Hajnoczi --- 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"