Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e
Modified Files:
configure.in
Log Message:
Enable building without session management support.
===================================================================
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -3 -r1.215 -r1.216
--- configure.in 18 Jul 2007 11:16:34 -0000 1.215
+++ configure.in 18 Jul 2007 11:18:50 -0000 1.216
@@ -126,7 +126,17 @@
[Imlib2 has imlib_context_set_mask_alpha_threshold]),,
$IMLIB2_LIBS)
-AC_CHECK_HEADERS(X11/SM/SMlib.h, enable_sm=yes, enable_sm=no)
+AC_ARG_ENABLE(sm,
+ [ --enable-sm compile with session management support
@<:@default=yes@:>@],,
+ enable_sm=yes)
+if test "x$enable_sm" = "xyes"; then
+ AC_CHECK_HEADERS(X11/SM/SMlib.h,, enable_sm=no)
+ AC_CHECK_LIB(SM, SmcOpenConnection, SM_LIBS="-lSM -lICE", enable_sm=no)
+ AC_SUBST(SM_LIBS)
+fi
+if test "x$enable_sm" = "xyes"; then
+ AC_DEFINE(HAVE_SM, 1, [Session management support])
+fi
AC_ARG_ENABLE(xft,
[ --enable-xft compile with Xft support @<:@default=yes@:>@],,
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs