if we have libSM and its headers, that means we did find it, not that we

2008-02-18  Thomas Thurman  <tthurman@gnome.org>

        * configure.in: if we have libSM and its headers,
	that means we did find it, not that we didn't.
	Closes #328210.


svn path=/trunk/; revision=3579
This commit is contained in:
Thomas Thurman 2008-02-18 01:29:27 +00:00 committed by Thomas James Alexander Thurman
parent 07939f235f
commit 8c487ddbb2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-02-18 Thomas Thurman <tthurman@gnome.org>
* configure.in: if we have libSM and its headers,
that means we did find it, not that we didn't.
Closes #328210.
2008-02-18 Thomas Thurman <tthurman@gnome.org>
* src/core/window.c (warp_grab_pointer): When

View File

@ -426,7 +426,7 @@ case "$METACITY_LIBS" in
*)
AC_CHECK_LIB(SM, SmcSaveYourselfDone,
[AC_CHECK_HEADERS(X11/SM/SMlib.h,
METACITY_LIBS="-lSM -lICE $METACITY_LIBS" found_sm=no)],
METACITY_LIBS="-lSM -lICE $METACITY_LIBS" found_sm=yes)],
, $METACITY_LIBS)
;;
esac