[gnome-screensaver] Add explicit requirements for libX11 and libm
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-screensaver] Add explicit requirements for libX11 and libm
- Date: Tue, 9 Feb 2010 17:28:53 +0000 (UTC)
commit 3d185db0948930bf1099f1e1ee46c27f80c49eb5
Author: Ray Strode <rstrode redhat com>
Date: Tue Feb 9 12:25:53 2010 -0500
Add explicit requirements for libX11 and libm
They are pulled in implicitly, but some linkers
require them to be explicitly given.
configure.ac | 2 ++
savers/Makefile.am | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index af8906d..0d1aa07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,7 @@ GLIB_REQUIRED_VERSION=2.15.0
GCONF_REQUIRED_VERSION=2.6.1
GDK_REQUIRED_VERSION=2.14.0
GTK_REQUIRED_VERSION=2.11.5
+X11_REQUIRED_VERSION=1.3
LIBGNOME_MENU_REQUIRED_VERSION=2.11.1
GNOME_DESKTOP_REQUIRED_VERSION=2.29.0
@@ -56,6 +57,7 @@ AC_TYPE_UID_T
AC_CHECK_FUNCS([setresuid setenv unsetenv clearenv])
PKG_CHECK_MODULES(GNOME_SCREENSAVER,
+ x11 >= $X11_REQUIRED_VERSION
gtk+-2.0 >= $GTK_REQUIRED_VERSION
dbus-glib-1 >= $DBUS_REQUIRED_VERSION
gconf-2.0 >= $GCONF_REQUIRED_VERSION
diff --git a/savers/Makefile.am b/savers/Makefile.am
index dccdfeb..ce8035f 100644
--- a/savers/Makefile.am
+++ b/savers/Makefile.am
@@ -87,6 +87,7 @@ floaters_SOURCES = \
floaters_LDADD = \
libgs-theme-engine.a \
$(GNOME_SCREENSAVER_SAVER_LIBS) \
+ -lm \
$(NULL)
popsquares_SOURCES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]