52 lines
2.1 KiB
Diff
52 lines
2.1 KiB
Diff
|
Upstream fix to link metacity itself against libm
|
||
|
|
||
|
The upstream fix is modified to also include the changes on the
|
||
|
configure script directly, so that autoreconfiguring is not
|
||
|
needed. Autoreconfiguring cannot be done easily on metacity, due to
|
||
|
missing AM_GCONF_SOURCE_2 and AM_NLS macros.
|
||
|
|
||
|
http://git.gnome.org/browse/metacity/commit/configure.in?id=9cb0b6ff520ea69bdff6c328a21787202aee1bcc
|
||
|
|
||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
|
|
||
|
From 9cb0b6ff520ea69bdff6c328a21787202aee1bcc Mon Sep 17 00:00:00 2001
|
||
|
From: Götz Waschk <waschk@mandriva.org>
|
||
|
Date: Wed, 22 Oct 2008 12:08:48 +0000
|
||
|
Subject: add libm reference. Closes #557357.
|
||
|
|
||
|
2008-10-22 Götz Waschk <waschk@mandriva.org>
|
||
|
|
||
|
* configure.in: add libm reference. Closes #557357.
|
||
|
|
||
|
|
||
|
svn path=/trunk/; revision=3984
|
||
|
---
|
||
|
(limited to 'configure.in')
|
||
|
|
||
|
Index: b/configure.in
|
||
|
===================================================================
|
||
|
--- a/configure.in
|
||
|
+++ b/configure.in
|
||
|
@@ -413,7 +413,7 @@
|
||
|
AC_DEFINE(HAVE_XSYNC, , [Have the Xsync extension library])
|
||
|
fi
|
||
|
|
||
|
-METACITY_LIBS="$METACITY_LIBS $XSYNC_LIBS $RANDR_LIBS $SHAPE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
+METACITY_LIBS="$METACITY_LIBS $XSYNC_LIBS $RANDR_LIBS $SHAPE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lm"
|
||
|
METACITY_MESSAGE_LIBS="$METACITY_MESSAGE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
METACITY_WINDOW_DEMO_LIBS="$METACITY_WINDOW_DEMO_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
METACITY_PROPS_LIBS="$METACITY_PROPS_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
Index: b/configure
|
||
|
===================================================================
|
||
|
--- a/configure
|
||
|
+++ b/configure
|
||
|
@@ -29509,7 +29509,7 @@
|
||
|
|
||
|
fi
|
||
|
|
||
|
-METACITY_LIBS="$METACITY_LIBS $XSYNC_LIBS $RANDR_LIBS $SHAPE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
+METACITY_LIBS="$METACITY_LIBS $XSYNC_LIBS $RANDR_LIBS $SHAPE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lm"
|
||
|
METACITY_MESSAGE_LIBS="$METACITY_MESSAGE_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
METACITY_WINDOW_DEMO_LIBS="$METACITY_WINDOW_DEMO_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||
|
METACITY_PROPS_LIBS="$METACITY_PROPS_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|